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


Performing analysis on: 4FGL_J1512.2+0202_daily_bin253
RA = 228.07, Dec = 2.0403
tmin = 304905601, tmax = 305164801
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='222114', job_status='RUN', time_executed='2021-09-11 09:36:20.918646', time_epoch_executed='1631378180.92' WHERE source_name='4FGL J1512.2+0202' and cadence='daily' and bin_id='253'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/222114

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/222114/ft1_4FGL_J1512.2+0202_daily_bin253.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/222114/ft2_4FGL_J1512.2+0202_daily_bin253.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/222114/ft1_4FGL_J1512.2+0202_daily_bin253.fits outfile=/scratch/kocevski/222114/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin253.fits ra=228.07 dec=2.0403 rad=12.0 tmin=304905601.0 tmax=305164801.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.53
user 3.27
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/222114/ft2_4FGL_J1512.2+0202_daily_bin253.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/222114/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin253.fits evtable="EVENTS" outfile="/scratch/kocevski/222114/ft1_filtered_4FGL_J1512.2+0202_daily_bin253.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.51
user 0.33
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/222114/ft1_filtered_4FGL_J1512.2+0202_daily_bin253.fits evtable="EVENTS" scfile=/scratch/kocevski/222114/ft2_4FGL_J1512.2+0202_daily_bin253.fits sctable="SC_DATA" expcube=/scratch/kocevski/222114/ltcube_304905601_305164801_4FGL_J1512.2+0202_daily_bin253.fits outfile=/scratch/kocevski/222114/expmap_304905601_305164801_4FGL_J1512.2+0202_daily_bin253.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/222114/ltcube_304905601_305164801_4FGL_J1512.2+0202_daily_bin253.fits
.....................!
real 190.54
user 186.08
sys 4.09

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/222114/ft1_filtered_4FGL_J1512.2+0202_daily_bin253.fits scfile=/scratch/kocevski/222114/ft2_4FGL_J1512.2+0202_daily_bin253.fits outfile=/scratch/kocevski/222114/cmap_304905601_305164801_4FGL_J1512.2+0202_daily_bin253.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/222114/ft1_filtered_4FGL_J1512.2+0202_daily_bin253.fits scfile=/scratch/kocevski/222114/ft2_4FGL_J1512.2+0202_daily_bin253.fits outfile=/scratch/kocevski/222114/cmap_HighResolution_304905601_305164801_4FGL_J1512.2+0202_daily_bin253.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.059       1.0000         .10000E-03   10000.    
     3 'norm      '    .61155       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .36257       1.0000         .10000E-03   10000.    
     6 'norm      '    .91603       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.6546       1.0000         .10000E-03   10000.    
     9 'norm      '    6.2732       1.0000         .10000E-03   10000.    
    10 'norm      '    .66609       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    30.154       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.5807       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.574       1.0000         .10000E-03   10000.    
    15 'Prefactor '    22.749       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .46499E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    3.1025       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1569       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .96382       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8587.932     FROM MIGRAD    STATUS=CONVERGED     90 CALLS     1607 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 15.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    44.835        .40043E-04** at limit **
   2  Prefactor     14.131        26.281        .22493E-04   -.11765E-02
   3  norm          .53246        53.394       -.81473E-04   -.52235E-03
   4  Prefactor     .10000E-03    18.114       -.19543E-05** at limit **
   5  norm          .36259        .16755        .34167E-07   -.10227E-02
   6  norm          .91649        1.3666        .17219E-06   -.11451E-03
   7  norm          .10000E-03    1.4857       -.94964E-06** at limit **
   8  norm          3.6549        3.9981        .16440E-05   -.25579E-03
   9  norm          6.2733        3.5088       -.21540E-07   -.23058E-03
  10  norm          .66611        .13435       -.72074E-07   -.64020E-02
  11  Prefactor     .10000E-03    24.237        .94899E-05** at limit **
  12  Prefactor     30.156        1.0625        .35529E-06   -.22520E-03
  13  Prefactor     4.5795        4.2454       -.91689E-07   -.14171E-03
  14  Prefactor     14.566        2.2815       -.14430E-05   -.35737E-03
  15  Prefactor     22.750        1.0151        .14045E-06   -.74408E-05
  16  Prefactor     .10006E-03    34.720       -.53060E-04** at limit **
  17  norm          3.1018        3.9576        .18679E-05   -.17731E-04
  18  Normalizat    1.1569        .24867       -.63735E-05   -.52619E-03
  19  Prefactor     .96380        .11382        .64680E-06   -.82057E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100014
  Prefactor  = 14.131
  norm       = 0.532465
  Prefactor  = 0.000100001
  norm       = 0.362587
  norm       = 0.916489
  norm       = 0.0001
  norm       = 3.6549
  norm       = 6.27327
  norm       = 0.666108
  Prefactor  = 0.0001
  Prefactor  = 30.1556
  Prefactor  = 4.57947
  Prefactor  = 14.5661
  Prefactor  = 22.7496
  Prefactor  = 0.000100063
  norm       = 3.10178
  Normalizat = 1.15689
  Prefactor  = 0.963795
 **********
 **   18 **HESSE 
 **********

 FCN=   8587.932     FROM HESSE     STATUS=OK           326 CALLS     1933 TOTAL
                     EDM=   .76E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    46.251        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.131        24.617        .26705E-02   -1.4956    
   3  norm          .53246        10.313        .11718       -1.5562    
   4  Prefactor     .10000E-03    17.996        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .36259        .16846        .55672E-02   -1.5588    
   6  norm          .91649        1.6504        .30104E-01   -1.5517    
   7  norm          .10000E-03    1.4857        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.6549        4.0075        .52826E-02   -1.5326    
   9  norm          6.2733        3.5195        .40067E-02   -1.5207    
  10  norm          .66611        .13532        .32965E-02   -1.5545    
  11  Prefactor     .10000E-03    23.869        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     30.156        31.335        .18241E-02   -1.4609    
  13  Prefactor     4.5795        4.2723        .47019E-02   -1.5280    
  14  Prefactor     14.566        25.999        .26229E-02   -1.4944    
  15  Prefactor     22.750        27.712        .20995E-02   -1.4754    
  16  Prefactor     .10006E-03    1.7356        .70186E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.1018        4.0905        .57557E-02   -1.5356    
  18  Normalizat    1.1569        .21798        .81613E-01   -.87946    
  19  Prefactor     .96380        .97876E-01    .45813E-01   -.93946    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.56081e-08
