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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1018
RA = 144.475, Dec = -14.5706
tmin = 503193601, tmax = 503452801
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='375362', job_status='RUN', time_executed='2021-08-31 19:33:00.101990', time_epoch_executed='1630463580.1' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1018'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/375362

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/375362/ft1_4FGL_J0937.9-1434_daily_bin1018.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/375362/ft2_4FGL_J0937.9-1434_daily_bin1018.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/375362/ft1_4FGL_J0937.9-1434_daily_bin1018.fits outfile=/scratch/kocevski/375362/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1018.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=503193601.0 tmax=503452801.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 5.33
user 4.86
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/375362/ft1_filtered_4FGL_J0937.9-1434_daily_bin1018.fits" evtable="EVENTS" scfile=/scratch/kocevski/375362/ft2_4FGL_J0937.9-1434_daily_bin1018.fits sctable="SC_DATA" outfile=/scratch/kocevski/375362/ltcube_503193601_503452801_4FGL_J0937.9-1434_daily_bin1018.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/375362/ft2_4FGL_J0937.9-1434_daily_bin1018.fits
.....................!
real 13.30
user 11.18
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/375362/ft1_filtered_4FGL_J0937.9-1434_daily_bin1018.fits evtable="EVENTS" scfile=/scratch/kocevski/375362/ft2_4FGL_J0937.9-1434_daily_bin1018.fits sctable="SC_DATA" expcube=/scratch/kocevski/375362/ltcube_503193601_503452801_4FGL_J0937.9-1434_daily_bin1018.fits outfile=/scratch/kocevski/375362/expmap_503193601_503452801_4FGL_J0937.9-1434_daily_bin1018.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/375362/ltcube_503193601_503452801_4FGL_J0937.9-1434_daily_bin1018.fits
.....................!
real 193.17
user 184.74
sys 4.29

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/375362/ft1_filtered_4FGL_J0937.9-1434_daily_bin1018.fits scfile=/scratch/kocevski/375362/ft2_4FGL_J0937.9-1434_daily_bin1018.fits outfile=/scratch/kocevski/375362/cmap_503193601_503452801_4FGL_J0937.9-1434_daily_bin1018.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.64
user 0.38
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/375362/ft1_filtered_4FGL_J0937.9-1434_daily_bin1018.fits evtable="EVENTS" scfile=/scratch/kocevski/375362/ft2_4FGL_J0937.9-1434_daily_bin1018.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/375362/Model_4FGL_J0937.9-1434_daily_bin1018.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/375362/ft1_filtered_4FGL_J0937.9-1434_daily_bin1018.fits.....................!
real 59.79
user 58.30
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.9900       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.1746       1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.214       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    47.843       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.5451       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10177E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.5601       1.0000         .10000E-03   10000.    
    13 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10071E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.2855       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.3156       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .73381       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=   5206.421     FROM MIGRAD    STATUS=CONVERGED    385 CALLS     1880 TOTAL
                     EDM=   .70E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.8524        .21653E-07** at limit **
   2  norm          3.9898        3.0305       -.66140E-08    .62324E-05
   3  Prefactor     4.1749        7.8773        .43084E-06   -.21277E-04
   4  Prefactor     20.214        15.074        .65229E-08    .25341E-05
   5  Prefactor     .10000E-03    2.2377        .15625E-07** at limit **
   6  Prefactor     .10000E-03    29.089        .29469E-06** at limit **
   7  Prefactor     47.822        42.860       -.18941E-05   -.13625E-03
   8  Prefactor     .10000E-03    10.516        .23199E-07** at limit **
   9  Prefactor     3.5339        91.992       -.40636E-05   -.28964E-04
  10  Prefactor     .10000E-03    17.562       -.22247E-06** at limit **
  11  Prefactor     .10000E-03    10.396       -.48214E-07** at limit **
  12  norm          7.5597        9.1142        .21810E-05   -.15755E-03
  13  norm          .10000E-03    2.6745       -.40134E-08** at limit **
  14  norm          .10000E-03    4.2628        .28881E-07** at limit **
  15  norm          .10000E-03    1.3111        .92454E-07** at limit **
  16  norm          .10000E-03    10.476       -.13318E-06** at limit **
  17  norm          1.2855        1.2911        .59560E-07   -.15676E-04
  18  Normalizat    1.3156        .21312        .25005E-06   -.31911E-04
  19  Prefactor     .73381        .12484       -.55110E-06    .19250E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 3.98981
  Prefactor  = 4.17488
  Prefactor  = 20.214
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 47.8216
  Prefactor  = 0.0001
  Prefactor  = 3.53394
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.55971
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.28551
  Normalizat = 1.31558
  Prefactor  = 0.733813
 **********
 **   18 **HESSE 
 **********

 FCN=   5206.421     FROM HESSE     STATUS=OK           266 CALLS     2146 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.8566        .15522E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.9898        3.0296        .10569E-03   -1.5308    
   3  Prefactor     4.1749        7.8858        .19726E-03   -1.5299    
   4  Prefactor     20.214        15.081        .89087E-04   -1.4808    
   5  Prefactor     .10000E-03    2.2397        .10541E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    29.948        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     47.822        44.524        .57972E-04   -1.4324    
   8  Prefactor     .10000E-03    10.520        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.5339        94.622        .21468E-03   -1.5332    
  10  Prefactor     .10000E-03    17.587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.433        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.5597        9.2716        .72927E-03   -1.5158    
  13  norm          .10000E-03    2.7360        .11518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    4.2826        .14550E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.0267        .16025E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    10.620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.2855        1.2732        .79181E-04   -1.5481    
  18  Normalizat    1.3156        .24738        .26301E-03   -.83103    
  19  Prefactor     .73381        .14428        .20123E-03   -1.0222    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56287e-10
