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


Performing analysis on: 4FGL_J1512.2+0202_daily_bin1326
RA = 228.07, Dec = 2.0403
tmin = 583027201, tmax = 583286401
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='227289', job_status='RUN', time_executed='2021-09-11 09:51:51.398651', time_epoch_executed='1631379111.4' WHERE source_name='4FGL J1512.2+0202' and cadence='daily' and bin_id='1326'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/227289

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/227289/ft1_4FGL_J1512.2+0202_daily_bin1326.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/227289/ft2_4FGL_J1512.2+0202_daily_bin1326.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/227289/ft1_4FGL_J1512.2+0202_daily_bin1326.fits outfile=/scratch/kocevski/227289/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin1326.fits ra=228.07 dec=2.0403 rad=12.0 tmin=583027201.0 tmax=583286401.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.57
user 3.34
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/227289/ft2_4FGL_J1512.2+0202_daily_bin1326.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/227289/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin1326.fits evtable="EVENTS" outfile="/scratch/kocevski/227289/ft1_filtered_4FGL_J1512.2+0202_daily_bin1326.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/227289/ft1_filtered_4FGL_J1512.2+0202_daily_bin1326.fits" evtable="EVENTS" scfile=/scratch/kocevski/227289/ft2_4FGL_J1512.2+0202_daily_bin1326.fits sctable="SC_DATA" outfile=/scratch/kocevski/227289/ltcube_583027201_583286401_4FGL_J1512.2+0202_daily_bin1326.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/227289/ft2_4FGL_J1512.2+0202_daily_bin1326.fits
.....................!
real 11.79
user 11.39
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/227289/ft1_filtered_4FGL_J1512.2+0202_daily_bin1326.fits evtable="EVENTS" scfile=/scratch/kocevski/227289/ft2_4FGL_J1512.2+0202_daily_bin1326.fits sctable="SC_DATA" expcube=/scratch/kocevski/227289/ltcube_583027201_583286401_4FGL_J1512.2+0202_daily_bin1326.fits outfile=/scratch/kocevski/227289/expmap_583027201_583286401_4FGL_J1512.2+0202_daily_bin1326.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/227289/ltcube_583027201_583286401_4FGL_J1512.2+0202_daily_bin1326.fits
.....................!
real 190.73
user 185.41
sys 5.00

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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/227289/ft1_filtered_4FGL_J1512.2+0202_daily_bin1326.fits scfile=/scratch/kocevski/227289/ft2_4FGL_J1512.2+0202_daily_bin1326.fits outfile=/scratch/kocevski/227289/cmap_HighResolution_583027201_583286401_4FGL_J1512.2+0202_daily_bin1326.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.56
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10552E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.074       1.0000         .10000E-03   10000.    
     3 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.606       1.0000         .10000E-03   10000.    
     5 'norm      '    .46857       1.0000         .10000E-03   10000.    
     6 'norm      '    2.9922       1.0000         .10000E-03   10000.    
     7 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    11.732       1.0000         .10000E-03   10000.    
     9 'norm      '    .32458E-01   1.0000         .10000E-03   10000.    
    10 'norm      '    .40216E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    38.063       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.8919       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.7128       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    21.167       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.4135       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2827       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92157       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=   7392.457     FROM MIGRAD    STATUS=CONVERGED    394 CALLS     1926 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.597        .26305E-07** at limit **
   2  Prefactor     18.074        17.681       -.11182E-06    .26233E-05
   3  norm          .10000E-03    5.4558       -.50065E-07** at limit **
   4  Prefactor     17.576        24.557        .98451E-06    .23288E-05
   5  norm          .46854        .19681       -.20148E-07    .10729E-04
   6  norm          2.9978        2.8841       -.11721E-08   -.59998E-04
   7  norm          .10000E-03    2.6448       -.26572E-07** at limit **
   8  norm          11.730        6.9804        .16105E-06    .57535E-04
   9  norm          .10018E-03    3.2086        .31266E-06** at limit **
  10  norm          .40211E-01    .12346        .26614E-09   -.30989E-03
  11  Prefactor     38.057        19.533        .22688E-06    .60310E-04
  12  Prefactor     9.9037        40.663       -.20112E-05   -.24119E-05
  13  Prefactor     6.7100        4.9986        .40110E-07    .51173E-05
  14  Prefactor     .10000E-03    10.643        .10820E-06** at limit **
  15  Prefactor     21.322        75.751       -.19118E-04   -.92717E-07
  16  Prefactor     2.4101        4.1522        .18296E-05    .51190E-04
  17  norm          .10000E-03    1.3218        .74120E-07** at limit **
  18  Normalizat    1.2828        .23978        .22306E-05   -.10200E-04
  19  Prefactor     .92169        .10637       -.88012E-06    .39231E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 18.0738
  norm       = 0.0001
  Prefactor  = 17.5757
  norm       = 0.468538
  norm       = 2.99778
  norm       = 0.0001
  norm       = 11.7305
  norm       = 0.000100181
  norm       = 0.0402109
  Prefactor  = 38.0569
  Prefactor  = 9.90369
  Prefactor  = 6.70997
  Prefactor  = 0.0001
  Prefactor  = 21.3216
  Prefactor  = 2.41008
  norm       = 0.0001
  Normalizat = 1.28276
  Prefactor  = 0.921693
 **********
 **   18 **HESSE 
 **********

 FCN=   7392.457     FROM HESSE     STATUS=OK           286 CALLS     2212 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     18.074        17.688        .94210E-04   -1.4857    
   3  norm          .10000E-03    5.4603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.576        24.615        .95452E-04   -1.4869    
   5  norm          .46854        .19645        .23436E-04   -1.5571    
   6  norm          2.9978        2.8762        .13262E-03   -1.5362    
   7  norm          .10000E-03    2.6497        .13655E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          11.730        6.9038        .11696E-03   -1.5023    
   9  norm          .10018E-03    3.1664        .47086E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .40211E-01    .12753        .35332E-03   -1.5668    
  11  Prefactor     38.057        18.549        .64965E-04   -1.4473    
  12  Prefactor     9.9037        40.597        .12741E-03   -1.5078    
  13  Prefactor     6.7100        4.9984        .15487E-03   -1.5190    
  14  Prefactor     .10000E-03    10.654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     21.322        76.049        .87059E-04   -1.4784    
  16  Prefactor     2.4101        4.1798        .11004E-02   -1.5397    
  17  norm          .10000E-03    1.3338        .96528E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2828        .27353        .35066E-03   -.84082    
  19  Prefactor     .92169        .12086        .18440E-03   -.95387    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93624e-08
