/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 112 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 = 7245
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1512.2+0202_daily_bin198
RA = 228.07, Dec = 2.0403
tmin = 290649601, tmax = 290908801
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='220865', job_status='RUN', time_executed='2021-09-11 09:33:45.921358', time_epoch_executed='1631378025.92' WHERE source_name='4FGL J1512.2+0202' and cadence='daily' and bin_id='198'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/220865

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/220865/ft1_4FGL_J1512.2+0202_daily_bin198.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/220865/ft2_4FGL_J1512.2+0202_daily_bin198.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/220865/ft1_4FGL_J1512.2+0202_daily_bin198.fits outfile=/scratch/kocevski/220865/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin198.fits ra=228.07 dec=2.0403 rad=12.0 tmin=290649601.0 tmax=290908801.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.35
user 3.13
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/220865/ft2_4FGL_J1512.2+0202_daily_bin198.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/220865/ft2_4FGL_J1512.2+0202_daily_bin198.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/220865/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin198.fits evtable="EVENTS" outfile="/scratch/kocevski/220865/ft1_filtered_4FGL_J1512.2+0202_daily_bin198.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/220865/ft1_filtered_4FGL_J1512.2+0202_daily_bin198.fits" evtable="EVENTS" scfile=/scratch/kocevski/220865/ft2_4FGL_J1512.2+0202_daily_bin198.fits sctable="SC_DATA" outfile=/scratch/kocevski/220865/ltcube_290649601_290908801_4FGL_J1512.2+0202_daily_bin198.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/220865/ft2_4FGL_J1512.2+0202_daily_bin198.fits
.....................!
real 11.65
user 11.28
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/220865/ft1_filtered_4FGL_J1512.2+0202_daily_bin198.fits evtable="EVENTS" scfile=/scratch/kocevski/220865/ft2_4FGL_J1512.2+0202_daily_bin198.fits sctable="SC_DATA" expcube=/scratch/kocevski/220865/ltcube_290649601_290908801_4FGL_J1512.2+0202_daily_bin198.fits outfile=/scratch/kocevski/220865/expmap_290649601_290908801_4FGL_J1512.2+0202_daily_bin198.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/220865/ltcube_290649601_290908801_4FGL_J1512.2+0202_daily_bin198.fits
.....................!
real 190.63
user 184.91
sys 5.38

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

