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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1098
RA = 144.475, Dec = -14.5706
tmin = 523929601, tmax = 524188801
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='375492', job_status='RUN', time_executed='2021-08-31 19:32:24.357275', time_epoch_executed='1630463544.36' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1098'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/375492

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/375492/ft1_4FGL_J0937.9-1434_daily_bin1098.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/375492/ft2_4FGL_J0937.9-1434_daily_bin1098.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/375492/ft1_4FGL_J0937.9-1434_daily_bin1098.fits outfile=/scratch/kocevski/375492/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1098.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=523929601.0 tmax=524188801.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.48
user 3.28
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/375492/ft1_filtered_4FGL_J0937.9-1434_daily_bin1098.fits" evtable="EVENTS" scfile=/scratch/kocevski/375492/ft2_4FGL_J0937.9-1434_daily_bin1098.fits sctable="SC_DATA" outfile=/scratch/kocevski/375492/ltcube_523929601_524188801_4FGL_J0937.9-1434_daily_bin1098.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/375492/ft2_4FGL_J0937.9-1434_daily_bin1098.fits
.....................!
real 12.97
user 11.89
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/375492/ft1_filtered_4FGL_J0937.9-1434_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/375492/ft2_4FGL_J0937.9-1434_daily_bin1098.fits sctable="SC_DATA" expcube=/scratch/kocevski/375492/ltcube_523929601_524188801_4FGL_J0937.9-1434_daily_bin1098.fits outfile=/scratch/kocevski/375492/expmap_523929601_524188801_4FGL_J0937.9-1434_daily_bin1098.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/375492/ltcube_523929601_524188801_4FGL_J0937.9-1434_daily_bin1098.fits
.....................!
real 190.91
user 186.08
sys 4.31

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/375492/ft1_filtered_4FGL_J0937.9-1434_daily_bin1098.fits scfile=/scratch/kocevski/375492/ft2_4FGL_J0937.9-1434_daily_bin1098.fits outfile=/scratch/kocevski/375492/cmap_523929601_524188801_4FGL_J0937.9-1434_daily_bin1098.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.37
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/375492/ft1_filtered_4FGL_J0937.9-1434_daily_bin1098.fits scfile=/scratch/kocevski/375492/ft2_4FGL_J0937.9-1434_daily_bin1098.fits outfile=/scratch/kocevski/375492/cmap_HighResolution_523929601_524188801_4FGL_J0937.9-1434_daily_bin1098.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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/375492/ft1_filtered_4FGL_J0937.9-1434_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/375492/ft2_4FGL_J0937.9-1434_daily_bin1098.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/375492/Model_4FGL_J0937.9-1434_daily_bin1098.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/375492/ft1_filtered_4FGL_J0937.9-1434_daily_bin1098.fits.....................!
real 75.58
user 74.34
sys 1.10

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.601       1.0000         .10000E-03   10000.    
     2 'norm      '    8.7301       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.7771       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.9034       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    37.560       1.0000         .10000E-03   10000.    
     9 'Prefactor '    43.082       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.3544       1.0000         .10000E-03   10000.    
    13 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10511E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.4999       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1138       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .91479       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=   7313.731     FROM MIGRAD    STATUS=CONVERGED    368 CALLS     1863 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.601        10.204        .76601E-08   -.32522E-04
   2  norm          8.7302        3.8278        .29571E-07   -.10102E-03
   3  Prefactor     2.7764        4.2136        .26191E-05   -.41471E-03
   4  Prefactor     2.9017        13.349        .46742E-06   -.22808E-04
   5  Prefactor     .10000E-03    3.5713       -.50023E-07** at limit **
   6  Prefactor     .10000E-03    7.7155        .81842E-06** at limit **
   7  Prefactor     .10000E-03    12.922        .26079E-06** at limit **
   8  Prefactor     37.569        44.206       -.21046E-06   -.11177E-04
   9  Prefactor     43.090        37.601       -.40239E-07    .63471E-04
  10  Prefactor     .10000E-03    10.754       -.31425E-06** at limit **
  11  Prefactor     .10000E-03    5.8365       -.16067E-06** at limit **
  12  norm          4.3557        6.2634        .16568E-05    .10382E-03
  13  norm          .10000E-03    1.2259        .14846E-06** at limit **
  14  norm          .10000E-03    10.886       -.59559E-08** at limit **
  15  norm          .10000E-03    1.0347       -.56207E-06** at limit **
  16  norm          .10000E-03    3.3424       -.70552E-07** at limit **
  17  norm          1.5000        1.2146        .61033E-07   -.27782E-04
  18  Normalizat    1.1135        .18331       -.26396E-05   -.18674E-03
  19  Prefactor     .91493        .10565        .10474E-05    .34282E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.6009
  norm       = 8.73025
  Prefactor  = 2.77645
  Prefactor  = 2.90171
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.5688
  Prefactor  = 43.0897
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.35573
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.5
  Normalizat = 1.1135
  Prefactor  = 0.91493
 **********
 **   18 **HESSE 
 **********

 FCN=   7313.731     FROM HESSE     STATUS=OK           266 CALLS     2129 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.601        10.191        .10482E-03   -1.4944    
   2  norm          8.7302        3.8156        .10309E-03   -1.5117    
   3  Prefactor     2.7764        4.3619        .10666E-02   -1.5375    
   4  Prefactor     2.9017        13.190        .23847E-03   -1.5367    
   5  Prefactor     .10000E-03    3.5896        .15781E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.7957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.569        44.392        .65397E-04   -1.4481    
   9  Prefactor     43.090        37.758        .61077E-04   -1.4394    
  10  Prefactor     .10000E-03    10.759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.8611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.3557        6.2698        .96513E-03   -1.5291    
  13  norm          .10000E-03    1.2342        .92553E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    11.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.5340        .16584E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.3540        .15269E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.5000        1.2014        .81340E-04   -1.5463    
  18  Normalizat    1.1135        .21755        .28416E-03   -.89319    
  19  Prefactor     .91493        .12781        .18760E-03   -.95621    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04964e-09
