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


Performing analysis on: 4FGL_J1512.2+0202_daily_bin1774
RA = 228.07, Dec = 2.0403
tmin = 699148801, tmax = 699408001
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='685410', job_status='RUN', time_executed='2023-03-02 00:56:17.796005', time_epoch_executed='1677747377.8' WHERE source_name='4FGL J1512.2+0202' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/685410

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/685410/ft1_4FGL_J1512.2+0202_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/685410/ft2_4FGL_J1512.2+0202_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/685410/ft1_4FGL_J1512.2+0202_daily_bin1774.fits outfile=/scratch/kocevski/685410/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin1774.fits ra=228.07 dec=2.0403 rad=12.0 tmin=699148801.0 tmax=699408001.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 2.82
user 2.59
sys 0.19

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

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

Number of photons that the gtmktime cut: 1119

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/685410/ft1_filtered_4FGL_J1512.2+0202_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/685410/ft2_4FGL_J1512.2+0202_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/685410/ltcube_699148801_699408001_4FGL_J1512.2+0202_daily_bin1774.fits outfile=/scratch/kocevski/685410/expmap_699148801_699408001_4FGL_J1512.2+0202_daily_bin1774.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/685410/ltcube_699148801_699408001_4FGL_J1512.2+0202_daily_bin1774.fits
.....................!
real 190.98
user 185.86
sys 4.81

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/685410/ft1_filtered_4FGL_J1512.2+0202_daily_bin1774.fits scfile=/scratch/kocevski/685410/ft2_4FGL_J1512.2+0202_daily_bin1774.fits outfile=/scratch/kocevski/685410/cmap_699148801_699408001_4FGL_J1512.2+0202_daily_bin1774.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=228.07 yref=2.0403 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/685410/ft1_filtered_4FGL_J1512.2+0202_daily_bin1774.fits scfile=/scratch/kocevski/685410/ft2_4FGL_J1512.2+0202_daily_bin1774.fits outfile=/scratch/kocevski/685410/cmap_HighResolution_699148801_699408001_4FGL_J1512.2+0202_daily_bin1774.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=228.07 yref=2.0403 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .56958E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.4831       1.0000          .0000       .10000E+07
     3 'norm      '    .13956       1.0000          .0000       .10000E+07
     4 'Prefactor '    9.2830       1.0000          .0000       .10000E+07
     5 'norm      '    .57195       1.0000          .0000       .10000E+07
     6 'norm      '    2.2597       1.0000          .0000       .10000E+07
     7 'norm      '    .14144E-06   1.0000          .0000       .10000E+07
     8 'norm      '    2.5315       1.0000          .0000       .10000E+07
     9 'norm      '    .14433E-07   1.0000          .0000       .10000E+07
    10 'norm      '    .14638       1.0000          .0000       .10000E+07
    11 'Prefactor '    .17154E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.0789       1.0000          .0000       .10000E+07
    13 'Prefactor '    .87741E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .67984       1.0000          .0000       .10000E+07
    15 'Prefactor '    .34001E-02   1.0000          .0000       .10000E+07
    16 'norm      '    4.3886       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3433       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95264       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=   12040.19     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1053 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44964E-08    36.408        .25784E-05** at limit **
   2  Prefactor     2.4131        37.608        .17458E-04    .21866E-02
   3  norm          .27756E-09    34.578       -.59343E-05** at limit **
   4  Prefactor     8.9449        13.650        .61046E-05   -.15280E-01
   5  norm          .57237        .18194       -.81254E-07    .23939E-01
   6  norm          2.2590        1.4769       -.14557E-07   -.14620E-01
   7  norm          .55511E-10    3.0288       -.13765E-05** at limit **
   8  norm          2.5310        2.3707        .54465E-07   -.24223E-02
   9  norm          .11102E-09    .66739       -.88472E-07** at limit **
  10  norm          .14630        .62070E-01    .12250E-07** at limit **
  11  Prefactor     .11102E-09    3.3936        .19418E-06** at limit **
  12  Prefactor     1.0758        2.6800        .27137E-06   -.61239E-02
  13  Prefactor     .29254E-07    7.5581       -.35638E-05** at limit **
  14  Prefactor     .30309E-07    113.04        .10195E-04** at limit **
  15  Prefactor     .24536E-06    5.8147        .99647E-06** at limit **
  16  norm          4.3923        2.7857        .39809E-07   -.32544E-02
  17  Normalizat    1.3430        .21209        .60323E-05   -.56605E-03
  18  Prefactor     .95282        .92174E-01   -.60736E-05   -.19313E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.4964e-09
  Prefactor  = 2.41309
  norm       = 2.77556e-10
  Prefactor  = 8.94491
  norm       = 0.57237
  norm       = 2.25901
  norm       = 5.55112e-11
  norm       = 2.53098
  norm       = 1.11022e-10
  norm       = 0.146301
  Prefactor  = 1.11022e-10
  Prefactor  = 1.07584
  Prefactor  = 2.92544e-08
  Prefactor  = 3.03091e-08
  Prefactor  = 2.45359e-07
  norm       = 4.39234
  Normalizat = 1.343
  Prefactor  = 0.952819
 **********
 **   18 **HESSE 
 **********

 FCN=   12040.19     FROM HESSE     STATUS=OK           292 CALLS     1345 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44964E-08    36.072        .15273E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.4131        53.091        .88073E-03   -1.5677    
   3  norm          .27756E-09    8.6417        .12969E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.9449        16.612        .32869E-03   -1.5648    
   5  norm          .57237        .18372        .57042E-03   -1.5693    
   6  norm          2.2590        1.4789        .68310E-03   -1.5678    
   7  norm          .55511E-10    3.0340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.5310        2.3724        .64170E-03   -1.5676    
   9  norm          .11102E-09    .66696        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .14630        .63132E-01    .38649E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-09    3.4097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.0758        2.7396        .11610E-02   -1.5687    
  13  Prefactor     .29254E-07    8.0842        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .30309E-07    113.61        .62360E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .24536E-06    1.8115        .50672E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.3923        2.8022        .48052E-03   -1.5666    
  17  Normalizat    1.3430        .18372        .77322E-01   -.82292    
  18  Prefactor     .95282        .78959E-01    .45672E-01   -.94319    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47657e-08
