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


Performing analysis on: 4FGL_J1512.2+0202_daily_bin864
RA = 228.07, Dec = 2.0403
tmin = 463276801, tmax = 463536001
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='224153', job_status='RUN', time_executed='2021-09-11 09:44:02.908556', time_epoch_executed='1631378642.91' WHERE source_name='4FGL J1512.2+0202' and cadence='daily' and bin_id='864'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/224153

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/224153/ft1_4FGL_J1512.2+0202_daily_bin864.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/224153/ft2_4FGL_J1512.2+0202_daily_bin864.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/224153/ft1_4FGL_J1512.2+0202_daily_bin864.fits outfile=/scratch/kocevski/224153/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin864.fits ra=228.07 dec=2.0403 rad=12.0 tmin=463276801.0 tmax=463536001.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.66
user 3.44
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/224153/ft1_filtered_4FGL_J1512.2+0202_daily_bin864.fits evtable="EVENTS" scfile=/scratch/kocevski/224153/ft2_4FGL_J1512.2+0202_daily_bin864.fits sctable="SC_DATA" expcube=/scratch/kocevski/224153/ltcube_463276801_463536001_4FGL_J1512.2+0202_daily_bin864.fits outfile=/scratch/kocevski/224153/expmap_463276801_463536001_4FGL_J1512.2+0202_daily_bin864.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/224153/ltcube_463276801_463536001_4FGL_J1512.2+0202_daily_bin864.fits
.....................!
real 192.70
user 187.38
sys 4.91

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/224153/ft1_filtered_4FGL_J1512.2+0202_daily_bin864.fits scfile=/scratch/kocevski/224153/ft2_4FGL_J1512.2+0202_daily_bin864.fits outfile=/scratch/kocevski/224153/cmap_463276801_463536001_4FGL_J1512.2+0202_daily_bin864.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.56
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/224153/ft1_filtered_4FGL_J1512.2+0202_daily_bin864.fits scfile=/scratch/kocevski/224153/ft2_4FGL_J1512.2+0202_daily_bin864.fits outfile=/scratch/kocevski/224153/cmap_HighResolution_463276801_463536001_4FGL_J1512.2+0202_daily_bin864.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    62.394       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.6327       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.0880       1.0000         .10000E-03   10000.    
     5 'norm      '    1.7659       1.0000         .10000E-03   10000.    
     6 'norm      '    1.9586       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.3754       1.0000         .10000E-03   10000.    
     9 'norm      '    3.4542       1.0000         .10000E-03   10000.    
    10 'norm      '    .87930       1.0000         .10000E-03   10000.    
    11 'Prefactor '    27.069       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.7985       1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.848       1.0000         .10000E-03   10000.    
    15 'Prefactor '    63.151       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .37750E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2253       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0047       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=   11014.21     FROM MIGRAD    STATUS=CONVERGED    383 CALLS     1900 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     62.409        53.629       -.73362E-06   -.20232E-04
   2  Prefactor     .10000E-03    11.818       -.91326E-07** at limit **
   3  norm          1.6335        10.955        .21805E-05   -.11914E-06
   4  Prefactor     2.0729        49.439        .32164E-05    .10158E-04
   5  norm          1.7659        .28669        .27406E-07    .28416E-03
   6  norm          1.9586        1.6728       -.14985E-07   -.24127E-04
   7  norm          .10000E-03    1.8143        .11550E-07** at limit **
   8  norm          4.3758        4.6077       -.10708E-06    .17568E-04
   9  norm          3.4542        2.5469       -.42627E-07    .18597E-04
  10  norm          .87935        .17019       -.51947E-07    .16903E-02
  11  Prefactor     27.066        15.773        .62520E-06   -.95304E-04
  12  Prefactor     .10000E-03    9.5757       -.40537E-08** at limit **
  13  Prefactor     1.7988        4.0841        .98424E-06    .36339E-04
  14  Prefactor     15.851        20.989        .46813E-06    .43114E-04
  15  Prefactor     63.166        60.096       -.11731E-05   -.77018E-05
  16  Prefactor     .10000E-03    4.9451       -.69356E-06** at limit **
  17  norm          .10000E-03    1.7336       -.84853E-10** at limit **
  18  Normalizat    1.2255        .22075       -.55107E-06    .21504E-03
  19  Prefactor     1.0046        .10002        .11936E-05    .87525E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 62.4088
  Prefactor  = 0.0001
  norm       = 1.63349
  Prefactor  = 2.07291
  norm       = 1.76586
  norm       = 1.9586
  norm       = 0.0001
  norm       = 4.37576
  norm       = 3.45419
  norm       = 0.879348
  Prefactor  = 27.0664
  Prefactor  = 0.0001
  Prefactor  = 1.79879
  Prefactor  = 15.8513
  Prefactor  = 63.1662
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.22548
  Prefactor  = 1.00458
 **********
 **   18 **HESSE 
 **********

 FCN=   11014.21     FROM HESSE     STATUS=OK           272 CALLS     2172 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     62.409        54.006        .50800E-04   -1.4126    
   2  Prefactor     .10000E-03    11.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.6335        10.903        .16545E-02   -1.5452    
   4  Prefactor     2.0729        49.488        .28571E-03   -1.5420    
   5  norm          1.7659        .28687        .21438E-04   -1.5442    
   6  norm          1.9586        1.6753        .11991E-03   -1.5428    
   7  norm          .10000E-03    1.8152        .13805E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.3758        4.6006        .19255E-03   -1.5290    
   9  norm          3.4542        2.5448        .13962E-03   -1.5336    
  10  norm          .87935        .17671        .14619E-04   -1.5520    
  11  Prefactor     27.066        16.422        .77000E-04   -1.4667    
  12  Prefactor     .10000E-03    9.5793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.7988        4.0984        .15164E-02   -1.5440    
  14  Prefactor     15.851        20.841        .10061E-03   -1.4911    
  15  Prefactor     63.166        60.186        .50496E-04   -1.4117    
  16  Prefactor     .10000E-03    5.1898        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    13.976        .25988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2255        .25264        .39419E-03   -.85819    
  19  Prefactor     1.0046        .11089        .19424E-03   -.92577    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.71627e-10