Minuit parameter uncertainties:
  1  0.00162573
  2  24.6348
  3  4.6872
  4  0.000201101
  5  0.168461
  6  1.65045
  7  1.93633e-05
  8  4.00781
  9  3.51963
  10  0.135318
  11  0.000216833
  12  31.3521
  13  4.27255
  14  26.0187
  15  27.7274
  16  0.000662664
  17  4.09089
  18  0.218146
  19  0.0978936
Done.

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

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  6.273e+00  3.520e+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:  9.638e-01  9.789e-02  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.157e+00  2.181e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.75
Ra Dec: 228.070 2.040
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 4.34e-08 +/- 2.43e-08
Energy Flux (Fixed Index): 2.71e-05 +/- 1.52e-05

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) = 8586.52369149
delta logL = 1.40852832193

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8586.41975938
delta logL = 1.51246042788

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4573       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.0545       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1747       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96302       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=   8586.420     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      217 TOTAL
                     EDM=   .72E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.4563        2.7138        .47681E-02   -.17501E-03
   2  alpha         1.0543        .36825        .37073       -.41268E-04
   3  Normalizat    1.1748        .20902        .81100E-01    .19739E-04
   4  Prefactor     .96300        .96713E-01    .45803E-01    .20767E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.45633
  alpha      = 1.05432
  Normalizat = 1.17478
  Prefactor  = 0.963001
 **********
 **   18 **HESSE 
 **********

 FCN=   8586.420     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4563        3.4797        .11214E-03   -1.5286    
   2  alpha         1.0543        .48636        .15838E-01   -.61661    
   3  Normalizat    1.1748        .24336        .35903E-03   -.87386    
   4  Prefactor     .96300        .11286        .18044E-03   -.93973    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58605e-09
Minuit parameter uncertainties:
  1  3.47983
  2  0.491095
  3  0.243595
  4  0.11289
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/222114': 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) = 8586.41975933
delta logL = 1.5124604824

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  4.456e+00  3.480e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        alpha:  1.054e+00  4.911e-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:  9.630e-01  1.129e-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.175e+00  2.436e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.78
Ra Dec: 228.070 2.040
Photon Index (Free Index): 1.05 +/- 0.49
Photon Flux (Free Index): 1.82e-08 +/- 1.32e-08
Energy Flux (Free Index): 7.09e-05 +/- 6.34e-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/222114/cmap_HighResolution_304905601_305164801_4FGL_J1512.2+0202_daily_bin253.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.34e-08', energy_flux2='7.09e-05', photon_flux_error='2.43e-08', dlogl='1.51e+00', energy_flux='2.71e-05', photon_flux2='1.82e-08', job_status='DONE', time_completed='2021-09-11 09:45:32.842421', photon_index_error2='0.49', photon_index2='1.05', ts='11.75', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='6.34e-05', EG='1.16', time_epoch_completed='1631378732.84', return_code='0', job_id='222114', GAL2='0.96', EG2='1.17', return_code2='0', energy_flux_error='1.52e-05', photon_flux_error2='1.32e-08', ts2='14.78', photon_index='1.97' WHERE bin_id='253' AND source_name='4FGL J1512.2+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 09:45:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 222114: <4FGL_J1512.2+0202_daily_bin253> in cluster <slac> Done

Job <4FGL_J1512.2+0202_daily_bin253> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep 11 09:36:04 2021
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 09:36:06 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:36:06 2021
Terminated at Sat Sep 11 09:45:33 2021
Results reported at Sat Sep 11 09:45:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1512.2+0202_daily_bin253 228.07 2.0403 304905601 305164801 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 :                                   546.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             388.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   567 sec.
    Turnaround time :                            569 sec.

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