Minuit parameter uncertainties:
  1  0.00080543
  2  22.6376
  3  0.000102503
  4  16.6123
  5  0.183722
  6  1.47889
  7  2.83068e-05
  8  2.37244
  9  1.69384e-05
  10  0.0631322
  11  3.84585e-05
  12  2.73956
  13  0.000972291
  14  0.00371039
  15  0.00133336
  16  2.80217
  17  0.183813
  18  0.0789682
Done.

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

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  1.110e-10  1.694e-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:  9.528e-01  7.897e-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.343e+00  1.838e-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: 2.53e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.58e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/685410/likelihoodResults_699148801_699408001_4FGL_J1512.2+0202_daily_bin1774.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) = 12040.1947136
delta logL = -0.000274078392977

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12040.19444
delta logL = -5.56481609237e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19651E-07   1.0000          .0000       .10000E+07
     2 'alpha     '    1.4419       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3431       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95281       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12040.19     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      228 TOTAL
                     EDM=   .74E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .66008        .42118E-03** at limit **
   2  alpha         2.0197        1.1153        .42444E-05     .0000    
   3  Normalizat    1.3430        1.0710       -.61398E-06    .54892E-04
   4  Prefactor     .95282        1.2949       -.18075E-06    .13929E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.01969
  Normalizat = 1.343
  Prefactor  = 0.952822
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12040.19     FROM HESSE     STATUS=FAILED         9 CALLS      237 TOTAL
                     EDM=   .74E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .66008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .88310        1.1891        .42444E-05   -.19333    
   3  Normalizat    1.3430        1.0710       -.61398E-06   -.82292    
   4  Prefactor     .95282        1.2949       -.18075E-06   -.94319    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.35251e-12
Minuit parameter uncertainties:
  1  3.6863e-06
  2  1.15785
  3  1.08956
  4  1.34103
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/685410': 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): 101
logL (Free Index) = 12040.1944395
delta logL = 7.36690708436e-10

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  0.000e+00  3.686e-06  0.000e+00  1.000e+06 ( 1.000e-12)
232        alpha:  2.020e+00  1.158e+00  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:  9.528e-01  1.341e+00  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.343e+00  1.090e+00  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/685410/cmap_HighResolution_699148801_699408001_4FGL_J1512.2+0202_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.58e-05', job_status='DONE', photon_flux_upper_limit='2.53e-08', time_completed='2023-03-02 01:06:42.281982', job_id='685410', GAL2='0.95', fit_tolerance='1e-08', EG2='1.34', EG='1.34', time_epoch_completed='1677748002.28', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='7.37e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1774' AND source_name='4FGL J1512.2+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 01:06:42 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0188>
Subject: Job 685410: <4FGL_J1512.2+0202_daily_bin1774> in cluster <slac> Done

Job <4FGL_J1512.2+0202_daily_bin1774> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Mar  2 00:55:20 2023
Job was executed on host(s) <bullet0188>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 00:55:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 00:55:21 2023
Terminated at Thu Mar  2 01:06:42 2023
Results reported at Thu Mar  2 01:06:42 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1512.2+0202_daily_bin1774 228.07 2.0403 699148801 699408001 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 :                                   627.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             292.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   681 sec.
    Turnaround time :                            682 sec.

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