Minuit parameter uncertainties:
  1  10.1927
  2  3.81575
  3  4.36235
  4  12.3774
  5  2.18545e-06
  6  8.5037e-05
  7  9.85236e-05
  8  44.4313
  9  37.7785
  10  3.60937e-05
  11  8.79776e-06
  12  6.27073
  13  1.2104e-05
  14  9.32645e-05
  15  2.17152e-06
  16  6.07767e-06
  17  1.20142
  18  0.217723
  19  0.127854
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  3.609e-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:  9.149e-01  1.279e-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.114e+00  2.177e-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: 4.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.48e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/375492/likelihoodResults_523929601_524188801_4FGL_J0937.9-1434_daily_bin1098.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) = 7313.73116703
delta logL = -0.000442730841314

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7313.7307243
delta logL = 3.24871507473e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9668       1.0000          .0000       10.000    
     3 'Normalizat'    1.1135       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91493       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=   7313.731     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      246 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10228E-03    .91019        .18142E-01** at limit **
   2  Index         1.8435        5.5355        .50000        .73377E-05
   3  Normalizat    1.1135        .13399E-02    .28417E-03   -.44008E-06
   4  Prefactor     .91493        .81503E-03    .18760E-03    .48481E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102282
  Index      = 1.84349
  Normalizat = 1.11351
  Prefactor  = 0.914927
 **********
 **   18 **HESSE 
 **********

 FCN=   7313.731     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      275 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10228E-03    91.226        .28277E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8435        8.9596        .50000       -.68323    
   3  Normalizat    1.1135        .13534E-01    .11367E-04   -.89319    
   4  Prefactor     .91493        .82317E-02    .75039E-05   -.95621    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.80329e-07
Minuit parameter uncertainties:
  1  0.0289019
  2  988.993
  3  0.0135338
  4  0.00823171
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/375492': 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) = 7313.73072411
delta logL = 1.9158142095e-07

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.023e-04  2.890e-02  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  1.843e+00  9.890e+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:  9.149e-01  8.232e-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:  1.114e+00  1.353e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/375492/cmap_HighResolution_523929601_524188801_4FGL_J0937.9-1434_daily_bin1098.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.48e-03', job_status='DONE', photon_flux_upper_limit='4.65e-08', time_completed='2021-08-31 19:42:57.382414', job_id='375492', GAL2='0.91', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1630464177.38', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.92e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1098' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:42:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 375492: <4FGL_J0937.9-1434_daily_bin1098> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin1098> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 19:31:22 2021
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 19:31:23 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:31:23 2021
Terminated at Tue Aug 31 19:42:58 2021
Results reported at Tue Aug 31 19:42:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1098 144.475 -14.5706 523929601 524188801 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 :                                   604.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             282.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   694 sec.
    Turnaround time :                            696 sec.

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

