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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1649
RA = 144.475, Dec = -14.5706
tmin = 666748801, tmax = 667008001
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='245601', job_status='RUN', time_executed='2022-02-20 08:31:13.421832', time_epoch_executed='1645374673.42' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1649'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/245601

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/245601/ft1_4FGL_J0937.9-1434_daily_bin1649.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/245601/ft2_4FGL_J0937.9-1434_daily_bin1649.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/245601/ft1_4FGL_J0937.9-1434_daily_bin1649.fits outfile=/scratch/kocevski/245601/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1649.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=666748801.0 tmax=667008001.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 2.63
user 2.42
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/245601/ft2_4FGL_J0937.9-1434_daily_bin1649.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/245601/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1649.fits evtable="EVENTS" outfile="/scratch/kocevski/245601/ft1_filtered_4FGL_J0937.9-1434_daily_bin1649.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.45
user 0.31
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/245601/ft1_filtered_4FGL_J0937.9-1434_daily_bin1649.fits" evtable="EVENTS" scfile=/scratch/kocevski/245601/ft2_4FGL_J0937.9-1434_daily_bin1649.fits sctable="SC_DATA" outfile=/scratch/kocevski/245601/ltcube_666748801_667008001_4FGL_J0937.9-1434_daily_bin1649.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/245601/ft2_4FGL_J0937.9-1434_daily_bin1649.fits
.....................!
real 14.70
user 14.38
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/245601/ft1_filtered_4FGL_J0937.9-1434_daily_bin1649.fits evtable="EVENTS" scfile=/scratch/kocevski/245601/ft2_4FGL_J0937.9-1434_daily_bin1649.fits sctable="SC_DATA" expcube=/scratch/kocevski/245601/ltcube_666748801_667008001_4FGL_J0937.9-1434_daily_bin1649.fits outfile=/scratch/kocevski/245601/expmap_666748801_667008001_4FGL_J0937.9-1434_daily_bin1649.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/245601/ltcube_666748801_667008001_4FGL_J0937.9-1434_daily_bin1649.fits
.....................!
real 156.28
user 152.29
sys 3.55

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/245601/ft1_filtered_4FGL_J0937.9-1434_daily_bin1649.fits scfile=/scratch/kocevski/245601/ft2_4FGL_J0937.9-1434_daily_bin1649.fits outfile=/scratch/kocevski/245601/cmap_666748801_667008001_4FGL_J0937.9-1434_daily_bin1649.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.56
user 0.33
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/245601/ft1_filtered_4FGL_J0937.9-1434_daily_bin1649.fits scfile=/scratch/kocevski/245601/ft2_4FGL_J0937.9-1434_daily_bin1649.fits outfile=/scratch/kocevski/245601/cmap_HighResolution_666748801_667008001_4FGL_J0937.9-1434_daily_bin1649.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.54
user 0.35
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    1.6682       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.701       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.812       1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.770       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    5.2018       1.0000         .10000E-03   10000.    
    13 'norm      '    11.509       1.0000         .10000E-03   10000.    
    14 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .17782E-01   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .45187       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.2011       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=   2965.417     FROM MIGRAD    STATUS=CONVERGED    408 CALLS     1865 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.6783        .10411E-05** at limit **
   2  norm          1.6700        5.0540       -.67482E-06   -.45726E-03
   3  Prefactor     .10000E-03    2.2250       -.16597E-06** at limit **
   4  Prefactor     .10000E-03    13.496        .57197E-05** at limit **
   5  Prefactor     16.702        16.690        .55981E-06   -.21547E-04
   6  Prefactor     .10000E-03    47.234       -.65554E-05** at limit **
   7  Prefactor     .10000E-03    116.15        .75755E-04** at limit **
   8  Prefactor     27.820        350.42        .13238E-04    .31813E-05
   9  Prefactor     21.726        52.948       -.59646E-04   -.78101E-05
  10  Prefactor     .10000E-03    32.871        .71485E-05** at limit **
  11  Prefactor     .10000E-03    13.816       -.50590E-05** at limit **
  12  norm          5.2011        13.129        .74570E-06   -.81576E-04
  13  norm          11.516        14.116        .17167E-05   -.38557E-04
  14  norm          .10000E-03    6.2890        .11513E-05** at limit **
  15  norm          .10000E-03    6.4251        .43212E-06** at limit **
  16  norm          .10000E-03    8.1001       -.57761E-06** at limit **
  17  norm          .11842E-02    .93831       -.86688E-06** at limit **
  18  Normalizat    .45144        .33983        .72397E-05   -.23784E-04
  19  Prefactor     1.2012        .18376       -.97630E-06    .28640E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 1.67
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.7021
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 27.8203
  Prefactor  = 21.726
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.20111
  norm       = 11.5159
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.00118423
  Normalizat = 0.451441
  Prefactor  = 1.2012
 **********
 **   18 **HESSE 
 **********

 FCN=   2965.417     FROM HESSE     STATUS=OK           272 CALLS     2137 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.6810        .14738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.6700        5.0260        .20476E-03   -1.5450    
   3  Prefactor     .10000E-03    2.2287        .79325E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.702        16.675        .98005E-04   -1.4890    
   6  Prefactor     .10000E-03    47.238        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    116.24        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     27.820        351.17        .75965E-04   -1.4653    
   9  Prefactor     21.726        52.932        .85845E-04   -1.4775    
  10  Prefactor     .10000E-03    32.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.879        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.2011        13.091        .17625E-03   -1.5252    
  13  norm          11.516        14.095        .11809E-03   -1.5029    
  14  norm          .10000E-03    6.3141        .13337E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    6.4989        .13469E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    8.1054        .15137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .11842E-02    4.8349        .17536E-01   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .45144        .36001        .44875E-03   -1.1472    
  19  Prefactor     1.2012        .19707        .15968E-03   -.86295    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.1369e-09
