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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1229
RA = 144.475, Dec = -14.5706
tmin = 557884801, tmax = 558144001
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='376950', job_status='RUN', time_executed='2021-08-31 19:39:58.875734', time_epoch_executed='1630463998.88' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1229'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/376950

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/376950/ft1_4FGL_J0937.9-1434_daily_bin1229.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/376950/ft2_4FGL_J0937.9-1434_daily_bin1229.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/376950/ft1_4FGL_J0937.9-1434_daily_bin1229.fits outfile=/scratch/kocevski/376950/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1229.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=557884801.0 tmax=558144001.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 4.02
user 3.83
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/376950/ft1_filtered_4FGL_J0937.9-1434_daily_bin1229.fits" evtable="EVENTS" scfile=/scratch/kocevski/376950/ft2_4FGL_J0937.9-1434_daily_bin1229.fits sctable="SC_DATA" outfile=/scratch/kocevski/376950/ltcube_557884801_558144001_4FGL_J0937.9-1434_daily_bin1229.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/376950/ft2_4FGL_J0937.9-1434_daily_bin1229.fits
.....................!
real 11.94
user 11.58
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/376950/ft1_filtered_4FGL_J0937.9-1434_daily_bin1229.fits evtable="EVENTS" scfile=/scratch/kocevski/376950/ft2_4FGL_J0937.9-1434_daily_bin1229.fits sctable="SC_DATA" expcube=/scratch/kocevski/376950/ltcube_557884801_558144001_4FGL_J0937.9-1434_daily_bin1229.fits outfile=/scratch/kocevski/376950/expmap_557884801_558144001_4FGL_J0937.9-1434_daily_bin1229.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/376950/ltcube_557884801_558144001_4FGL_J0937.9-1434_daily_bin1229.fits
.....................!
real 191.46
user 186.44
sys 4.40

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/376950/ft1_filtered_4FGL_J0937.9-1434_daily_bin1229.fits scfile=/scratch/kocevski/376950/ft2_4FGL_J0937.9-1434_daily_bin1229.fits outfile=/scratch/kocevski/376950/cmap_557884801_558144001_4FGL_J0937.9-1434_daily_bin1229.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/376950/ft1_filtered_4FGL_J0937.9-1434_daily_bin1229.fits scfile=/scratch/kocevski/376950/ft2_4FGL_J0937.9-1434_daily_bin1229.fits outfile=/scratch/kocevski/376950/cmap_HighResolution_557884801_558144001_4FGL_J0937.9-1434_daily_bin1229.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.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .94425       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    109.63       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12845E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.2798       1.0000         .10000E-03   10000.    
    13 'norm      '    .69364       1.0000         .10000E-03   10000.    
    14 'norm      '    9.7678       1.0000         .10000E-03   10000.    
    15 'norm      '    7.0152       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .71995       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.3579       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=   4116.416     FROM MIGRAD    STATUS=CONVERGED    378 CALLS     1846 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.0631        .14599E-06** at limit **
   2  norm          .10000E-03    2.4619       -.21882E-06** at limit **
   3  Prefactor     .94592        6.2031       -.11049E-05    .18883E-04
   4  Prefactor     .10000E-03    8.5877       -.37782E-06** at limit **
   5  Prefactor     .10000E-03    7.7223        .11077E-05** at limit **
   6  Prefactor     .10000E-03    27.755       -.12222E-04** at limit **
   7  Prefactor     109.64        64.489        .94912E-06    .21779E-04
   8  Prefactor     .10000E-03    77.220        .10111E-03** at limit **
   9  Prefactor     .10000E-03    110.65       -.16048E-03** at limit **
  10  Prefactor     .10000E-03    87.966        .16398E-04** at limit **
  11  Prefactor     .10000E-03    19.409        .41934E-05** at limit **
  12  norm          4.2689        11.057       -.16821E-05   -.57335E-04
  13  norm          .69293        10.365       -.44242E-05   -.86517E-03
  14  norm          9.7682        9.5487       -.15024E-06   -.12802E-04
  15  norm          7.0156        6.2608        .80324E-07    .64013E-04
  16  norm          .10000E-03    4.7584       -.11048E-07** at limit **
  17  norm          .10000E-03    .46086        .25093E-07** at limit **
  18  Normalizat    .71977        .32630        .57835E-06    .18465E-03
  19  Prefactor     1.3579        .18550        .18619E-06    .36650E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.945919
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 109.636
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.26887
  norm       = 0.692934
  norm       = 9.76824
  norm       = 7.01559
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 0.719773
  Prefactor  = 1.3579
 **********
 **   18 **HESSE 
 **********

 FCN=   4116.416     FROM HESSE     STATUS=OK           262 CALLS     2108 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.0633        .15430E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.4680        .98316E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .94592        20.799        .30133E-02   -1.5513    
   4  Prefactor     .10000E-03    8.6010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.7274        .17414E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    27.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     109.64        64.463        .38414E-04   -1.3610    
   8  Prefactor     .10000E-03    77.110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    110.06        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    88.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    19.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.2689        11.032        .19475E-03   -1.5295    
  13  norm          .69293        10.534        .39533E-03   -1.5541    
  14  norm          9.7682        9.5517        .12822E-03   -1.5083    
  15  norm          7.0156        6.2218        .14242E-03   -1.5178    
  16  norm          .10000E-03    4.7603        .13669E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .46625        .42504E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .71977        .35981        .42453E-03   -1.0312    
  19  Prefactor     1.3579        .20725        .18252E-03   -.81601    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47218e-09
