/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 237 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 = 7393
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1351.3+1115_daily_bin75
RA = 207.843, Dec = 11.2502
tmin = 258768001, tmax = 259027201
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='18938', job_status='RUN', time_executed='2021-09-08 15:36:50.421418', time_epoch_executed='1631140610.42' WHERE source_name='4FGL J1351.3+1115' and cadence='daily' and bin_id='75'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/18938

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/18938/ft1_4FGL_J1351.3+1115_daily_bin75.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/18938/ft2_4FGL_J1351.3+1115_daily_bin75.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/18938/ft1_4FGL_J1351.3+1115_daily_bin75.fits outfile=/scratch/kocevski/18938/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin75.fits ra=207.843 dec=11.2502 rad=12.0 tmin=258768001.0 tmax=259027201.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 1.16
user 0.96
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/18938/ft2_4FGL_J1351.3+1115_daily_bin75.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/18938/ft2_4FGL_J1351.3+1115_daily_bin75.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/18938/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin75.fits evtable="EVENTS" outfile="/scratch/kocevski/18938/ft1_filtered_4FGL_J1351.3+1115_daily_bin75.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.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/18938/ft1_filtered_4FGL_J1351.3+1115_daily_bin75.fits" evtable="EVENTS" scfile=/scratch/kocevski/18938/ft2_4FGL_J1351.3+1115_daily_bin75.fits sctable="SC_DATA" outfile=/scratch/kocevski/18938/ltcube_258768001_259027201_4FGL_J1351.3+1115_daily_bin75.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/18938/ft2_4FGL_J1351.3+1115_daily_bin75.fits
.....................!
real 12.65
user 12.28
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/18938/ft1_filtered_4FGL_J1351.3+1115_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/18938/ft2_4FGL_J1351.3+1115_daily_bin75.fits sctable="SC_DATA" expcube=/scratch/kocevski/18938/ltcube_258768001_259027201_4FGL_J1351.3+1115_daily_bin75.fits outfile=/scratch/kocevski/18938/expmap_258768001_259027201_4FGL_J1351.3+1115_daily_bin75.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/18938/ltcube_258768001_259027201_4FGL_J1351.3+1115_daily_bin75.fits
.....................!
real 193.17
user 187.70
sys 4.79

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

Setting source of interest to:
4FGL J1351.3+1115 @ 207.843 11.2502

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/18938/ft1_filtered_4FGL_J1351.3+1115_daily_bin75.fits scfile=/scratch/kocevski/18938/ft2_4FGL_J1351.3+1115_daily_bin75.fits outfile=/scratch/kocevski/18938/cmap_258768001_259027201_4FGL_J1351.3+1115_daily_bin75.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=207.843 yref=11.2502 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.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/18938/ft1_filtered_4FGL_J1351.3+1115_daily_bin75.fits scfile=/scratch/kocevski/18938/ft2_4FGL_J1351.3+1115_daily_bin75.fits outfile=/scratch/kocevski/18938/cmap_HighResolution_258768001_259027201_4FGL_J1351.3+1115_daily_bin75.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=207.843 yref=11.2502 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.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/18938/ft1_filtered_4FGL_J1351.3+1115_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/18938/ft2_4FGL_J1351.3+1115_daily_bin75.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/18938/Model_4FGL_J1351.3+1115_daily_bin75.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/18938/ft1_filtered_4FGL_J1351.3+1115_daily_bin75.fits.....................!
real 36.47
user 35.05
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/18938/ft1_filtered_4FGL_J1351.3+1115_daily_bin75.fits', '/scratch/kocevski/18938/ft2_4FGL_J1351.3+1115_daily_bin75.fits', expMap='/scratch/kocevski/18938/expmap_258768001_259027201_4FGL_J1351.3+1115_daily_bin75.fits', expCube='/scratch/kocevski/18938/ltcube_258768001_259027201_4FGL_J1351.3+1115_daily_bin75.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/18938/Model_4FGL_J1351.3+1115_daily_bin75.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1351.3+1115'

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.085e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  1.884e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  2.645e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/18938/ft1_filtered_4FGL_J1351.3+1115_daily_bin75.fits
Spacecraft file(s): /scratch/kocevski/18938/ft2_4FGL_J1351.3+1115_daily_bin75.fits
Exposure map: /scratch/kocevski/18938/expmap_258768001_259027201_4FGL_J1351.3+1115_daily_bin75.fits
Exposure cube: /scratch/kocevski/18938/ltcube_258768001_259027201_4FGL_J1351.3+1115_daily_bin75.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/18938/Model_4FGL_J1351.3+1115_daily_bin75.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) = 4189.33141547

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .99687E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11924E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .15871E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    38.298       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.2074       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .79268E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12025E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12955E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    23.033       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.8323       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10201E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0680       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .94440       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4189.322     FROM MIGRAD    STATUS=CONVERGED    354 CALLS     1648 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10257E-03    9.2555       -.12996E-05** at limit **
   2  Prefactor     .10002E-03    44.687       -.30727E-04** at limit **
   3  Prefactor     .10000E-03    20.985        .22991E-05** at limit **
   4  Prefactor     .10217E-03    3.0892        .19033E-05** at limit **
   5  Prefactor     38.296        26.189        .57597E-06   -.97378E-05
   6  Prefactor     3.2060        4.3131       -.93436E-07   -.26137E-03
   7  Prefactor     .10000E-03    4.7362       -.69724E-09** at limit **
   8  Prefactor     .10184E-03    9.1360       -.96827E-06** at limit **
   9  Prefactor     .10000E-03    10.610       -.79022E-07** at limit **
  10  Prefactor     .10000E-03    15.821       -.19278E-05** at limit **
  11  Prefactor     .10000E-03    6.7719       -.93126E-07** at limit **
  12  Prefactor     .10000E-03    13.197        .75077E-06** at limit **
  13  norm          23.062        28.455       -.21085E-05   -.64194E-04
  14  Prefactor     2.8302        6.1907        .17424E-05   -.26787E-03
  15  Prefactor     .10000E-03    2.2963       -.34854E-07** at limit **
  16  Normalizat    1.0668        .22479       -.22804E-06   -.37238E-04
  17  Prefactor     .94520        .17382        .38334E-07   -.36197E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102567
  Prefactor  = 0.000100017
  Prefactor  = 0.0001
  Prefactor  = 0.000102171
  Prefactor  = 38.2956
  Prefactor  = 3.20603
  Prefactor  = 0.0001
  Prefactor  = 0.000101843
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 23.0618
  Prefactor  = 2.83021
  Prefactor  = 0.0001
  Normalizat = 1.06675
  Prefactor  = 0.945202
 **********
 **   18 **HESSE 
 **********

 FCN=   4189.322     FROM HESSE     STATUS=OK           241 CALLS     1889 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10257E-03    19.024        .62036E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10002E-03    45.144        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    20.997        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10217E-03    48.161        .20651E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     38.296        26.214        .64765E-04   -1.4470    
   6  Prefactor     3.2060        4.3046        .15108E-03   -1.5350    
   7  Prefactor     .10000E-03    4.7402        .13757E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10184E-03    21.629        .59162E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    15.889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.7730        .16451E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          23.062        28.488        .83461E-04   -1.4747    
  14  Prefactor     2.8302        6.1072        .22742E-03   -1.5371    
  15  Prefactor     .10000E-03    2.3029        .95770E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0668        .27679        .25234E-03   -.90827    
  17  Prefactor     .94520        .21522        .20731E-03   -.94579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.37139e-08