Setting source of interest to:
4FGL J1512.2+0202 @ 228.07 2.0403

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/220865/ft1_filtered_4FGL_J1512.2+0202_daily_bin198.fits scfile=/scratch/kocevski/220865/ft2_4FGL_J1512.2+0202_daily_bin198.fits outfile=/scratch/kocevski/220865/cmap_290649601_290908801_4FGL_J1512.2+0202_daily_bin198.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=228.07 yref=2.0403 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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/220865/ft1_filtered_4FGL_J1512.2+0202_daily_bin198.fits scfile=/scratch/kocevski/220865/ft2_4FGL_J1512.2+0202_daily_bin198.fits outfile=/scratch/kocevski/220865/cmap_HighResolution_290649601_290908801_4FGL_J1512.2+0202_daily_bin198.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=228.07 yref=2.0403 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/220865/ft1_filtered_4FGL_J1512.2+0202_daily_bin198.fits evtable="EVENTS" scfile=/scratch/kocevski/220865/ft2_4FGL_J1512.2+0202_daily_bin198.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/220865/Model_4FGL_J1512.2+0202_daily_bin198.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/220865/ft1_filtered_4FGL_J1512.2+0202_daily_bin198.fits.....................!
real 65.72
user 64.38
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/220865/ft1_filtered_4FGL_J1512.2+0202_daily_bin198.fits', '/scratch/kocevski/220865/ft2_4FGL_J1512.2+0202_daily_bin198.fits', expMap='/scratch/kocevski/220865/expmap_290649601_290908801_4FGL_J1512.2+0202_daily_bin198.fits', expCube='/scratch/kocevski/220865/ltcube_290649601_290908801_4FGL_J1512.2+0202_daily_bin198.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/220865/Model_4FGL_J1512.2+0202_daily_bin198.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1512.2+0202'

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  2.359e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        alpha:  1.968e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
233         beta:  1.575e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
234           Eb:  1.032e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/220865/ft1_filtered_4FGL_J1512.2+0202_daily_bin198.fits
Spacecraft file(s): /scratch/kocevski/220865/ft2_4FGL_J1512.2+0202_daily_bin198.fits
Exposure map: /scratch/kocevski/220865/expmap_290649601_290908801_4FGL_J1512.2+0202_daily_bin198.fits
Exposure cube: /scratch/kocevski/220865/ltcube_290649601_290908801_4FGL_J1512.2+0202_daily_bin198.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/220865/Model_4FGL_J1512.2+0202_daily_bin198.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) = 8048.98954683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.064       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.423       1.0000         .10000E-03   10000.    
     3 'norm      '    .10087E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.349       1.0000         .10000E-03   10000.    
     5 'norm      '    .24444       1.0000         .10000E-03   10000.    
     6 'norm      '    1.3634       1.0000         .10000E-03   10000.    
     7 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    8.3027       1.0000         .10000E-03   10000.    
     9 'norm      '    .10057E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.4040       1.0000         .10000E-03   10000.    
    11 'Prefactor '    37.790       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .31050       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .16841E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.6166       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.5139       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .86323       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8048.972     FROM MIGRAD    STATUS=CONVERGED    383 CALLS     2170 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.115        73.242        .21899E-05    .34452E-04
   2  Prefactor     10.427        25.384        .13956E-06    .56261E-05
   3  norm          .10000E-03    11.687        .86246E-06** at limit **
   4  Prefactor     18.358        21.463        .43878E-06    .42222E-04
   5  norm          .24446        .17358        .40445E-07    .51411E-03
   6  norm          1.3637        1.8793        .33044E-06    .24028E-03
   7  norm          .10000E-03    2.2864       -.22416E-07** at limit **
   8  norm          8.3014        7.7723        .45913E-06    .43008E-04
   9  norm          .10000E-03    2.1733       -.15397E-06** at limit **
  10  norm          2.4040        .32727       -.18685E-06   -.30820E-02
  11  Prefactor     37.818        27.624        .34352E-05    .13184E-03
  12  Prefactor     .10000E-03    11.568       -.13868E-06** at limit **
  13  Prefactor     .33781        2.7805        .11673E-05   -.86014E-03
  14  Prefactor     .10000E-03    14.345        .73856E-07** at limit **
  15  Prefactor     .10000E-03    17.836       -.12116E-06** at limit **
  16  Prefactor     .10000E-03    2.6576       -.49758E-06** at limit **
  17  norm          1.6168        2.1802        .99135E-07    .93738E-04
  18  Normalizat    1.5136        .25385       -.34266E-05    .41872E-04
  19  Prefactor     .86335        .10961        .21720E-05   -.63305E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.1153
  Prefactor  = 10.4273
  norm       = 0.0001
  Prefactor  = 18.3576
  norm       = 0.244456
  norm       = 1.36367
  norm       = 0.0001
  norm       = 8.30139
  norm       = 0.0001
  norm       = 2.404
  Prefactor  = 37.818
  Prefactor  = 0.0001
  Prefactor  = 0.337807
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.61677
  Normalizat = 1.5136
  Prefactor  = 0.863353
 **********
 **   18 **HESSE 
 **********

 FCN=   8048.972     FROM HESSE     STATUS=OK           272 CALLS     2442 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.115        73.969        .85273E-04   -1.4767    
   2  Prefactor     10.427        25.348        .12410E-03   -1.5062    
   3  norm          .10000E-03    11.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     18.358        21.504        .93502E-04   -1.4851    
   5  norm          .24446        .16873        .29816E-04   -1.5609    
   6  norm          1.3637        1.8573        .13862E-03   -1.5474    
   7  norm          .10000E-03    2.2888        .13249E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          8.3014        7.7687        .13913E-03   -1.5132    
   9  norm          .10000E-03    2.2445        .25834E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.4040        .33627        .14515E-04   -1.5398    
  11  Prefactor     37.818        28.188        .65197E-04   -1.4477    
  12  Prefactor     .10000E-03    11.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .33781        14.750        .25610E-02   -1.5592    
  14  Prefactor     .10000E-03    14.415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    17.851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.4268        .27892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.6168        2.1617        .14970E-03   -1.5454    
  18  Normalizat    1.5136        .27737        .35317E-03   -.77397    
  19  Prefactor     .86335        .12047        .20600E-03   -.97434    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.78984e-09
