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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin770
RA = 144.475, Dec = -14.5706
tmin = 438912001, tmax = 439171201
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='375003', job_status='RUN', time_executed='2021-08-31 19:33:36.875546', time_epoch_executed='1630463616.88' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/375003

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/375003/ft1_4FGL_J0937.9-1434_daily_bin770.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/375003/ft2_4FGL_J0937.9-1434_daily_bin770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/375003/ft1_4FGL_J0937.9-1434_daily_bin770.fits outfile=/scratch/kocevski/375003/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin770.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=438912001.0 tmax=439171201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 6.36
user 5.91
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/375003/ft1_filtered_4FGL_J0937.9-1434_daily_bin770.fits" evtable="EVENTS" scfile=/scratch/kocevski/375003/ft2_4FGL_J0937.9-1434_daily_bin770.fits sctable="SC_DATA" outfile=/scratch/kocevski/375003/ltcube_438912001_439171201_4FGL_J0937.9-1434_daily_bin770.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/375003/ft2_4FGL_J0937.9-1434_daily_bin770.fits
.....................!
real 12.87
user 11.71
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/375003/ft1_filtered_4FGL_J0937.9-1434_daily_bin770.fits evtable="EVENTS" scfile=/scratch/kocevski/375003/ft2_4FGL_J0937.9-1434_daily_bin770.fits sctable="SC_DATA" expcube=/scratch/kocevski/375003/ltcube_438912001_439171201_4FGL_J0937.9-1434_daily_bin770.fits outfile=/scratch/kocevski/375003/expmap_438912001_439171201_4FGL_J0937.9-1434_daily_bin770.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/375003/ltcube_438912001_439171201_4FGL_J0937.9-1434_daily_bin770.fits
.....................!
real 195.33
user 185.67
sys 5.02

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/375003/ft1_filtered_4FGL_J0937.9-1434_daily_bin770.fits scfile=/scratch/kocevski/375003/ft2_4FGL_J0937.9-1434_daily_bin770.fits outfile=/scratch/kocevski/375003/cmap_438912001_439171201_4FGL_J0937.9-1434_daily_bin770.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/375003/ft1_filtered_4FGL_J0937.9-1434_daily_bin770.fits scfile=/scratch/kocevski/375003/ft2_4FGL_J0937.9-1434_daily_bin770.fits outfile=/scratch/kocevski/375003/cmap_HighResolution_438912001_439171201_4FGL_J0937.9-1434_daily_bin770.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.55
user 0.41
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/375003/ft1_filtered_4FGL_J0937.9-1434_daily_bin770.fits evtable="EVENTS" scfile=/scratch/kocevski/375003/ft2_4FGL_J0937.9-1434_daily_bin770.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/375003/Model_4FGL_J0937.9-1434_daily_bin770.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/375003/ft1_filtered_4FGL_J0937.9-1434_daily_bin770.fits......................!
real 45.99
user 44.43
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.281       1.0000         .10000E-03   10000.    
     2 'norm      '    8.7618       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.8908       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10322E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .14770E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10384E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .20812E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.085       1.0000         .10000E-03   10000.    
    12 'norm      '    15.490       1.0000         .10000E-03   10000.    
    13 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.0972       1.0000         .10000E-03   10000.    
    16 'norm      '    8.6424       1.0000         .10000E-03   10000.    
    17 'norm      '    2.2180       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2158       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .71075       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=   3798.446     FROM MIGRAD    STATUS=CONVERGED    400 CALLS     1902 TOTAL
                     EDM=   .56E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.275        13.059        .29182E-07    .95422E-06
   2  norm          8.7621        4.9603        .27880E-07    .10205E-05
   3  Prefactor     4.8896        7.4688        .31828E-06   -.70886E-05
   4  Prefactor     .10000E-03    5.2439        .63747E-08** at limit **
   5  Prefactor     .10000E-03    6.5743        .30639E-07** at limit **
   6  Prefactor     .10000E-03    11.870        .66804E-07** at limit **
   7  Prefactor     .10000E-03    23.408        .11121E-06** at limit **
   8  Prefactor     .10000E-03    104.52        .10341E-05** at limit **
   9  Prefactor     .10000E-03    32.536       -.39752E-07** at limit **
  10  Prefactor     .10000E-03    276.38       -.49527E-05** at limit **
  11  Prefactor     24.087        22.437       -.52778E-06    .17969E-04
  12  norm          15.493        11.947       -.22530E-05    .10571E-03
  13  norm          .10000E-03    3.7990       -.18019E-06** at limit **
  14  norm          .10000E-03    5.7666        .28606E-08** at limit **
  15  norm          3.0973        2.3796        .19755E-07    .35340E-04
  16  norm          8.6467        9.7845        .68575E-07    .25632E-05
  17  norm          2.2179        1.8366        .71093E-06   -.10504E-03
  18  Normalizat    1.2159        .25253       -.39082E-06    .88001E-05
  19  Prefactor     .71072        .14324       -.30494E-06    .19757E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 14.2752
  norm       = 8.76212
  Prefactor  = 4.88957
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.087
  norm       = 15.4932
  norm       = 0.000100004
  norm       = 0.0001
  norm       = 3.09731
  norm       = 8.64675
  norm       = 2.21789
  Normalizat = 1.21592
  Prefactor  = 0.710722
 **********
 **   18 **HESSE 
 **********

 FCN=   3798.446     FROM HESSE     STATUS=OK           270 CALLS     2172 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.275        13.060        .10599E-03   -1.4952    
   2  norm          8.7621        4.9611        .98774E-04   -1.5116    
   3  Prefactor     4.8896        7.4655        .18188E-03   -1.5266    
   4  Prefactor     .10000E-03    5.2504        .13783E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.6075        .15431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    23.432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    105.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    32.616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    275.64        .40386E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     24.087        22.432        .81621E-04   -1.4726    
  12  norm          15.493        11.863        .50883E-03   -1.4921    
  13  norm          .10000E-03    12.858        .22992E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    5.7731        .14455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.0973        2.3744        .80788E-04   -1.5356    
  16  norm          8.6467        9.7841        .13635E-03   -1.5120    
  17  norm          2.2179        1.8417        .36759E-03   -1.5410    
  18  Normalizat    1.2159        .29546        .27078E-03   -.86112    
  19  Prefactor     .71072        .16788        .19831E-03   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30045e-10