Minuit parameter uncertainties:
  1  1.32449e-05
  2  17.6932
  3  3.49724e-06
  4  24.6297
  5  0.196448
  6  2.87629
  7  1.00483e-06
  8  6.90423
  9  0.00151518
  10  0.12753
  11  18.5516
  12  40.15
  13  4.99873
  14  5.42635e-06
  15  76.3982
  16  4.18033
  17  1.63371e-06
  18  0.273836
  19  0.120899
Done.

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

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  1.002e-04  1.515e-03  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.217e-01  1.209e-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.283e+00  2.738e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/227289/likelihoodResults_583027201_583286401_4FGL_J1512.2+0202_daily_bin1326.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7392.45671317
delta logL = -5.31937694177e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7392.42974046
delta logL = 0.0269195173287

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .49731       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6480       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2786       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92072       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7392.430     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      309 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .49838        4.3607        .25765E-03   -.37506E-05
   2  alpha         2.6476        3.6177        .52364E-01    .62063E-05
   3  Normalizat    1.2786        .25802        .35111E-03   -.31084E-05
   4  Prefactor     .92072        .11781        .18447E-03   -.60396E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.498383
  alpha      = 2.64758
  Normalizat = 1.27857
  Prefactor  = 0.920716
 **********
 **   18 **HESSE 
 **********

 FCN=   7392.430     FROM HESSE     STATUS=OK            25 CALLS      334 TOTAL
                     EDM=   .68E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .49838        3.0178        .10306E-04   -1.5567    
   2  alpha         2.6476        1.9135        .20945E-02    .59068E-01
   3  Normalizat    1.2786        .25816        .14044E-04   -.84208    
   4  Prefactor     .92072        .11775        .73789E-05   -.95421    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.79687e-14
Minuit parameter uncertainties:
  1  2.45271
  2  2.18058
  3  0.258417
  4  0.117783
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/227289': 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) = 7392.42974034
delta logL = 0.0269196404697

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  4.984e-01  2.453e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        alpha:  2.648e+00  2.181e+00  0.000e+00  5.000e+00 ( 1.000e+00)
233         beta:  1.575e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
234           Eb:  1.032e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  9.207e-01  1.178e-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.279e+00  2.584e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 228.070 2.040

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/227289/cmap_HighResolution_583027201_583286401_4FGL_J1512.2+0202_daily_bin1326.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.30e-05', job_status='DONE', photon_flux_upper_limit='6.88e-08', time_completed='2021-09-11 10:01:50.447701', job_id='227289', GAL2='0.92', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1631379710.45', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='2.69e-02', ts2='0.06', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1326' AND source_name='4FGL J1512.2+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 10:01:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 227289: <4FGL_J1512.2+0202_daily_bin1326> in cluster <slac> Done

Job <4FGL_J1512.2+0202_daily_bin1326> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 11 09:51:30 2021
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 09:51:32 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:51:32 2021
Terminated at Sat Sep 11 10:01:51 2021
Results reported at Sat Sep 11 10:01:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1512.2+0202_daily_bin1326 228.07 2.0403 583027201 583286401 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 :                                   585.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             324.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   618 sec.
    Turnaround time :                            621 sec.

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

