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


Performing analysis on: 4FGL_J1512.2+0202_daily_bin102
RA = 228.07, Dec = 2.0403
tmin = 265766401, tmax = 266025601
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='220708', job_status='RUN', time_executed='2021-09-11 09:33:54.434247', time_epoch_executed='1631378034.43' WHERE source_name='4FGL J1512.2+0202' and cadence='daily' and bin_id='102'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/220708

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/220708/ft1_4FGL_J1512.2+0202_daily_bin102.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/220708/ft2_4FGL_J1512.2+0202_daily_bin102.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/220708/ft1_4FGL_J1512.2+0202_daily_bin102.fits outfile=/scratch/kocevski/220708/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin102.fits ra=228.07 dec=2.0403 rad=12.0 tmin=265766401.0 tmax=266025601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 1.43
user 1.25
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/220708/ft1_filtered_4FGL_J1512.2+0202_daily_bin102.fits" evtable="EVENTS" scfile=/scratch/kocevski/220708/ft2_4FGL_J1512.2+0202_daily_bin102.fits sctable="SC_DATA" outfile=/scratch/kocevski/220708/ltcube_265766401_266025601_4FGL_J1512.2+0202_daily_bin102.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/220708/ft2_4FGL_J1512.2+0202_daily_bin102.fits
.....................!
real 12.49
user 12.16
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/220708/ft1_filtered_4FGL_J1512.2+0202_daily_bin102.fits evtable="EVENTS" scfile=/scratch/kocevski/220708/ft2_4FGL_J1512.2+0202_daily_bin102.fits sctable="SC_DATA" expcube=/scratch/kocevski/220708/ltcube_265766401_266025601_4FGL_J1512.2+0202_daily_bin102.fits outfile=/scratch/kocevski/220708/expmap_265766401_266025601_4FGL_J1512.2+0202_daily_bin102.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/220708/ltcube_265766401_266025601_4FGL_J1512.2+0202_daily_bin102.fits
.....................!
real 190.01
user 184.97
sys 4.70

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/220708/ft1_filtered_4FGL_J1512.2+0202_daily_bin102.fits scfile=/scratch/kocevski/220708/ft2_4FGL_J1512.2+0202_daily_bin102.fits outfile=/scratch/kocevski/220708/cmap_265766401_266025601_4FGL_J1512.2+0202_daily_bin102.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/220708/ft1_filtered_4FGL_J1512.2+0202_daily_bin102.fits scfile=/scratch/kocevski/220708/ft2_4FGL_J1512.2+0202_daily_bin102.fits outfile=/scratch/kocevski/220708/cmap_HighResolution_265766401_266025601_4FGL_J1512.2+0202_daily_bin102.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.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.569       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.9633       1.0000         .10000E-03   10000.    
     6 'norm      '    1.2556       1.0000         .10000E-03   10000.    
     7 'norm      '    3.8706       1.0000         .10000E-03   10000.    
     8 'norm      '    6.8328       1.0000         .10000E-03   10000.    
     9 'norm      '    4.2173       1.0000         .10000E-03   10000.    
    10 'norm      '    2.1149       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.875       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.5271       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1249       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0399       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=   15078.92     FROM MIGRAD    STATUS=CONVERGED    381 CALLS     1875 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.574        62.385        .55647E-05    .44960E-04
   2  Prefactor     .10000E-03    13.904        .55700E-05** at limit **
   3  norm          .10000E-03    5.9675       -.73863E-07** at limit **
   4  Prefactor     .10000E-03    12.006       -.55273E-05** at limit **
   5  norm          1.9633        .24222       -.53374E-09    .19599E-03
   6  norm          1.2556        1.2676        .26935E-07   -.25951E-03
   7  norm          3.8703        3.7798        .54361E-06   -.23466E-02
   8  norm          6.8325        3.7906        .45588E-06   -.31019E-02
   9  norm          4.2173        2.5791       -.62198E-08   -.60877E-04
  10  norm          2.1146        .16725       -.83379E-09   -.48718E-02
  11  Prefactor     .10000E-03    20.770        .52990E-05** at limit **
  12  Prefactor     12.875        18.791        .44819E-07   -.56950E-05
  13  Prefactor     .10000E-03    2.4756       -.76934E-07** at limit **
  14  Prefactor     .10000E-03    8.6927        .10321E-05** at limit **
  15  Prefactor     .10000E-03    22.540       -.66176E-05** at limit **
  16  Prefactor     3.5271        3.4726        .88310E-07   -.37107E-03
  17  norm          .10000E-03    .79548       -.45404E-07** at limit **
  18  Normalizat    1.1248        .18671       -.67154E-06   -.30503E-05
  19  Prefactor     1.0399        .83295E-01   -.36813E-07   -.68221E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.5741
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.96332
  norm       = 1.25561
  norm       = 3.87034
  norm       = 6.83248
  norm       = 4.21732
  norm       = 2.11463
  Prefactor  = 0.000100001
  Prefactor  = 12.875
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 3.52713
  norm       = 0.0001
  Normalizat = 1.12485
  Prefactor  = 1.03988
 **********
 **   18 **HESSE 
 **********

 FCN=   15078.92     FROM HESSE     STATUS=OK           264 CALLS     2139 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.574        62.777        .71313E-04   -1.4584    
   2  Prefactor     .10000E-03    14.062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    5.9847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.9633        .24342        .20211E-04   -1.5428    
   6  norm          1.2556        1.2549        .13325E-03   -1.5484    
   7  norm          3.8703        4.7018        .10255E-02   -1.5314    
   8  norm          6.8325        4.6232        .76746E-03   -1.5185    
   9  norm          4.2173        2.5765        .14932E-03   -1.5297    
  10  norm          2.1146        .16737        .13447E-04   -1.5417    
  11  Prefactor     .10000E-03    21.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     12.875        18.791        .11163E-03   -1.4990    
  13  Prefactor     .10000E-03    2.5752        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.7075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    22.772        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.5271        3.4815        .21525E-03   -1.5332    
  17  norm          .10000E-03    .79902        .10693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1248        .21281        .41114E-03   -.88958    
  19  Prefactor     1.0399        .95530E-01    .19695E-03   -.91412    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.40414e-09