Minuit parameter uncertainties:
  1  13.0626
  2  4.96138
  3  7.46696
  4  6.39574e-07
  5  4.44286e-06
  6  1.20984e-05
  7  5.07377e-05
  8  0.000689276
  9  1.59804e-05
  10  0.000322865
  11  22.4401
  12  11.8646
  13  0.000451718
  14  5.67486e-07
  15  2.37449
  16  9.78586
  17  1.84177
  18  0.295867
  19  0.168003
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  3.229e-04  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.107e-01  1.680e-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.216e+00  2.959e-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: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/375003/likelihoodResults_438912001_439171201_4FGL_J0937.9-1434_daily_bin770.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) = 3798.44627988
delta logL = -1.71600031535e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3798.12483351
delta logL = 0.32142921482

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .89920       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5763       1.0000          .0000       10.000    
     3 'Normalizat'    1.1458       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73191       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=   3798.125     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      294 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .90413        25.141        .12805E-01    .70566E-03
   2  Index         3.5750        2.6265        .76114E-01    .14791E-03
   3  Normalizat    1.1452        .58267E-01    .62702E-01    .53879E-05
   4  Prefactor     .73217        .33637E-01    .42824E-01    .41249E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.904133
  Index      = 3.57499
  Normalizat = 1.14518
  Prefactor  = 0.732166
 **********
 **   18 **HESSE 
 **********

 FCN=   3798.125     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      327 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .90413        74.156        .73835E-04   -1.5518    
   2  Index         3.5750        6.7869        .42677E-02   -.28901    
   3  Normalizat    1.1452        .25594        .27734E-03   -.88314    
   4  Prefactor     .73217        .14496        .19541E-03   -1.0228    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.25832e-10
Minuit parameter uncertainties:
  1  16.3966
  2  6.03839
  3  0.256221
  4  0.145032
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/375003': 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) = 3798.12483044
delta logL = 0.321432282337

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  9.041e-01  1.640e+01  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  3.575e+00  6.038e+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:  7.322e-01  1.450e-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.145e+00  2.562e-01  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/375003/cmap_HighResolution_438912001_439171201_4FGL_J0937.9-1434_daily_bin770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.42e-03', job_status='DONE', photon_flux_upper_limit='1.12e-07', time_completed='2021-08-31 19:41:43.815284', job_id='375003', GAL2='0.73', fit_tolerance='1e-08', EG2='1.15', EG='1.22', time_epoch_completed='1630464103.82', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='3.21e-01', ts2='0.68', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='770' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:41:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0010>
Subject: Job 375003: <4FGL_J0937.9-1434_daily_bin770> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin770 144.475 -14.5706 438912001 439171201 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 :                                   478.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   664 sec.
    Turnaround time :                            666 sec.

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

