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


Performing analysis on: 4FGL_J1512.2+0202_daily_bin1022
RA = 228.07, Dec = 2.0403
tmin = 504230401, tmax = 504489601
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='225599', job_status='RUN', time_executed='2021-09-11 09:49:05.390793', time_epoch_executed='1631378945.39' WHERE source_name='4FGL J1512.2+0202' and cadence='daily' and bin_id='1022'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/225599

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/225599/ft1_4FGL_J1512.2+0202_daily_bin1022.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/225599/ft2_4FGL_J1512.2+0202_daily_bin1022.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/225599/ft1_4FGL_J1512.2+0202_daily_bin1022.fits outfile=/scratch/kocevski/225599/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin1022.fits ra=228.07 dec=2.0403 rad=12.0 tmin=504230401.0 tmax=504489601.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.62
user 3.40
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/225599/ft1_filtered_4FGL_J1512.2+0202_daily_bin1022.fits" evtable="EVENTS" scfile=/scratch/kocevski/225599/ft2_4FGL_J1512.2+0202_daily_bin1022.fits sctable="SC_DATA" outfile=/scratch/kocevski/225599/ltcube_504230401_504489601_4FGL_J1512.2+0202_daily_bin1022.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/225599/ft2_4FGL_J1512.2+0202_daily_bin1022.fits
.....................!
real 11.67
user 11.30
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/225599/ft1_filtered_4FGL_J1512.2+0202_daily_bin1022.fits evtable="EVENTS" scfile=/scratch/kocevski/225599/ft2_4FGL_J1512.2+0202_daily_bin1022.fits sctable="SC_DATA" expcube=/scratch/kocevski/225599/ltcube_504230401_504489601_4FGL_J1512.2+0202_daily_bin1022.fits outfile=/scratch/kocevski/225599/expmap_504230401_504489601_4FGL_J1512.2+0202_daily_bin1022.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/225599/ltcube_504230401_504489601_4FGL_J1512.2+0202_daily_bin1022.fits
.....................!
real 189.40
user 185.07
sys 4.01

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/225599/ft1_filtered_4FGL_J1512.2+0202_daily_bin1022.fits scfile=/scratch/kocevski/225599/ft2_4FGL_J1512.2+0202_daily_bin1022.fits outfile=/scratch/kocevski/225599/cmap_504230401_504489601_4FGL_J1512.2+0202_daily_bin1022.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/225599/ft1_filtered_4FGL_J1512.2+0202_daily_bin1022.fits scfile=/scratch/kocevski/225599/ft2_4FGL_J1512.2+0202_daily_bin1022.fits outfile=/scratch/kocevski/225599/cmap_HighResolution_504230401_504489601_4FGL_J1512.2+0202_daily_bin1022.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.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.827       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10290E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    12.896       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.291       1.0000         .10000E-03   10000.    
     5 'norm      '    1.5294       1.0000         .10000E-03   10000.    
     6 'norm      '    3.6699       1.0000         .10000E-03   10000.    
     7 'norm      '    1.6354       1.0000         .10000E-03   10000.    
     8 'norm      '    4.6458       1.0000         .10000E-03   10000.    
     9 'norm      '    1.4394       1.0000         .10000E-03   10000.    
    10 'norm      '    .54244       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.2804       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.0838       1.0000         .10000E-03   10000.    
    17 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.3213       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .85543       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=   10163.13     FROM MIGRAD    STATUS=CONVERGED    387 CALLS     1932 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.827        30.950        .29122E-02   -.48822E-04
   2  Prefactor     .10001E-03    37.409        .90712E-02** at limit **
   3  norm          12.884        12.310        .27886E-02   -.72405E-04
   4  Prefactor     14.291        20.379        .26488E-02   -.13225E-03
   5  norm          1.5294        .26690        .46995E-02    .26076E-02
   6  norm          3.6700        2.1578        .52712E-02    .31148E-03
   7  norm          1.6356        4.2660        .82638E-02   -.20002E-02
   8  norm          4.6461        3.5613        .46681E-02    .50361E-02
   9  norm          1.4394        1.4318        .89908E-02   -.10765E-02
  10  norm          .54248        .12777        .31479E-02    .49215E-02
  11  Prefactor     7.2772        11.155        .37163E-02    .24391E-03
  12  Prefactor     .10000E-03    16.959        .90712E-02** at limit **
  13  Prefactor     .10000E-03    1.5517        .90712E-02** at limit **
  14  Prefactor     .10004E-03    30.203        .90712E-02** at limit **
  15  Prefactor     .10000E-03    12.489        .90712E-02** at limit **
  16  Prefactor     6.0831        3.5128        .40694E-02    .19093E-02
  17  norm          .10000E-03    2.6800        .90712E-02** at limit **
  18  Normalizat    1.3212        .20281        .79446E-01    .94813E-04
  19  Prefactor     .85544        .87980E-01    .44434E-01    .43531E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.8269
  Prefactor  = 0.000100012
  norm       = 12.8842
  Prefactor  = 14.2914
  norm       = 1.52938
  norm       = 3.67002
  norm       = 1.63564
  norm       = 4.64613
  norm       = 1.43941
  norm       = 0.542482
  Prefactor  = 7.27716
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010004
  Prefactor  = 0.0001
  Prefactor  = 6.08312
  norm       = 0.0001
  Normalizat = 1.32121
  Prefactor  = 0.855439
 **********
 **   18 **HESSE 
 **********

 FCN=   10163.13     FROM HESSE     STATUS=OK           268 CALLS     2200 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.827        30.960        .11649E-03   -1.5020    
   2  Prefactor     .10001E-03    37.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          12.884        12.284        .11154E-03   -1.4990    
   4  Prefactor     14.291        20.421        .10595E-03   -1.4952    
   5  norm          1.5294        .26748        .20780E-04   -1.5461    
   6  norm          3.6700        2.1586        .10786E-03   -1.5325    
   7  norm          1.6356        4.2217        .32755E-03   -1.5452    
   8  norm          4.6461        3.5578        .15947E-03   -1.5277    
   9  norm          1.4394        1.4488        .11723E-03   -1.5468    
  10  norm          .54248        .13503        .13931E-04   -1.5561    
  11  Prefactor     7.2772        11.790        .14865E-03   -1.5168    
  12  Prefactor     .10000E-03    16.986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.5735        .12258E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10004E-03    30.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.0831        3.5116        .13826E-03   -1.5215    
  17  norm          .10000E-03    2.7637        .32212E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.3212        .23487        .35165E-03   -.82935    
  19  Prefactor     .85544        .10184        .19031E-03   -.97716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.86257e-08