Minuit parameter uncertainties:
  1  4.6795e-07
  2  5.02726
  3  2.11258e-06
  4  4.62878e-06
  5  16.6797
  6  4.86561e-05
  7  0.000763837
  8  199.144
  9  53.047
  10  2.92053e-05
  11  3.25171e-06
  12  13.0977
  13  14.0988
  14  6.31008e-06
  15  7.68212e-06
  16  1.42852e-06
  17  0.144817
  18  0.361884
  19  0.197193
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  2.921e-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:  1.201e+00  1.972e-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:  4.514e-01  3.619e-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.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/245601/likelihoodResults_666748801_667008001_4FGL_J0937.9-1434_daily_bin1649.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) = 2965.41690522
delta logL = -0.0001447216614

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2965.4167609
delta logL = -4.09599579143e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10350E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2540       1.0000          .0000       10.000    
     3 'Normalizat'    .45144       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2012       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=   2965.417     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      235 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.0210        .90712E-02** at limit **
   2  Index         2.2310        5.4754        .50000        .69156E-05
   3  Normalizat    .45144        .41932E-02    .10122        .42610E-04
   4  Prefactor     1.2012        .23627E-02    .34603E-01    .88599E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.23101
  Normalizat = 0.451444
  Prefactor  = 1.2012
 **********
 **   18 **HESSE 
 **********

 FCN=   2965.417     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      268 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    126.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2310        5.6099        .50000       -.58692    
   3  Normalizat    .45144        .16714E-01    .44874E-03   -1.1472    
   4  Prefactor     1.2012        .94513E-02    .15968E-03   -.86295    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.43973e-07
Minuit parameter uncertainties:
  1  0.000765995
  2  236.828
  3  0.0167139
  4  0.00945136
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/245601': 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) = 2965.4167608
delta logL = -3.05067260342e-07

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  7.660e-04  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  2.231e+00  2.368e+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:  1.201e+00  9.451e-03  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:  4.514e-01  1.671e-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/245601/cmap_HighResolution_666748801_667008001_4FGL_J0937.9-1434_daily_bin1649.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.84e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2022-02-20 08:37:08.906974', job_id='245601', GAL2='1.20', fit_tolerance='1e-08', EG2='0.45', EG='0.45', time_epoch_completed='1645375028.91', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='-3.05e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1649' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 20 08:37:08 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 245601: <4FGL_J0937.9-1434_daily_bin1649> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin1649> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Feb 20 08:30:26 2022
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 20 08:30:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 20 08:30:28 2022
Terminated at Sun Feb 20 08:37:09 2022
Results reported at Sun Feb 20 08:37:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1649 144.475 -14.5706 666748801 667008001 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 :                                   356.44 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             324.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   401 sec.
    Turnaround time :                            403 sec.

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

