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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin604
RA = 144.475, Dec = -14.5706
tmin = 395884801, tmax = 396144001
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='373863', job_status='RUN', time_executed='2021-08-31 19:28:50.721207', time_epoch_executed='1630463330.72' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='604'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/373863

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/373863/ft1_4FGL_J0937.9-1434_daily_bin604.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/373863/ft2_4FGL_J0937.9-1434_daily_bin604.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/373863/ft1_4FGL_J0937.9-1434_daily_bin604.fits outfile=/scratch/kocevski/373863/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin604.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=395884801.0 tmax=396144001.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.33
user 3.10
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/373863/ft2_4FGL_J0937.9-1434_daily_bin604.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/373863/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin604.fits evtable="EVENTS" outfile="/scratch/kocevski/373863/ft1_filtered_4FGL_J0937.9-1434_daily_bin604.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.48
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/373863/ft1_filtered_4FGL_J0937.9-1434_daily_bin604.fits" evtable="EVENTS" scfile=/scratch/kocevski/373863/ft2_4FGL_J0937.9-1434_daily_bin604.fits sctable="SC_DATA" outfile=/scratch/kocevski/373863/ltcube_395884801_396144001_4FGL_J0937.9-1434_daily_bin604.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/373863/ft2_4FGL_J0937.9-1434_daily_bin604.fits
.....................!
real 11.63
user 11.32
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/373863/ft1_filtered_4FGL_J0937.9-1434_daily_bin604.fits evtable="EVENTS" scfile=/scratch/kocevski/373863/ft2_4FGL_J0937.9-1434_daily_bin604.fits sctable="SC_DATA" expcube=/scratch/kocevski/373863/ltcube_395884801_396144001_4FGL_J0937.9-1434_daily_bin604.fits outfile=/scratch/kocevski/373863/expmap_395884801_396144001_4FGL_J0937.9-1434_daily_bin604.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/373863/ltcube_395884801_396144001_4FGL_J0937.9-1434_daily_bin604.fits
.....................!
real 189.78
user 185.47
sys 3.97

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/373863/ft1_filtered_4FGL_J0937.9-1434_daily_bin604.fits scfile=/scratch/kocevski/373863/ft2_4FGL_J0937.9-1434_daily_bin604.fits outfile=/scratch/kocevski/373863/cmap_395884801_396144001_4FGL_J0937.9-1434_daily_bin604.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.51
user 0.36
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .80692       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.5600       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.1891       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    11.165       1.0000         .10000E-03   10000.    
    13 'norm      '    1.2163       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1358       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94309       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=   6611.712     FROM MIGRAD    STATUS=CONVERGED    388 CALLS     1598 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.7209       -.11067E-05** at limit **
   2  norm          .80686        2.5106        .35022E-07   -.11163E-03
   3  Prefactor     5.5597        2.7997        .77530E-07   -.74385E-03
   4  Prefactor     .10000E-03    3.7355        .68739E-08** at limit **
   5  Prefactor     4.1892        8.5394       -.79255E-08   -.20623E-04
   6  Prefactor     .10000E-03    5.3638        .13365E-05** at limit **
   7  Prefactor     .10000E-03    28.007       -.16672E-05** at limit **
   8  Prefactor     .10000E-03    11.504        .16165E-06** at limit **
   9  Prefactor     .10000E-03    7.1674        .22809E-06** at limit **
  10  Prefactor     .10000E-03    21.036        .43974E-05** at limit **
  11  Prefactor     .10000E-03    18.143       -.30326E-05** at limit **
  12  norm          11.165        7.4239        .18623E-07   -.15226E-03
  13  norm          1.2161        2.7461        .92521E-08   -.79307E-04
  14  norm          .10000E-03    2.1884        .13112E-07** at limit **
  15  norm          .10000E-03    .66089       -.15293E-08** at limit **
  16  norm          .10000E-03    4.9599       -.40837E-06** at limit **
  17  norm          .10000E-03    .67689        .47349E-08** at limit **
  18  Normalizat    1.1358        .18724       -.57278E-07    .30389E-04
  19  Prefactor     .94308        .11211        .22599E-07    .33034E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.806858
  Prefactor  = 5.55966
  Prefactor  = 0.0001
  Prefactor  = 4.18924
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.1653
  norm       = 1.21613
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.13583
  Prefactor  = 0.943082
 **********
 **   18 **HESSE 
 **********

 FCN=   6611.712     FROM HESSE     STATUS=OK           262 CALLS     1860 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.7464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .80686        2.5178        .22171E-03   -1.5528    
   3  Prefactor     5.5597        7.1153        .85191E-03   -1.5236    
   4  Prefactor     .10000E-03    3.7402        .15346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.1892        8.5244        .19690E-03   -1.5299    
   6  Prefactor     .10000E-03    5.3715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    28.080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.1693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    21.093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    18.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          11.165        7.5374        .59949E-03   -1.5040    
  13  norm          1.2161        2.7036        .19740E-03   -1.5487    
  14  norm          .10000E-03    2.1886        .11748E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .66582        .64533E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    4.9780        .17684E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .70297        .13049E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1358        .21895        .28281E-03   -.88610    
  19  Prefactor     .94308        .13325        .18575E-03   -.94652    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.4131e-10
