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


Performing analysis on: 4FGL_J1512.2+0202_daily_bin1017
RA = 228.07, Dec = 2.0403
tmin = 502934401, tmax = 503193601
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='225591', job_status='RUN', time_executed='2021-09-11 09:48:23.526522', time_epoch_executed='1631378903.53' WHERE source_name='4FGL J1512.2+0202' and cadence='daily' and bin_id='1017'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/225591

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/225591/ft1_4FGL_J1512.2+0202_daily_bin1017.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/225591/ft2_4FGL_J1512.2+0202_daily_bin1017.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/225591/ft1_4FGL_J1512.2+0202_daily_bin1017.fits outfile=/scratch/kocevski/225591/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin1017.fits ra=228.07 dec=2.0403 rad=12.0 tmin=502934401.0 tmax=503193601.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.60
user 3.35
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/225591/ft2_4FGL_J1512.2+0202_daily_bin1017.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/225591/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin1017.fits evtable="EVENTS" outfile="/scratch/kocevski/225591/ft1_filtered_4FGL_J1512.2+0202_daily_bin1017.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.49
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/225591/ft1_filtered_4FGL_J1512.2+0202_daily_bin1017.fits" evtable="EVENTS" scfile=/scratch/kocevski/225591/ft2_4FGL_J1512.2+0202_daily_bin1017.fits sctable="SC_DATA" outfile=/scratch/kocevski/225591/ltcube_502934401_503193601_4FGL_J1512.2+0202_daily_bin1017.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/225591/ft2_4FGL_J1512.2+0202_daily_bin1017.fits
.....................!
real 11.68
user 11.33
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/225591/ft1_filtered_4FGL_J1512.2+0202_daily_bin1017.fits evtable="EVENTS" scfile=/scratch/kocevski/225591/ft2_4FGL_J1512.2+0202_daily_bin1017.fits sctable="SC_DATA" expcube=/scratch/kocevski/225591/ltcube_502934401_503193601_4FGL_J1512.2+0202_daily_bin1017.fits outfile=/scratch/kocevski/225591/expmap_502934401_503193601_4FGL_J1512.2+0202_daily_bin1017.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/225591/ltcube_502934401_503193601_4FGL_J1512.2+0202_daily_bin1017.fits
.....................!
real 191.49
user 186.70
sys 4.43

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/225591/ft1_filtered_4FGL_J1512.2+0202_daily_bin1017.fits scfile=/scratch/kocevski/225591/ft2_4FGL_J1512.2+0202_daily_bin1017.fits outfile=/scratch/kocevski/225591/cmap_502934401_503193601_4FGL_J1512.2+0202_daily_bin1017.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/225591/ft1_filtered_4FGL_J1512.2+0202_daily_bin1017.fits scfile=/scratch/kocevski/225591/ft2_4FGL_J1512.2+0202_daily_bin1017.fits outfile=/scratch/kocevski/225591/cmap_HighResolution_502934401_503193601_4FGL_J1512.2+0202_daily_bin1017.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.55
user 0.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/225591/ft1_filtered_4FGL_J1512.2+0202_daily_bin1017.fits', '/scratch/kocevski/225591/ft2_4FGL_J1512.2+0202_daily_bin1017.fits', expMap='/scratch/kocevski/225591/expmap_502934401_503193601_4FGL_J1512.2+0202_daily_bin1017.fits', expCube='/scratch/kocevski/225591/ltcube_502934401_503193601_4FGL_J1512.2+0202_daily_bin1017.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/225591/Model_4FGL_J1512.2+0202_daily_bin1017.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/225591/ft1_filtered_4FGL_J1512.2+0202_daily_bin1017.fits
Spacecraft file(s): /scratch/kocevski/225591/ft2_4FGL_J1512.2+0202_daily_bin1017.fits
Exposure map: /scratch/kocevski/225591/expmap_502934401_503193601_4FGL_J1512.2+0202_daily_bin1017.fits
Exposure cube: /scratch/kocevski/225591/ltcube_502934401_503193601_4FGL_J1512.2+0202_daily_bin1017.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/225591/Model_4FGL_J1512.2+0202_daily_bin1017.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) = 9997.61510274

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11567E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    13.134       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.5257       1.0000         .10000E-03   10000.    
     6 'norm      '    1.4171       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.0006       1.0000         .10000E-03   10000.    
     9 'norm      '    1.1952       1.0000         .10000E-03   10000.    
    10 'norm      '    .26862       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .21831E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.0172       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.326       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.5931       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0181       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1456       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=   9997.566     FROM MIGRAD    STATUS=CONVERGED    387 CALLS     1658 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10007E-03    26.905        .90712E-02** at limit **
   2  Prefactor     .10000E-03    17.360        .90712E-02** at limit **
   3  norm          13.129        15.345        .27632E-02    .90083E-03
   4  Prefactor     .10000E-03    5.3705        .90712E-02** at limit **
   5  norm          2.5257        .33501        .45566E-02    .12194E-05
   6  norm          1.4170        2.3612        .90898E-02    .15012E-02
   7  norm          .10000E-03    2.3969        .90712E-02** at limit **
   8  norm          2.0007        2.7564        .73203E-02    .53504E-03
   9  norm          1.1956        3.0782        .10399E-01    .14507E-02
  10  norm          .26865        .93748E-01    .37752E-02    .70981E-03
  11  Prefactor     .10001E-03    3.3871        .90712E-01** at limit **
  12  Prefactor     .10013E-03    23.988        .90712E-02** at limit **
  13  Prefactor     8.0171        5.4666        .35401E-02    .88890E-03
  14  Prefactor     12.325        19.187        .28525E-02    .36129E-03
  15  Prefactor     .10000E-03    14.589        .90712E-02** at limit **
  16  Prefactor     .10000E-03    2.6563        .90712E-02** at limit **
  17  norm          2.5927        2.9366        .63346E-02    .27647E-03
  18  Normalizat    1.0182        .23237        .97035E-01    .32563E-04
  19  Prefactor     1.1455        .10265        .36066E-01   -.45096E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100074
  Prefactor  = 0.000100004
  norm       = 13.129
  Prefactor  = 0.0001
  norm       = 2.52567
  norm       = 1.41697
  norm       = 0.0001
  norm       = 2.00069
  norm       = 1.19558
  norm       = 0.268648
  Prefactor  = 0.000100007
  Prefactor  = 0.000100127
  Prefactor  = 8.01712
  Prefactor  = 12.3251
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 2.59275
  Normalizat = 1.01818
  Prefactor  = 1.14554
 **********
 **   18 **HESSE 
 **********

 FCN=   9997.566     FROM HESSE     STATUS=OK           268 CALLS     1926 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10007E-03    26.920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    17.367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          13.129        15.344        .11053E-03   -1.4983    
   4  Prefactor     .10000E-03    5.3724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.5257        .33605        .20138E-04   -1.5390    
   6  norm          1.4170        2.3244        .18394E-03   -1.5470    
   7  norm          .10000E-03    2.4017        .15118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0007        2.7376        .18833E-03   -1.5425    
   9  norm          1.1956        3.0245        .26819E-03   -1.5489    
  10  norm          .26865        .89848E-01    .16778E-04   -1.5604    
  11  Prefactor     .10001E-03    16.943        .34389E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10013E-03    24.076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.0171        5.4628        .14160E-03   -1.5142    
  14  Prefactor     12.325        19.172        .11410E-03   -1.5006    
  15  Prefactor     .10000E-03    14.591        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.7484        .31798E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.5927        2.9279        .17626E-03   -1.5386    
  18  Normalizat    1.0182        .25944        .42990E-03   -.92424    
  19  Prefactor     1.1455        .11569        .18474E-03   -.88024    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07973e-08
