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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1280
RA = 144.475, Dec = -14.5706
tmin = 571104001, tmax = 571363201
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='377034', job_status='RUN', time_executed='2021-08-31 19:37:41.620941', time_epoch_executed='1630463861.62' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1280'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/377034

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/377034/ft1_4FGL_J0937.9-1434_daily_bin1280.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/377034/ft2_4FGL_J0937.9-1434_daily_bin1280.fits


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

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

Done.
real 3.06
user 2.76
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/377034/ft1_filtered_4FGL_J0937.9-1434_daily_bin1280.fits" evtable="EVENTS" scfile=/scratch/kocevski/377034/ft2_4FGL_J0937.9-1434_daily_bin1280.fits sctable="SC_DATA" outfile=/scratch/kocevski/377034/ltcube_571104001_571363201_4FGL_J0937.9-1434_daily_bin1280.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/377034/ft2_4FGL_J0937.9-1434_daily_bin1280.fits
.....................!
real 12.71
user 12.33
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/377034/ft1_filtered_4FGL_J0937.9-1434_daily_bin1280.fits evtable="EVENTS" scfile=/scratch/kocevski/377034/ft2_4FGL_J0937.9-1434_daily_bin1280.fits sctable="SC_DATA" expcube=/scratch/kocevski/377034/ltcube_571104001_571363201_4FGL_J0937.9-1434_daily_bin1280.fits outfile=/scratch/kocevski/377034/expmap_571104001_571363201_4FGL_J0937.9-1434_daily_bin1280.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/377034/ltcube_571104001_571363201_4FGL_J0937.9-1434_daily_bin1280.fits
.....................!
real 190.67
user 185.16
sys 4.91

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/377034/ft1_filtered_4FGL_J0937.9-1434_daily_bin1280.fits scfile=/scratch/kocevski/377034/ft2_4FGL_J0937.9-1434_daily_bin1280.fits outfile=/scratch/kocevski/377034/cmap_571104001_571363201_4FGL_J0937.9-1434_daily_bin1280.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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/377034/ft1_filtered_4FGL_J0937.9-1434_daily_bin1280.fits scfile=/scratch/kocevski/377034/ft2_4FGL_J0937.9-1434_daily_bin1280.fits outfile=/scratch/kocevski/377034/cmap_HighResolution_571104001_571363201_4FGL_J0937.9-1434_daily_bin1280.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.58
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/377034/ft1_filtered_4FGL_J0937.9-1434_daily_bin1280.fits evtable="EVENTS" scfile=/scratch/kocevski/377034/ft2_4FGL_J0937.9-1434_daily_bin1280.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/377034/Model_4FGL_J0937.9-1434_daily_bin1280.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/377034/ft1_filtered_4FGL_J0937.9-1434_daily_bin1280.fits.....................!
real 35.64
user 34.24
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    7.6253       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.664       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11540E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10736E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    130.52       1.0000         .10000E-03   10000.    
     7 'Prefactor '    39.685       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .14610E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    58.047       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10421E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.4593       1.0000         .10000E-03   10000.    
    12 'norm      '    39.972       1.0000         .10000E-03   10000.    
    13 'norm      '    .36839E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10392E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.2520       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0802       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .73958       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=   2388.173     FROM MIGRAD    STATUS=CONVERGED    384 CALLS     1913 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    21.853        .59898E-06** at limit **
   2  norm          7.6218        8.3280       -.24706E-06   -.10835E-04
   3  Prefactor     11.658        10.989       -.35446E-06   -.28156E-04
   4  Prefactor     .10000E-03    35.223        .10854E-05** at limit **
   5  Prefactor     .10000E-03    12.336        .31169E-06** at limit **
   6  Prefactor     130.57        148.56        .34139E-08    .34823E-04
   7  Prefactor     39.585        71.072       -.41649E-05   -.79000E-04
   8  Prefactor     .10000E-03    466.01        .19021E-05** at limit **
   9  Prefactor     57.965        88.438        .56978E-05    .10377E-03
  10  Prefactor     .10000E-03    27.648       -.34994E-06** at limit **
  11  Prefactor     9.4330        35.638       -.29776E-05   -.30499E-04
  12  norm          39.987        21.813       -.12427E-07    .81434E-04
  13  norm          .11000E-03    21.545        .35925E-05** at limit **
  14  norm          .10000E-03    3.9847        .54423E-07** at limit **
  15  norm          .10000E-03    2.0256       -.67045E-07** at limit **
  16  norm          .10000E-03    16.846        .18361E-06** at limit **
  17  norm          2.2519        1.8783       -.24321E-06   -.64087E-04
  18  Normalizat    1.0790        .42584        .12850E-04    .15217E-03
  19  Prefactor     .74049        .20173       -.54931E-05    .17871E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 7.62182
  Prefactor  = 11.6581
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 130.568
  Prefactor  = 39.5851
  Prefactor  = 0.0001
  Prefactor  = 57.9648
  Prefactor  = 0.0001
  Prefactor  = 9.43299
  norm       = 39.9871
  norm       = 0.000110004
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.25192
  Normalizat = 1.07898
  Prefactor  = 0.740486
 **********
 **   18 **HESSE 
 **********

 FCN=   2388.173     FROM HESSE     STATUS=OK           262 CALLS     2175 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    21.890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.6218        8.3238        .14284E-03   -1.5156    
   3  Prefactor     11.658        11.008        .11730E-03   -1.5025    
   4  Prefactor     .10000E-03    35.387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    12.343        .16766E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     130.57        148.31        .17622E-03   -1.3418    
   7  Prefactor     39.585        71.157        .63628E-04   -1.4449    
   8  Prefactor     .10000E-03    465.78        .20491E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     57.965        89.578        .26328E-03   -1.4184    
  10  Prefactor     .10000E-03    27.656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.4330        35.634        .13030E-03   -1.5094    
  12  norm          39.987        21.815        .63400E-04   -1.4442    
  13  norm          .11000E-03    264.19        .35122E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.9860        .95279E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.0264        .67935E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    16.872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.2519        1.8775        .57836E-04   -1.5408    
  18  Normalizat    1.0790        .43375        .31353E-03   -.90430    
  19  Prefactor     .74049        .20775        .18990E-03   -1.0196    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57914e-08