Minuit parameter uncertainties:
  1  74.2782
  2  25.3739
  3  4.53065e-05
  4  21.5132
  5  0.168732
  6  1.8574
  7  1.05231e-06
  8  7.76968
  9  8.21202e-06
  10  0.336274
  11  28.1974
  12  2.52447e-05
  13  4.46489
  14  5.65338e-05
  15  4.68765e-05
  16  1.048e-05
  17  2.16182
  18  0.277647
  19  0.120509
Done.

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

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  1.000e-04  8.212e-06  1.000e-04  1.000e+04 ( 1.000e-12)
232        alpha:  1.968e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
233         beta:  1.575e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
234           Eb:  1.032e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  8.634e-01  1.205e-01  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  1.514e+00  2.776e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 228.070 2.040
Photon Flux Upper Limit: 5.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.15e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/220865/likelihoodResults_290649601_290908801_4FGL_J1512.2+0202_daily_bin198.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) = 8048.97447303
delta logL = -0.00212198567624

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8048.97235152
delta logL = -4.77847606817e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9687       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5138       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86328       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8048.972     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      195 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    30.746        .90712E-02** at limit **
   2  alpha         1.9690        3.1594        .42392       -.58638E-06
   3  Normalizat    1.5136        .24571E-01    .79801E-01    .16384E-04
   4  Prefactor     .86335        .11268E-01    .44535E-01    .15755E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.96897
  Normalizat = 1.5136
  Prefactor  = 0.863354
 **********
 **   18 **HESSE 
 **********

 FCN=   8048.972     FROM HESSE     STATUS=OK            31 CALLS      226 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.4756        .25834E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9690        3.0563        .16957       -.21404    
   3  Normalizat    1.5136        .25836        .35318E-03   -.77397    
   4  Prefactor     .86335        .11868        .20600E-03   -.97434    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34271e-09
Minuit parameter uncertainties:
  1  7.78859e-06
  2  145.871
  3  0.25859
  4  0.118711
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/220865': 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) = 8048.97235104
delta logL = 1.46428646985e-10

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  1.000e-04  7.789e-06  1.000e-04  1.000e+04 ( 1.000e-12)
232        alpha:  1.969e+00  1.459e+02  0.000e+00  5.000e+00 ( 1.000e+00)
233         beta:  1.575e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
234           Eb:  1.032e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  8.634e-01  1.187e-01  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  1.514e+00  2.586e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 228.070 2.040

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/220865/cmap_HighResolution_290649601_290908801_4FGL_J1512.2+0202_daily_bin198.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.15e-05', job_status='DONE', photon_flux_upper_limit='5.04e-08', time_completed='2021-09-11 09:44:19.445977', job_id='220865', GAL2='0.86', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1631378659.45', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='1.46e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='198' AND source_name='4FGL J1512.2+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 09:44:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 220865: <4FGL_J1512.2+0202_daily_bin198> in cluster <slac> Done

Job <4FGL_J1512.2+0202_daily_bin198> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 11 09:31:44 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 09:31:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 11 09:31:45 2021
Terminated at Sat Sep 11 09:44:20 2021
Results reported at Sat Sep 11 09:44:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1512.2+0202_daily_bin198 228.07 2.0403 290649601 290908801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1512.2+0202 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   631.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             308.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            756 sec.

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