Minuit parameter uncertainties:
  1  31.0018
  2  0.00135457
  3  12.286
  4  20.4313
  5  0.267484
  6  2.15864
  7  4.22249
  8  3.55792
  9  1.44884
  10  0.135025
  11  11.7942
  12  0.000133821
  13  1.00814e-05
  14  0.0021983
  15  0.000106675
  16  3.5117
  17  2.17333e-05
  18  0.235065
  19  0.101861
Done.

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

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  1.439e+00  1.449e+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:  8.554e-01  1.019e-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.321e+00  2.351e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.82
Ra Dec: 228.070 2.040
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 9.96e-09 +/- 1.00e-08
Energy Flux (Fixed Index): 6.22e-06 +/- 6.26e-06

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) = 10162.6418435
delta logL = 0.485563494063

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10162.5976102
delta logL = 0.529796790008

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .99751       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.0041       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3261       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85490       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=   10162.60     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      206 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99751        1.0386        .21445E-01    .99193E-03
   2  alpha         1.0041        .65036        .50000       -.44800E-04
   3  Normalizat    1.3261        .19478        .79324E-01   -.28995E-03
   4  Prefactor     .85490        .87425E-01    .44428E-01   -.61887E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.997512
  alpha      = 1.00407
  Normalizat = 1.32612
  Prefactor  = 0.854896
 **********
 **   18 **HESSE 
 **********

 FCN=   10162.60     FROM HESSE     STATUS=OK            29 CALLS      235 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99751        1.3123        .99330E-04   -1.5508    
   2  alpha         1.0041        .82279        .31580E-02   -.64147    
   3  Normalizat    1.3261        .22441        .35111E-03   -.82790    
   4  Prefactor     .85490        .10087        .19037E-03   -.97735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.51171e-10
Minuit parameter uncertainties:
  1  1.31236
  2  0.847885
  3  0.224571
  4  0.100889
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/225599': 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) = 10162.5976102
delta logL = 0.529796791581

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  9.975e-01  1.312e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        alpha:  1.004e+00  8.479e-01  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.549e-01  1.009e-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.326e+00  2.246e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.88
Ra Dec: 228.070 2.040
Photon Index (Free Index): 1.00 +/- 0.85
Photon Flux (Free Index): 4.13e-09 +/- 4.84e-09
Energy Flux (Free Index): 1.80e-05 +/- 2.96e-05

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/225599/cmap_HighResolution_504230401_504489601_4FGL_J1512.2+0202_daily_bin1022.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.96e-09', energy_flux2='1.80e-05', photon_flux_error='1.00e-08', dlogl='5.30e-01', energy_flux='6.22e-06', photon_flux2='4.13e-09', job_status='DONE', time_completed='2021-09-11 09:59:35.281173', photon_index_error2='0.85', photon_index2='1.00', ts='4.82', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='2.96e-05', EG='1.32', time_epoch_completed='1631379575.28', return_code='0', job_id='225599', GAL2='0.85', EG2='1.33', return_code2='0', energy_flux_error='6.26e-06', photon_flux_error2='4.84e-09', ts2='5.88', photon_index='1.97' WHERE bin_id='1022' AND source_name='4FGL J1512.2+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 09:59:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 225599: <4FGL_J1512.2+0202_daily_bin1022> in cluster <slac> Done

Job <4FGL_J1512.2+0202_daily_bin1022> 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) <bullet0204>, 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:36 2021
Results reported at Sat Sep 11 09:59:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1512.2+0202_daily_bin1022 228.07 2.0403 504230401 504489601 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 :                                   612.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   797 sec.
    Turnaround time :                            799 sec.

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