Minuit parameter uncertainties:
  1  9.05977e-05
  2  8.32506
  3  11.0098
  4  0.000165073
  5  3.30188e-05
  6  148.739
  7  71.3106
  8  0.000666499
  9  89.7873
  10  6.64941e-05
  11  35.7143
  12  21.8194
  13  0.103276
  14  3.31901e-06
  15  6.16065e-06
  16  3.28097e-06
  17  1.87756
  18  0.435184
  19  0.20797
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  6.649e-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.405e-01  2.080e-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.079e+00  4.352e-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/377034/likelihoodResults_571104001_571363201_4FGL_J0937.9-1434_daily_bin1280.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) = 2388.17291883
delta logL = -0.000171891743321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2388.17274744
delta logL = -4.95962012792e-07

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2388.173     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      270 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10107E-03    96.912        .18142E-02** at limit **
   2  Index         2.1149        5.8427        .50000        .12031E-04
   3  Normalizat    1.0790        .18525E-01    .31351E-03   -.37659E-04
   4  Prefactor     .74049        .95247E-02    .18990E-03   -.11806E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010107
  Index      = 2.11488
  Normalizat = 1.07898
  Prefactor  = 0.740485
 **********
 **   18 **HESSE 
 **********

 FCN=   2388.173     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      299 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10107E-03    431.11        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1149        6.3416        .50000       -.61508    
   3  Normalizat    1.0790        .39904E-01    .12540E-04   -.90430    
   4  Prefactor     .74049        .20516E-01    .37980E-04   -1.0196    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.47304e-09
Minuit parameter uncertainties:
  1  0.0432678
  2  331.21
  3  0.0399051
  4  0.0205167
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/377034': 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) = 2388.1727473
delta logL = -3.53994437319e-07

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.011e-04  4.327e-02  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  2.115e+00  3.312e+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:  7.405e-01  2.052e-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.079e+00  3.991e-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/377034/cmap_HighResolution_571104001_571363201_4FGL_J0937.9-1434_daily_bin1280.png

Cleaning up...

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

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:45:38.066595', job_id='377034', GAL2='0.74', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1630464338.07', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='-3.54e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1280' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:45:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0181>
Subject: Job 377034: <4FGL_J0937.9-1434_daily_bin1280> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1280 144.475 -14.5706 571104001 571363201 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 :                                   404.28 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             277.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   559 sec.
    Turnaround time :                            560 sec.

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

