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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1581
RA = 144.475, Dec = -14.5706
tmin = 649123201, tmax = 649382401
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='378513', job_status='RUN', time_executed='2021-08-31 19:42:24.520222', time_epoch_executed='1630464144.52' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1581'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/378513

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/378513/ft1_4FGL_J0937.9-1434_daily_bin1581.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/378513/ft2_4FGL_J0937.9-1434_daily_bin1581.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/378513/ft1_4FGL_J0937.9-1434_daily_bin1581.fits outfile=/scratch/kocevski/378513/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1581.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=649123201.0 tmax=649382401.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.98
user 2.76
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/378513/ft2_4FGL_J0937.9-1434_daily_bin1581.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/378513/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1581.fits evtable="EVENTS" outfile="/scratch/kocevski/378513/ft1_filtered_4FGL_J0937.9-1434_daily_bin1581.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.48
user 0.35
sys 0.12

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/378513/ft1_filtered_4FGL_J0937.9-1434_daily_bin1581.fits" evtable="EVENTS" scfile=/scratch/kocevski/378513/ft2_4FGL_J0937.9-1434_daily_bin1581.fits sctable="SC_DATA" outfile=/scratch/kocevski/378513/ltcube_649123201_649382401_4FGL_J0937.9-1434_daily_bin1581.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/378513/ft2_4FGL_J0937.9-1434_daily_bin1581.fits
.....................!
real 12.43
user 12.07
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/378513/ft1_filtered_4FGL_J0937.9-1434_daily_bin1581.fits evtable="EVENTS" scfile=/scratch/kocevski/378513/ft2_4FGL_J0937.9-1434_daily_bin1581.fits sctable="SC_DATA" expcube=/scratch/kocevski/378513/ltcube_649123201_649382401_4FGL_J0937.9-1434_daily_bin1581.fits outfile=/scratch/kocevski/378513/expmap_649123201_649382401_4FGL_J0937.9-1434_daily_bin1581.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/378513/ltcube_649123201_649382401_4FGL_J0937.9-1434_daily_bin1581.fits
.....................!
real 190.80
user 186.04
sys 4.44

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/378513/ft1_filtered_4FGL_J0937.9-1434_daily_bin1581.fits scfile=/scratch/kocevski/378513/ft2_4FGL_J0937.9-1434_daily_bin1581.fits outfile=/scratch/kocevski/378513/cmap_649123201_649382401_4FGL_J0937.9-1434_daily_bin1581.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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/378513/ft1_filtered_4FGL_J0937.9-1434_daily_bin1581.fits scfile=/scratch/kocevski/378513/ft2_4FGL_J0937.9-1434_daily_bin1581.fits outfile=/scratch/kocevski/378513/cmap_HighResolution_649123201_649382401_4FGL_J0937.9-1434_daily_bin1581.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/378513/ft1_filtered_4FGL_J0937.9-1434_daily_bin1581.fits evtable="EVENTS" scfile=/scratch/kocevski/378513/ft2_4FGL_J0937.9-1434_daily_bin1581.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/378513/Model_4FGL_J0937.9-1434_daily_bin1581.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/378513/ft1_filtered_4FGL_J0937.9-1434_daily_bin1581.fits.....................!
real 67.33
user 65.95
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6063       1.0000         .10000E-03   10000.    
     2 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .30626E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.142       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.0262       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .14200E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10254E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.2593       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .62186       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.7479       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .82289       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=   5765.812     FROM MIGRAD    STATUS=CONVERGED    405 CALLS     1904 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6019        3.6236       -.48128E-06   -.10825E-03
   2  norm          .10000E-03    2.2153        .53546E-08** at limit **
   3  Prefactor     .10000E-03    6.0788       -.71506E-08** at limit **
   4  Prefactor     .10000E-03    14.140        .60703E-08** at limit **
   5  Prefactor     .10000E-03    4.1743        .97956E-09** at limit **
   6  Prefactor     11.098        33.676        .73047E-08   -.52253E-04
   7  Prefactor     5.0283        35.818       -.16927E-06    .21817E-03
   8  Prefactor     .10000E-03    44.144       -.53597E-08** at limit **
   9  Prefactor     .10000E-03    230.02       -.16509E-07** at limit **
  10  Prefactor     .10000E-03    26.526       -.77361E-08** at limit **
  11  Prefactor     .10000E-03    3.6442        .64599E-09** at limit **
  12  norm          6.2597        9.8820       -.36520E-07    .28967E-03
  13  norm          .10000E-03    1.5274        .10645E-08** at limit **
  14  norm          .10000E-03    2.4196       -.12364E-08** at limit **
  15  norm          .10000E-03    1.4039       -.30609E-08** at limit **
  16  norm          .10000E-03    5.6499       -.63748E-09** at limit **
  17  norm          .62267        1.2679       -.18816E-07    .13578E-04
  18  Normalizat    1.7481        .24720        .35018E-07   -.43317E-04
  19  Prefactor     .82269        .13542        .22050E-07   -.12099E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.60193
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.0981
  Prefactor  = 5.02834
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.25975
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.622665
  Normalizat = 1.74812
  Prefactor  = 0.822692
 **********
 **   18 **HESSE 
 **********

 FCN=   5765.812     FROM HESSE     STATUS=OK           264 CALLS     2168 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6019        15.718        .10639E-02   -1.5328    
   2  norm          .10000E-03    2.2306        .11037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    17.039        .35818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.1772        .15152E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.098        33.683        .12002E-03   -1.5042    
   7  Prefactor     5.0283        35.771        .17936E-03   -1.5259    
   8  Prefactor     .10000E-03    44.162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    233.27        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    26.542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.6456        .14157E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.2597        9.8909        .16045E-03   -1.5208    
  13  norm          .10000E-03    1.5293        .91647E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.4205        .11536E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.4387        .17567E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    5.6621        .17626E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .62267        1.2064        .11580E-02   -1.5550    
  18  Normalizat    1.7481        .29120        .28253E-03   -.71026    
  19  Prefactor     .82269        .15858        .21528E-03   -.98897    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8866e-10