Minuit parameter uncertainties:
  1  62.9091
  2  0.000236883
  3  6.55062e-06
  4  0.000203881
  5  0.243419
  6  1.25493
  7  4.70221
  8  4.6234
  9  2.57659
  10  0.167373
  11  0.000235621
  12  18.7995
  13  2.46863e-06
  14  3.81242e-05
  15  0.000371413
  16  3.48166
  17  1.48592e-07
  18  0.212971
  19  0.0955459
Done.

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

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  4.217e+00  2.577e+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.040e+00  9.555e-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.125e+00  2.130e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.19
Ra Dec: 228.070 2.040
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.92e-08 +/- 1.78e-08
Energy Flux (Fixed Index): 1.82e-05 +/- 1.11e-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) = 15078.5335927
delta logL = 0.382473128977

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15078.5312019
delta logL = 0.384863950838

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1329       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5223       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1335       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0389       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=   15078.53     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      203 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1329        3.2588        .49570E-02   -.37607E-03
   2  alpha         1.5223        .51930        .46075       -.33381E-04
   3  Normalizat    1.1336        .17830        .92511E-01    .39829E-04
   4  Prefactor     1.0389        .82683E-01    .40607E-01    .21003E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.13288
  alpha      = 1.52227
  Normalizat = 1.13355
  Prefactor  = 1.03892
 **********
 **   18 **HESSE 
 **********

 FCN=   15078.53     FROM HESSE     STATUS=OK            29 CALLS      232 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1329        2.7011        .15129E-03   -1.5301    
   2  alpha         1.5223        .49540        .21402E-01   -.40182    
   3  Normalizat    1.1336        .20158        .40979E-03   -.88682    
   4  Prefactor     1.0389        .94025E-01    .19703E-03   -.91443    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.7855e-11
Minuit parameter uncertainties:
  1  2.70114
  2  0.499314
  3  0.201717
  4  0.0940395
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/220708': 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) = 15078.5312019
delta logL = 0.384863955742

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  4.133e+00  2.701e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        alpha:  1.522e+00  4.993e-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:  1.039e+00  9.404e-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.134e+00  2.017e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.95
Ra Dec: 228.070 2.040
Photon Index (Free Index): 1.52 +/- 0.50
Photon Flux (Free Index): 1.90e-08 +/- 1.54e-08
Energy Flux (Free Index): 2.66e-05 +/- 2.13e-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/220708/cmap_HighResolution_265766401_266025601_4FGL_J1512.2+0202_daily_bin102.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.92e-08', energy_flux2='2.66e-05', photon_flux_error='1.78e-08', dlogl='3.85e-01', energy_flux='1.82e-05', photon_flux2='1.90e-08', job_status='DONE', time_completed='2021-09-11 09:46:44.945150', photon_index_error2='0.50', photon_index2='1.52', ts='7.19', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='2.13e-05', EG='1.12', time_epoch_completed='1631378804.95', return_code='0', job_id='220708', GAL2='1.04', EG2='1.13', return_code2='0', energy_flux_error='1.11e-05', photon_flux_error2='1.54e-08', ts2='7.95', photon_index='1.97' WHERE bin_id='102' AND source_name='4FGL J1512.2+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 09:46:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 220708: <4FGL_J1512.2+0202_daily_bin102> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1512.2+0202_daily_bin102 228.07 2.0403 265766401 266025601 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 :                                   770.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             338.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            912 sec.

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

