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


Performing analysis on: 4FGL_J0930.9-1015_daily_bin1591
RA = 142.74, Dec = -10.2565
tmin = 651715201, tmax = 651974401
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='268684', job_status='RUN', time_executed='2021-08-31 13:41:49.252357', time_epoch_executed='1630442509.25' WHERE source_name='4FGL J0930.9-1015' and cadence='daily' and bin_id='1591'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/268684

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/268684/ft1_4FGL_J0930.9-1015_daily_bin1591.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/268684/ft2_4FGL_J0930.9-1015_daily_bin1591.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/268684/ft1_4FGL_J0930.9-1015_daily_bin1591.fits outfile=/scratch/kocevski/268684/ft1_filteredMKT_4FGL_J0930.9-1015_daily_bin1591.fits ra=142.74 dec=-10.2565 rad=12.0 tmin=651715201.0 tmax=651974401.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.45
user 3.26
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/268684/ft2_4FGL_J0930.9-1015_daily_bin1591.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/268684/ft2_4FGL_J0930.9-1015_daily_bin1591.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/268684/ft1_filteredMKT_4FGL_J0930.9-1015_daily_bin1591.fits evtable="EVENTS" outfile="/scratch/kocevski/268684/ft1_filtered_4FGL_J0930.9-1015_daily_bin1591.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.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/268684/ft1_filtered_4FGL_J0930.9-1015_daily_bin1591.fits" evtable="EVENTS" scfile=/scratch/kocevski/268684/ft2_4FGL_J0930.9-1015_daily_bin1591.fits sctable="SC_DATA" outfile=/scratch/kocevski/268684/ltcube_651715201_651974401_4FGL_J0930.9-1015_daily_bin1591.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/268684/ft2_4FGL_J0930.9-1015_daily_bin1591.fits
.....................!
real 12.97
user 11.33
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/268684/ft1_filtered_4FGL_J0930.9-1015_daily_bin1591.fits evtable="EVENTS" scfile=/scratch/kocevski/268684/ft2_4FGL_J0930.9-1015_daily_bin1591.fits sctable="SC_DATA" expcube=/scratch/kocevski/268684/ltcube_651715201_651974401_4FGL_J0930.9-1015_daily_bin1591.fits outfile=/scratch/kocevski/268684/expmap_651715201_651974401_4FGL_J0930.9-1015_daily_bin1591.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/268684/ltcube_651715201_651974401_4FGL_J0930.9-1015_daily_bin1591.fits
.....................!
real 190.39
user 185.20
sys 4.88

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 164 point sources and 0 extended sources

Setting source of interest to:
4FGL J0930.9-1015 @ 142.74 -10.2565

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/268684/ft1_filtered_4FGL_J0930.9-1015_daily_bin1591.fits scfile=/scratch/kocevski/268684/ft2_4FGL_J0930.9-1015_daily_bin1591.fits outfile=/scratch/kocevski/268684/cmap_651715201_651974401_4FGL_J0930.9-1015_daily_bin1591.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=142.74 yref=-10.2565 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.55
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/268684/ft1_filtered_4FGL_J0930.9-1015_daily_bin1591.fits scfile=/scratch/kocevski/268684/ft2_4FGL_J0930.9-1015_daily_bin1591.fits outfile=/scratch/kocevski/268684/cmap_HighResolution_651715201_651974401_4FGL_J0930.9-1015_daily_bin1591.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=142.74 yref=-10.2565 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/268684/ft1_filtered_4FGL_J0930.9-1015_daily_bin1591.fits evtable="EVENTS" scfile=/scratch/kocevski/268684/ft2_4FGL_J0930.9-1015_daily_bin1591.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/268684/Model_4FGL_J0930.9-1015_daily_bin1591.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/268684/ft1_filtered_4FGL_J0930.9-1015_daily_bin1591.fits.....................!
real 72.04
user 70.79
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/268684/ft1_filtered_4FGL_J0930.9-1015_daily_bin1591.fits', '/scratch/kocevski/268684/ft2_4FGL_J0930.9-1015_daily_bin1591.fits', expMap='/scratch/kocevski/268684/expmap_651715201_651974401_4FGL_J0930.9-1015_daily_bin1591.fits', expCube='/scratch/kocevski/268684/ltcube_651715201_651974401_4FGL_J0930.9-1015_daily_bin1591.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/268684/Model_4FGL_J0930.9-1015_daily_bin1591.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0930.9-1015'