Minuit parameter uncertainties:
  1  15.055
  2  5.23006e-06
  3  3.08938e-05
  4  6.32598e-06
  5  2.13956e-06
  6  33.7412
  7  26.8457
  8  7.03891e-05
  9  0.000381538
  10  0.000116981
  11  3.03888e-06
  12  9.89349
  13  3.72858e-06
  14  4.01157e-06
  15  6.32863e-06
  16  4.45469e-07
  17  1.20643
  18  0.291486
  19  0.158665
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  1.170e-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:  8.227e-01  1.587e-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.748e+00  2.915e-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: 8.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/378513/likelihoodResults_649123201_649382401_4FGL_J0937.9-1434_daily_bin1581.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) = 5765.8123727
delta logL = -0.000179436439794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5765.81219334
delta logL = -8.29413693282e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0563       1.0000          .0000       10.000    
     3 'Normalizat'    1.7481       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82269       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=   5765.812     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      234 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    514.40        .90712E-02** at limit **
   2  Index         2.0415        8.7153        .50000        .45470E-05
   3  Normalizat    1.7481        .29911E-01    .63884E-01   -.11804E-03
   4  Prefactor     .82269        .16541E-01    .44012E-01   -.19073E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.04154
  Normalizat = 1.74812
  Prefactor  = 0.822692
 **********
 **   18 **HESSE 
 **********

 FCN=   5765.812     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      263 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6962.7        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0415        6.0142        .50000       -.63315    
   3  Normalizat    1.7481        .12366        .28253E-03   -.71026    
   4  Prefactor     .82269        .68388E-01    .21528E-03   -.98897    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.19705e-09
Minuit parameter uncertainties:
  1  0.0013854
  2  54.1395
  3  0.123685
  4  0.0683947
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/378513': 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) = 5765.81219332
delta logL = -6.52489688946e-08

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  8.227e-01  6.839e-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.748e+00  1.237e-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/378513/cmap_HighResolution_649123201_649382401_4FGL_J0937.9-1434_daily_bin1581.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.99e-03', job_status='DONE', photon_flux_upper_limit='8.00e-08', time_completed='2021-08-31 19:51:32.451385', job_id='378513', GAL2='0.82', fit_tolerance='1e-08', EG2='1.75', EG='1.75', time_epoch_completed='1630464692.45', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='-6.52e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1581' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:51:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 378513: <4FGL_J0937.9-1434_daily_bin1581> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin1581> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Aug 31 19:40:39 2021
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 19:40:41 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:40:41 2021
Terminated at Tue Aug 31 19:51:33 2021
Results reported at Tue Aug 31 19:51:33 2021

Your job looked like:

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

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

