aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 33 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1512.2+0202_daily_bin1750
RA = 228.07, Dec = 2.0403
tmin = 692928001, tmax = 693187201
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='16217', job_status='RUN', time_executed='2022-12-20 01:06:02.436407', time_epoch_executed='1671527162.44' WHERE source_name='4FGL J1512.2+0202' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/16217

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/16217/ft1_4FGL_J1512.2+0202_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/16217/ft2_4FGL_J1512.2+0202_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/16217/ft1_4FGL_J1512.2+0202_daily_bin1750.fits outfile=/scratch/kocevski/16217/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin1750.fits ra=228.07 dec=2.0403 rad=12.0 tmin=692928001.0 tmax=693187201.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.48
user 3.24
sys 0.21

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

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

Number of photons that the gtmktime cut: 697

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/16217/ft1_filtered_4FGL_J1512.2+0202_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/16217/ft2_4FGL_J1512.2+0202_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/16217/ltcube_692928001_693187201_4FGL_J1512.2+0202_daily_bin1750.fits outfile=/scratch/kocevski/16217/expmap_692928001_693187201_4FGL_J1512.2+0202_daily_bin1750.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/16217/ltcube_692928001_693187201_4FGL_J1512.2+0202_daily_bin1750.fits
.....................!
real 191.01
user 185.74
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/16217/ft1_filtered_4FGL_J1512.2+0202_daily_bin1750.fits scfile=/scratch/kocevski/16217/ft2_4FGL_J1512.2+0202_daily_bin1750.fits outfile=/scratch/kocevski/16217/cmap_692928001_693187201_4FGL_J1512.2+0202_daily_bin1750.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.54
user 0.36
sys 0.17

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

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/16217/ft1_filtered_4FGL_J1512.2+0202_daily_bin1750.fits', '/scratch/kocevski/16217/ft2_4FGL_J1512.2+0202_daily_bin1750.fits', expMap='/scratch/kocevski/16217/expmap_692928001_693187201_4FGL_J1512.2+0202_daily_bin1750.fits', expCube='/scratch/kocevski/16217/ltcube_692928001_693187201_4FGL_J1512.2+0202_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/16217/Model_4FGL_J1512.2+0202_daily_bin1750.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  0.000e+00  1.000e+06 ( 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 -5.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/16217/ft1_filtered_4FGL_J1512.2+0202_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/16217/ft2_4FGL_J1512.2+0202_daily_bin1750.fits
Exposure map: /scratch/kocevski/16217/expmap_692928001_693187201_4FGL_J1512.2+0202_daily_bin1750.fits
Exposure cube: /scratch/kocevski/16217/ltcube_692928001_693187201_4FGL_J1512.2+0202_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/16217/Model_4FGL_J1512.2+0202_daily_bin1750.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) = 7531.87221119

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34145E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    22.996       1.0000          .0000       .10000E+07
     3 'norm      '    4.3705       1.0000          .0000       .10000E+07
     4 'Prefactor '    .28619E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .29395       1.0000          .0000       .10000E+07
     6 'norm      '    6.0199       1.0000          .0000       .10000E+07
     7 'norm      '    .30410       1.0000          .0000       .10000E+07
     8 'norm      '    .14925E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .28753E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .17769       1.0000          .0000       .10000E+07
    11 'Prefactor '    .17402E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.2426       1.0000          .0000       .10000E+07
    13 'Prefactor '    37.833       1.0000          .0000       .10000E+07
    14 'Prefactor '    .15179       1.0000          .0000       .10000E+07
    15 'Prefactor '    .40939       1.0000          .0000       .10000E+07
    16 'norm      '    .83861E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4735       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .87502       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=   7531.866     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1350 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .77716E-09    14.555       -.52630E-07** at limit **
   2  Prefactor     22.929        8.1334        .16743E-06    .34862E-01
   3  norm          4.4377        5.1069       -.10516E-05   -.75033E-01
   4  Prefactor     .62172E-08    16.963        .33593E-06** at limit **
   5  norm          .29379        .17161        .19782E-07   -.40160E-02
   6  norm          6.0167        3.0072       -.32002E-06   -.41916E-02
   7  norm          .30492        36.155        .36552E-05   -.50917E-02
   8  norm           .0000        1.9156        .19517E-06** at limit **
   9  norm          .55511E-10    7.2928       -.93828E-07** at limit **
  10  norm          .17762        .95375E-01    .92567E-09** at limit **
  11  Prefactor      .0000        8.9149        .11709E-06** at limit **
  12  Prefactor     3.2576        4.4848       -.20850E-06   -.62951E-03
  13  Prefactor     37.819        29.628       -.29228E-07    .37578E-01
  14  Prefactor     .17208E-08    40.563       -.91524E-06** at limit **
  15  Prefactor     .28481        17.447        .32724E-05   -.92366E-02
  16  norm          .15873E-05    147.60       -.87341E-05** at limit **
  17  Normalizat    1.4739        .25942        .53981E-05    .19700E-04
  18  Prefactor     .87525        .11583       -.70672E-05   -.20799E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.77156e-10
  Prefactor  = 22.9289
  norm       = 4.43772
  Prefactor  = 6.21725e-09
  norm       = 0.293785
  norm       = 6.01671
  norm       = 0.30492
  norm       = 0
  norm       = 5.55112e-11
  norm       = 0.177622
  Prefactor  = 0
  Prefactor  = 3.25764
  Prefactor  = 37.8191
  Prefactor  = 1.72085e-09
  Prefactor  = 0.284812
  norm       = 1.58734e-06
  Normalizat = 1.47387
  Prefactor  = 0.875249
 **********
 **   18 **HESSE 
 **********

 FCN=   7531.866     FROM HESSE     STATUS=OK           302 CALLS     1652 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .77716E-09    14.750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     22.929        22.862        .20859E-03   -1.5612    
   3  norm          4.4377        11.451        .48154E-03   -1.5666    
   4  Prefactor     .62172E-08    17.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .29379        .17342        .59135E-03   -1.5697    
   6  norm          6.0167        2.9995        .40900E-03   -1.5659    
   7  norm          .30492        5.4332        .76577E-02   -1.5697    
   8  norm           .0000        1.9196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .55511E-10    7.0377        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .17762        .97042E-01    .42661E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        8.9234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.2576        4.5441        .56223E-03   -1.5672    
  13  Prefactor     37.819        32.710        .16260E-03   -1.5585    
  14  Prefactor     .17208E-08    40.315        .12706E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .28481        2.4704        .72078E-02   -1.5697    
  16  norm          .15873E-05    3.4494        .52413E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.4739        .22683        .73315E-01   -.78515    
  18  Prefactor     .87525        .10004        .44686E-01   -.97011    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.78901e-07