4FGL J0930.9-1015
   Spectrum: PowerLaw
258    Prefactor:  5.847e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
259        Index:  2.457e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
260        Scale:  8.329e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/268684/ft1_filtered_4FGL_J0930.9-1015_daily_bin1591.fits
Spacecraft file(s): /scratch/kocevski/268684/ft2_4FGL_J0930.9-1015_daily_bin1591.fits
Exposure map: /scratch/kocevski/268684/expmap_651715201_651974401_4FGL_J0930.9-1015_daily_bin1591.fits
Exposure cube: /scratch/kocevski/268684/ltcube_651715201_651974401_4FGL_J0930.9-1015_daily_bin1591.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/268684/Model_4FGL_J0930.9-1015_daily_bin1591.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) = 6975.47751628

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10910E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.7260       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .23283E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.3905       1.0000         .10000E-03   10000.    
     6 'norm      '    6.0019       1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.344       1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.133       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.7266       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    12.384       1.0000         .10000E-03   10000.    
    15 'norm      '    .13101       1.0000         .10000E-03   10000.    
    16 'norm      '    .50592       1.0000         .10000E-03   10000.    
    17 'norm      '    .94877       1.0000         .10000E-03   10000.    
    18 'norm      '    6.2677       1.0000         .10000E-03   10000.    
    19 'Prefactor '    30.697       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .66577       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1397       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6975.476     FROM MIGRAD    STATUS=CONVERGED    463 CALLS     2228 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    90.135         .0000    ** at limit **
   2  norm          5.7237        5.3916         .0000        .31261E-03
   3  norm          .10000E-03    1.0213         .0000    ** at limit **
   4  Prefactor     .10000E-03    4.3987         .0000    ** at limit **
   5  Prefactor     5.3897        5.4985         .0000        .38672E-02
   6  norm          6.0022        4.8685         .0000        .18731E-02
   7  Prefactor     25.342        17.542         .0000       -.22073E-03
   8  Prefactor     27.136        31.740         .0000       -.62961E-03
   9  Prefactor     .10000E-03    27.106         .0000    ** at limit **
  10  Prefactor     2.7231        20.713         .0000        .25528E-02
  11  Prefactor     .10000E-03    14.457         .0000    ** at limit **
  12  Prefactor     .10000E-03    9.2661         .0000    ** at limit **
  13  Prefactor     .10000E-03    5.0463         .0000    ** at limit **
  14  norm          12.385        6.7745         .0000       -.49902E-03
  15  norm          .12679        1.7227         .0000        .48852E-03
  16  norm          .50624        .59986         .0000        .88702E-03
  17  norm          .94922        1.8194         .0000        .11692E-02
  18  norm          6.2684        6.4752         .0000        .73157E-03
  19  Prefactor     30.698        31.313         .0000       -.31846E-03
  20  Normalizat    .66572        .18733         .0000        .54457E-04
  21  Prefactor     1.1396        .12652         .0000        .32749E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 5.72367
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.3897
  norm       = 6.00219
  Prefactor  = 25.3417
  Prefactor  = 27.136
  Prefactor  = 0.0001
  Prefactor  = 2.72314
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.3849
  norm       = 0.126789
  norm       = 0.506236
  norm       = 0.949216
  norm       = 6.26843
  Prefactor  = 30.698
  Normalizat = 0.665717
  Prefactor  = 1.13965
 **********
 **   18 **HESSE 
 **********

 FCN=   6975.476     FROM HESSE     STATUS=OK           323 CALLS     2551 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    91.975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.7237        5.3834        .16786E-03   -1.5229    
   3  norm          .10000E-03    1.0554        .16477E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    24.097        .33988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.3897        5.4937        .86542E-03   -1.5244    
   6  norm          6.0022        4.8667        .80360E-03   -1.5218    
   7  Prefactor     25.342        17.582        .79572E-04   -1.4701    
   8  Prefactor     27.136        31.739        .76909E-04   -1.4666    
   9  Prefactor     .10000E-03    27.177        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7231        20.555        .12331E-02   -1.5378    
  11  Prefactor     .10000E-03    14.479        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.2701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.0574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          12.385        6.7737        .11383E-03   -1.5004    
  15  norm          .12679        16.210        .20994E-02   -1.5637    
  16  norm          .50624        .56304        .66922E-03   -1.5566    
  17  norm          .94922        1.7738        .14876E-03   -1.5513    
  18  norm          6.2684        6.4723        .16034E-03   -1.5207    
  19  Prefactor     30.698        31.321        .72317E-04   -1.4599    
  20  Normalizat    .66572        .21367        .32534E-03   -1.0526    
  21  Prefactor     1.1396        .14588        .17896E-03   -.88209    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89516e-09