Minuit parameter uncertainties:
  1  0.00283138
  2  0.00049955
  3  15.349
  4  3.79902e-07
  5  0.336055
  6  2.3245
  7  3.59797e-07
  8  2.73777
  9  3.0249
  10  0.0898476
  11  0.000696381
  12  0.00349721
  13  5.46312
  14  19.1812
  15  0.00039838
  16  1.11846e-06
  17  2.92805
  18  0.259759
  19  0.115716
Done.

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

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  1.196e+00  3.025e+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

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  1.146e+00  1.157e-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.018e+00  2.598e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/225591/likelihoodResults_502934401_503193601_4FGL_J1512.2+0202_daily_bin1017.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) = 9997.4545438
delta logL = 0.111603419318

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9997.4509371
delta logL = 0.115210114313

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3966       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5260       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0099       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1455       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=   9997.451     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      208 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3954        90.565        .91843E-02    .13450E-02
   2  alpha         2.5291        2.8824        .41155        .55639E-04
   3  Normalizat    1.0098        .65930E-01    .97386E-01    .16481E-04
   4  Prefactor     1.1456        .29023E-01    .36067E-01   -.53904E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.39535
  alpha      = 2.52913
  Normalizat = 1.0098
  Prefactor  = 1.14561
 **********
 **   18 **HESSE 
 **********

 FCN=   9997.451     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3954        2.7831        .19531E-03   -1.5472    
   2  alpha         2.5291        1.1031        .29227E-01    .11652E-01
   3  Normalizat    1.0098        .25187        .43144E-03   -.92703    
   4  Prefactor     1.1456        .11461        .18470E-03   -.88022    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05227e-08
Minuit parameter uncertainties:
  1  2.7834
  2  1.14243
  3  0.252164
  4  0.114632
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/225591': 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) = 9997.45093219
delta logL = 0.115215031772

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  1.395e+00  2.783e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        alpha:  2.529e+00  1.142e+00  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:  1.146e+00  1.146e-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.010e+00  2.522e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.19
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/225591/cmap_HighResolution_502934401_503193601_4FGL_J1512.2+0202_daily_bin1017.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.08e-05', job_status='DONE', photon_flux_upper_limit='6.53e-08', time_completed='2021-09-11 09:59:13.664088', job_id='225591', GAL2='1.15', fit_tolerance='1e-08', EG2='1.01', EG='1.02', time_epoch_completed='1631379553.66', return_code2='0', ts='0.19', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='1.15e-01', ts2='0.42', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1017' AND source_name='4FGL J1512.2+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 09:59:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0022>
Subject: Job 225591: <4FGL_J1512.2+0202_daily_bin1017> in cluster <slac> Done

Job <4FGL_J1512.2+0202_daily_bin1017> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep 11 09:46:17 2021
Job was executed on host(s) <bullet0022>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 09:46:18 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:46:18 2021
Terminated at Sat Sep 11 09:59:14 2021
Results reported at Sat Sep 11 09:59:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1512.2+0202_daily_bin1017 228.07 2.0403 502934401 503193601 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 :                                   640.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             318.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   775 sec.
    Turnaround time :                            777 sec.

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