Minuit parameter uncertainties:
  1  1.99494e-06
  2  2.51817
  3  7.11638
  4  1.93016e-07
  5  8.5269
  6  3.51449e-06
  7  6.23527e-06
  8  4.40885e-07
  9  7.22998e-07
  10  2.33243e-05
  11  1.11514e-06
  12  7.53802
  13  2.70385
  14  2.79279e-08
  15  5.04333e-09
  16  7.32948e-07
  17  2.86254e-08
  18  0.219126
  19  0.133295
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  2.332e-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.431e-01  1.333e-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.136e+00  2.191e-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.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/373863/likelihoodResults_395884801_396144001_4FGL_J0937.9-1434_daily_bin604.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) = 6611.71262101
delta logL = -0.000225912733185

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6610.49537338
delta logL = 1.21702171432

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44233E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    4.6959       1.0000          .0000       10.000    
     3 'Normalizat'    1.0064       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98741       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.

 FCN=   6610.495     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      325 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .43857E-01    .37859        .24939E-02    .64689E-02
   2  Index         4.6985        1.4663        .74027E-01    .31654E-03
   3  Normalizat    1.0064        .48406E-01    .67297E-01    .30048E-03
   4  Prefactor     .98739        .29316E-01    .46110E-01    .50217E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0438573
  Index      = 4.69853
  Normalizat = 1.00645
  Prefactor  = 0.987388
 **********
 **   18 **HESSE 
 **********

 FCN=   6610.495     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      356 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .43857E-01    .96269        .11235E-04   -1.5666    
   2  Index         4.6985        2.7970        .27216E-02   -.60330E-01
   3  Normalizat    1.0064        .19733        .29767E-03   -.92815    
   4  Prefactor     .98739        .11616        .18182E-03   -.93151    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.03447e-10
Minuit parameter uncertainties:
  1  0.410494
  2  2.96904
  3  0.197477
  4  0.116191
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/373863': 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) = 6610.49537182
delta logL = 1.21702327304

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.874e-01  1.162e-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.006e+00  1.975e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.70
Ra Dec: 144.475 -14.571
Photon Index (Free Index): 4.70 +/- 2.97
Photon Flux (Free Index): 1.15e-07 +/- 7.81e-08
Energy Flux (Free Index): 1.57e-05 +/- 1.15e-05

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/373863/cmap_HighResolution_395884801_396144001_4FGL_J0937.9-1434_daily_bin604.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.90e-03', comment='SUCCESS', energy_flux2='1.57e-05', dlogl='1.22e+00', photon_flux2='1.15e-07', job_status='DONE', time_completed='2021-08-31 19:38:11.792479', photon_index_error2='2.97', photon_index2='4.70', ts='-0.00', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='6.55e-08', energy_flux_error2='1.15e-05', EG='1.14', time_epoch_completed='1630463891.79', return_code='0', job_id='373863', GAL2='0.99', EG2='1.01', return_code2='102', photon_flux_error2='7.81e-08', ts2='2.70', photon_index='1.98' WHERE bin_id='604' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:38:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0293>
Subject: Job 373863: <4FGL_J0937.9-1434_daily_bin604> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin604> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 31 19:25:34 2021
Job was executed on host(s) <bullet0293>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 19:25:36 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:25:36 2021
Terminated at Tue Aug 31 19:38:12 2021
Results reported at Tue Aug 31 19:38:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin604 144.475 -14.5706 395884801 396144001 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 :                                   556.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   756 sec.
    Turnaround time :                            758 sec.

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