Minuit parameter uncertainties:
  1  9.31069e-08
  2  3.02975
  3  7.88778
  4  15.0837
  5  2.03769e-07
  6  8.84541e-06
  7  44.5546
  8  9.86858e-07
  9  36.6365
  10  3.66389e-05
  11  1.52859e-05
  12  9.2734
  13  1.32028e-06
  14  6.63213e-07
  15  2.06014e-05
  16  3.24981e-05
  17  1.27323
  18  0.247607
  19  0.144351
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  7.338e-01  1.444e-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.316e+00  2.476e-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: 7.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/375362/likelihoodResults_503193601_503452801_4FGL_J0937.9-1434_daily_bin1018.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) = 5206.42122158
delta logL = -0.00027076265178

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5206.42095101
delta logL = -2.0066909201e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10244E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0720       1.0000          .0000       10.000    
     3 'Normalizat'    1.3156       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73381       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=   5206.421     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      230 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    454.52        .90712E-02** at limit **
   2  Index         2.0601        7.4810        .50000        .56892E-05
   3  Normalizat    1.3156        .30272E-01    .59472E-01    .13265E-04
   4  Prefactor     .73381        .17941E-01    .42850E-01   -.32674E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.06006
  Normalizat = 1.31558
  Prefactor  = 0.733812
 **********
 **   18 **HESSE 
 **********

 FCN=   5206.421     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      263 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1194.3        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0601        5.9820        .50000       -.62857    
   3  Normalizat    1.3156        .52803E-01    .26301E-03   -.83103    
   4  Prefactor     .73381        .31301E-01    .20123E-03   -1.0222    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.76419e-11
Minuit parameter uncertainties:
  1  0.0017729
  2  34.7804
  3  0.0528048
  4  0.031302
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/375362': 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) = 5206.42095092
delta logL = -1.08406311483e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  7.338e-01  3.130e-02  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.316e+00  5.280e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/375362/cmap_HighResolution_503193601_503452801_4FGL_J0937.9-1434_daily_bin1018.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.32e-03', job_status='DONE', photon_flux_upper_limit='7.11e-08', time_completed='2021-08-31 19:42:04.234376', job_id='375362', GAL2='0.73', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1630464124.23', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='-1.08e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1018' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:42:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0011>
Subject: Job 375362: <4FGL_J0937.9-1434_daily_bin1018> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin1018> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 19:31:11 2021
Job was executed on host(s) <bullet0011>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 19:31:13 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:13 2021
Terminated at Tue Aug 31 19:42:05 2021
Results reported at Tue Aug 31 19:42:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1018 144.475 -14.5706 503193601 503452801 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 :                                   523.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             282.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   651 sec.
    Turnaround time :                            654 sec.

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