Minuit parameter uncertainties:
  1  8.42077e-06
  2  5.38383
  3  2.53184e-07
  4  3.94874e-05
  5  5.49418
  6  4.86704
  7  17.5858
  8  31.7589
  9  2.75706e-05
  10  14.9699
  11  3.51546e-06
  12  4.57248e-06
  13  1.94918e-06
  14  6.77408
  15  2.8669
  16  0.563042
  17  1.77393
  18  6.47298
  19  31.3376
  20  0.21394
  21  0.145936
Done.

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

Extracting fit parameters...

4FGL J0930.9-1015
   Spectrum: PowerLaw
258    Prefactor:  1.000e-04  3.515e-06  1.000e-04  1.000e+04 ( 1.000e-13)
259        Index:  2.457e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
260        Scale:  8.329e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.140e+00  1.459e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  6.657e-01  2.139e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 142.740 -10.257
Photon Flux Upper Limit: 6.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/268684/likelihoodResults_651715201_651974401_4FGL_J0930.9-1015_daily_bin1591.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) = 6975.47596297
delta logL = -0.000329098251314

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6975.47563692
delta logL = -3.04777950078e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13296E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4391       1.0000          .0000       10.000    
     3 'Normalizat'    .66532       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1399       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+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=   6975.476     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      247 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10261E-03    20.992        .18142E-01** at limit **
   2  Index         2.3325        7.7891        .50000        .73600E-05
   3  Normalizat    .66572        .51195E-02    .32534E-03    .19953E-04
   4  Prefactor     1.1396        .36248E-02    .17896E-03    .26935E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102607
  Index      = 2.33253
  Normalizat = 0.665717
  Prefactor  = 1.13965
 **********
 **   18 **HESSE 
 **********

 FCN=   6975.476     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      276 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10261E-03    181.54        .32168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3325        5.5582        .50000       -.56273    
   3  Normalizat    .66572        .15214E-01    .13014E-04   -1.0526    
   4  Prefactor     1.1396        .10772E-01    .71583E-05   -.88209    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.40302e-08
Minuit parameter uncertainties:
  1  0.0436403
  2  742.962
  3  0.0152145
  4  0.0107724
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/268684': 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) = 6975.4756337
delta logL = 1.72229192685e-07

Extracting fit parameters...

4FGL J0930.9-1015
   Spectrum: PowerLaw
258    Prefactor:  1.026e-04  4.364e-02  1.000e-04  1.000e+04 ( 1.000e-13)
259        Index:  2.333e+00  7.430e+02  0.000e+00  1.000e+01 (-1.000e+00)
260        Scale:  8.329e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.140e+00  1.077e-02  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  6.657e-01  1.521e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 142.740 -10.257

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/268684/cmap_HighResolution_651715201_651974401_4FGL_J0930.9-1015_daily_bin1591.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.30e-03', job_status='DONE', photon_flux_upper_limit='6.84e-08', time_completed='2021-08-31 13:52:30.635943', job_id='268684', GAL2='1.14', fit_tolerance='1e-08', EG2='0.67', EG='0.67', time_epoch_completed='1630443150.64', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='1.72e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1591' AND source_name='4FGL J0930.9-1015' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 13:52:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 268684: <4FGL_J0930.9-1015_daily_bin1591> in cluster <slac> Done

Job <4FGL_J0930.9-1015_daily_bin1591> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 13:41:21 2021
Job was executed on host(s) <bullet0194>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 13:41:22 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 13:41:22 2021
Terminated at Tue Aug 31 13:52:31 2021
Results reported at Tue Aug 31 13:52:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0930.9-1015_daily_bin1591 142.74 -10.2565 651715201 651974401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0930.9-1015 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   629.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             327.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   668 sec.
    Turnaround time :                            670 sec.

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