Minuit parameter uncertainties:
  1  54.048
  2  2.40181e-05
  3  8.44215
  4  20.2751
  5  0.286867
  6  1.67534
  7  1.33896e-06
  8  4.60097
  9  2.54487
  10  0.176709
  11  16.4244
  12  3.86468e-06
  13  4.09903
  14  20.8507
  15  60.2444
  16  3.01808e-05
  17  0.000163916
  18  0.252889
  19  0.11091
Done.

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

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  3.454e+00  2.545e+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.005e+00  1.109e-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.225e+00  2.529e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.03
Ra Dec: 228.070 2.040
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.39e-08 +/- 1.76e-08
Energy Flux (Fixed Index): 1.49e-05 +/- 1.10e-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) = 11014.167472
delta logL = 0.0377289095559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11014.1659961
delta logL = 0.0392047602472

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3251       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1641       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2208       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0052       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=   11014.17     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      205 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3267        66.611        .55496E-02    .94021E-04
   2  alpha         2.1651        2.6732        .41631        .38515E-04
   3  Normalizat    1.2205        .14200        .89161E-01    .25619E-04
   4  Prefactor     1.0053        .43445E-01    .44147E-01    .12553E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.32673
  alpha      = 2.16511
  Normalizat = 1.22048
  Prefactor  = 1.00535
 **********
 **   18 **HESSE 
 **********

 FCN=   11014.17     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .32E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3267        2.5394        .13310E-03   -1.5343    
   2  alpha         2.1651        .70570        .22105E-01   -.13436    
   3  Normalizat    1.2205        .23871        .39487E-03   -.85972    
   4  Prefactor     1.0053        .10816        .19417E-03   -.92551    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21173e-12
Minuit parameter uncertainties:
  1  2.53946
  2  0.715611
  3  0.238928
  4  0.108183
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/224153': 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) = 11014.1659935
delta logL = 0.0392074484498

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  3.327e+00  2.539e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        alpha:  2.165e+00  7.156e-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.005e+00  1.082e-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.220e+00  2.389e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.10
Ra Dec: 228.070 2.040
Photon Index (Free Index): 2.17 +/- 0.72
Photon Flux (Free Index): 2.93e-08 +/- 2.87e-08
Energy Flux (Free Index): 1.39e-05 +/- 1.05e-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/224153/cmap_HighResolution_463276801_463536001_4FGL_J1512.2+0202_daily_bin864.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.39e-08', energy_flux2='1.39e-05', photon_flux_error='1.76e-08', dlogl='3.92e-02', energy_flux='1.49e-05', photon_flux2='2.93e-08', job_status='DONE', time_completed='2021-09-11 09:54:57.145463', photon_index_error2='0.72', photon_index2='2.17', ts='5.03', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='1.05e-05', EG='1.23', time_epoch_completed='1631379297.15', return_code='0', job_id='224153', GAL2='1.01', EG2='1.22', return_code2='0', energy_flux_error='1.10e-05', photon_flux_error2='2.87e-08', ts2='5.10', photon_index='1.97' WHERE bin_id='864' AND source_name='4FGL J1512.2+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 09:54:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 224153: <4FGL_J1512.2+0202_daily_bin864> in cluster <slac> Done

Job <4FGL_J1512.2+0202_daily_bin864> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 11 09:41:18 2021
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 09:41:20 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:41:20 2021
Terminated at Sat Sep 11 09:54:58 2021
Results reported at Sat Sep 11 09:54:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1512.2+0202_daily_bin864 228.07 2.0403 463276801 463536001 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 :                                   651.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   817 sec.
    Turnaround time :                            820 sec.

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