Minuit parameter uncertainties:
  1  4.24349e-07
  2  2.19037e-07
  3  8.87413
  4  1.14972e-06
  5  2.9265e-06
  6  7.94099e-06
  7  64.5046
  8  1.64182e-05
  9  0.000811319
  10  0.000277003
  11  7.86228e-06
  12  11.0371
  13  5.4041
  14  9.55319
  15  6.22239
  16  1.39906e-06
  17  4.81703e-07
  18  0.360998
  19  0.207376
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  2.770e-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:  1.358e+00  2.074e-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:  7.198e-01  3.610e-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.28e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.58e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/376950/likelihoodResults_557884801_558144001_4FGL_J0937.9-1434_daily_bin1229.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) = 4116.41556657
delta logL = -5.39705888514e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4116.4155125
delta logL = 9.64555511018e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0223       1.0000          .0000       10.000    
     3 'Normalizat'    .71977       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3579       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=   4116.416     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      257 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10867E-03    6.2091        .12449    ** at limit **
   2  Index         2.1560        1.3652        .50000       -.15933E-04
   3  Normalizat    .71977        .26238E-02    .95800E-01   -.10587E-03
   4  Prefactor     1.3579        .15086E-02    .31670E-01   -.31527E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000108671
  Index      = 2.156
  Normalizat = 0.71977
  Prefactor  = 1.3579
 **********
 **   18 **HESSE 
 **********

 FCN=   4116.416     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      298 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10867E-03    6.0628        .12605       -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1560        1.3619        .50000       -.60505    
   3  Normalizat    .71977        .26083E-02    .42453E-03   -1.0312    
   4  Prefactor     1.3579        .15045E-02    .18252E-03   -.81601    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.39659e-11
Minuit parameter uncertainties:
  1  0.0145023
  2  1.38807
  3  0.0026083
  4  0.00150453
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/376950': 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) = 4116.41551212
delta logL = 4.82106770505e-07

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.087e-04  1.450e-02  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  2.156e+00  1.388e+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:  1.358e+00  1.505e-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:  7.198e-01  2.608e-03  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/376950/cmap_HighResolution_557884801_558144001_4FGL_J0937.9-1434_daily_bin1229.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.58e-03', job_status='DONE', photon_flux_upper_limit='1.28e-07', time_completed='2021-08-31 19:47:58.697869', job_id='376950', GAL2='1.36', fit_tolerance='1e-08', EG2='0.72', EG='0.72', time_epoch_completed='1630464478.7', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.36', dlogl='4.82e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1229' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:47:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 376950: <4FGL_J0937.9-1434_daily_bin1229> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin1229> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 19:36:09 2021
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 19:36:11 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 19:36:11 2021
Terminated at Tue Aug 31 19:47:59 2021
Results reported at Tue Aug 31 19:47:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1229 144.475 -14.5706 557884801 558144001 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 :                                   472.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             206.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            710 sec.

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