Minuit parameter uncertainties:
  1  0.00021278
  2  22.8616
  3  11.4509
  4  0.000649797
  5  0.173424
  6  2.99952
  7  2.57426
  8  1.80591e-06
  9  3.23498e-05
  10  0.0970417
  11  2.1688e-05
  12  4.54407
  13  32.7102
  14  0.000526363
  15  1.67761
  16  0.00467988
  17  0.226984
  18  0.10006
Done.

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

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  5.551e-11  3.235e-05  0.000e+00  1.000e+06 ( 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 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
234           Eb:  1.032e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  8.752e-01  1.001e-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.474e+00  2.270e-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: 5.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.48e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/16217/likelihoodResults_692928001_693187201_4FGL_J1512.2+0202_daily_bin1750.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): 0
logL (Free Index) = 7531.83540172
delta logL = 0.0303031017265

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7531.7578225
delta logL = 0.107882327465

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .20722E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    4.9999       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4438       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88218       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7531.758     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      386 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .20621E-01    .59825E-01    .23904E-04** at limit **
   2  alpha         5.0000        4.9620        .50000    ** at limit **
   3  Normalizat    1.4442        .25796        .32699E-03    .15993E-05
   4  Prefactor     .88223        .11530        .18528E-03    .48474E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0206207
  alpha      = 5
  Normalizat = 1.44422
  Prefactor  = 0.882227
 **********
 **   18 **HESSE 
 **********

 FCN=   7531.758     FROM HESSE     STATUS=OK            31 CALLS      417 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .20621E-01    .54047E-01    .47807E-05   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        4.8340        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.4442        .25865        .13080E-04   -.79358    
   4  Prefactor     .88223        .11545        .74112E-05   -.96765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58256e-11
Minuit parameter uncertainties:
  1  0.054047
  2  0.000173684
  3  0.258886
  4  0.115485
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/16217': 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) = 7531.75781257
delta logL = 0.107892258966

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  2.062e-02  5.405e-02  0.000e+00  1.000e+06 ( 1.000e-12)
232        alpha:  5.000e+00  1.737e-04  0.000e+00  5.000e+00 ( 1.000e+00)
233         beta:  1.575e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
234           Eb:  1.032e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  8.822e-01  1.155e-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.444e+00  2.589e-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/16217/cmap_HighResolution_692928001_693187201_4FGL_J1512.2+0202_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.48e-05', job_status='DONE', photon_flux_upper_limit='5.57e-08', time_completed='2022-12-20 01:14:57.177914', job_id='16217', GAL2='0.88', fit_tolerance='1e-08', EG2='1.44', EG='1.47', time_epoch_completed='1671527697.18', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.08e-01', ts2='0.23', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1750' AND source_name='4FGL J1512.2+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:14:57 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 16217: <4FGL_J1512.2+0202_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1512.2+0202_daily_bin1750> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Dec 20 01:05:19 2022
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:05:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:05:20 2022
Terminated at Tue Dec 20 01:14:58 2022
Results reported at Tue Dec 20 01:14:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1512.2+0202_daily_bin1750 228.07 2.0403 692928001 693187201 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 :                                   536.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             305.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   577 sec.
    Turnaround time :                            579 sec.

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