Minuit parameter uncertainties:
  1  0.0139807
  2  0.00174219
  3  9.21647e-05
  4  0.0204684
  5  26.2216
  6  4.30505
  7  5.10889e-07
  8  0.0126336
  9  9.10841e-06
  10  6.48875e-05
  11  4.18766e-06
  12  3.40303e-05
  13  28.5047
  14  6.10855
  15  4.03604e-06
  16  0.27717
  17  0.21541
Done.

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

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  3.206e+00  4.305e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  1.884e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  2.645e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  9.452e-01  2.154e-01  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  1.067e+00  2.772e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.95
Ra Dec: 207.843 11.250
Photon Flux Upper Limit: 8.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/18938/likelihoodResults_258768001_259027201_4FGL_J1351.3+1115_daily_bin75.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): 0
logL (Free Index) = 4189.1793894
delta logL = 0.142879390519

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4189.17723992
delta logL = 0.145028870532

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9939       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2754       1.0000          .0000       10.000    
     3 'Normalizat'    1.0601       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94612       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+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=   4189.177     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      272 TOTAL
                     EDM=   .98E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9942        4.0558        .10544E-03   -.31539E-03
   2  Index         2.2754        .83255        .60771E-02   -.55533E-04
   3  Normalizat    1.0601        .27308        .25301E-03    .14733E-03
   4  Prefactor     .94613        .21349        .20717E-03    .20036E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.99421
  Index      = 2.27535
  Normalizat = 1.06012
  Prefactor  = 0.946132
 **********
 **   18 **HESSE 
 **********

 FCN=   4189.177     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9942        3.6174        .42174E-05   -1.5426    
   2  Index         2.2754        .74353        .24308E-03   -.57631    
   3  Normalizat    1.0601        .27327        .50601E-04   -.91043    
   4  Prefactor     .94613        .21367        .41434E-04   -.94547    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25926e-10
Minuit parameter uncertainties:
  1  3.61777
  2  0.747479
  3  0.273636
  4  0.213856
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/18938': 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): 0
logL (Free Index) = 4189.17723991
delta logL = 0.145028879368

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.994e+00  3.618e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  2.275e+00  7.475e-01  0.000e+00  1.000e+01 (-1.000e+00)
265        Scale:  2.645e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  9.461e-01  2.139e-01  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  1.060e+00  2.736e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.24
Ra Dec: 207.843 11.250
Photon Index (Free Index): 2.28 +/- 0.75
Photon Flux (Free Index): 2.70e-08 +/- 3.47e-08
Energy Flux (Free Index): 1.06e-05 +/- 1.48e-05

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/18938/cmap_HighResolution_258768001_259027201_4FGL_J1351.3+1115_daily_bin75.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.23e-03', comment='SUCCESS', energy_flux2='1.06e-05', dlogl='1.45e-01', photon_flux2='2.70e-08', job_status='DONE', time_completed='2021-09-08 15:44:07.872219', photon_index_error2='0.75', photon_index2='2.28', ts='0.95', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='8.39e-08', energy_flux_error2='1.48e-05', EG='1.07', time_epoch_completed='1631141047.87', return_code='0', job_id='18938', GAL2='0.95', EG2='1.06', return_code2='0', photon_flux_error2='3.47e-08', ts2='1.24', photon_index='1.88' WHERE bin_id='75' AND source_name='4FGL J1351.3+1115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 15:44:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 18938: <4FGL_J1351.3+1115_daily_bin75> in cluster <slac> Done

Job <4FGL_J1351.3+1115_daily_bin75> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Wed Sep  8 15:31:24 2021
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 15:32:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 15:32:43 2021
Terminated at Wed Sep  8 15:44:08 2021
Results reported at Wed Sep  8 15:44:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_daily_bin75 207.843 11.2502 258768001 259027201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1351.3+1115 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   435.50 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             196.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   685 sec.
    Turnaround time :                            764 sec.

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

