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 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 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_J1019.7+0511_daily_bin1774
RA = 154.942, Dec = 5.1905
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='678882', job_status='RUN', time_executed='2023-03-02 00:30:43.313532', time_epoch_executed='1677745843.31' WHERE source_name='4FGL J1019.7+0511' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/678882

Creating custom pfile directory:
/scratch/kocevski/678882/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/678882/ft1_4FGL_J1019.7+0511_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/678882/ft2_4FGL_J1019.7+0511_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/678882/ft1_4FGL_J1019.7+0511_daily_bin1774.fits outfile=/scratch/kocevski/678882/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin1774.fits ra=154.942 dec=5.1905 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.78
user 2.58
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/678882/ft2_4FGL_J1019.7+0511_daily_bin1774.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/678882/ft2_4FGL_J1019.7+0511_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/678882/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin1774.fits evtable="EVENTS" outfile="/scratch/kocevski/678882/ft1_filtered_4FGL_J1019.7+0511_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.33
sys 0.14

Number of photons that the gtmktime cut: 13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/678882/ft1_filtered_4FGL_J1019.7+0511_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/678882/ft2_4FGL_J1019.7+0511_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/678882/ltcube_699148801_699408001_4FGL_J1019.7+0511_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/678882/ft2_4FGL_J1019.7+0511_daily_bin1774.fits
.....................!
real 12.27
user 11.94
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/678882/ft1_filtered_4FGL_J1019.7+0511_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/678882/ft2_4FGL_J1019.7+0511_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/678882/ltcube_699148801_699408001_4FGL_J1019.7+0511_daily_bin1774.fits outfile=/scratch/kocevski/678882/expmap_699148801_699408001_4FGL_J1019.7+0511_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/678882/ltcube_699148801_699408001_4FGL_J1019.7+0511_daily_bin1774.fits
.....................!
real 191.82
user 187.54
sys 3.97

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 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J1019.7+0511 @ 154.942 5.1905

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/678882/ft1_filtered_4FGL_J1019.7+0511_daily_bin1774.fits scfile=/scratch/kocevski/678882/ft2_4FGL_J1019.7+0511_daily_bin1774.fits outfile=/scratch/kocevski/678882/cmap_699148801_699408001_4FGL_J1019.7+0511_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=154.942 yref=5.1905 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/678882/ft1_filtered_4FGL_J1019.7+0511_daily_bin1774.fits scfile=/scratch/kocevski/678882/ft2_4FGL_J1019.7+0511_daily_bin1774.fits outfile=/scratch/kocevski/678882/cmap_HighResolution_699148801_699408001_4FGL_J1019.7+0511_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=154.942 yref=5.1905 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.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/678882/ft1_filtered_4FGL_J1019.7+0511_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/678882/ft2_4FGL_J1019.7+0511_daily_bin1774.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/678882/Model_4FGL_J1019.7+0511_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/678882/ft1_filtered_4FGL_J1019.7+0511_daily_bin1774.fits.............!
real 14.69
user 13.56
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/678882/ft1_filtered_4FGL_J1019.7+0511_daily_bin1774.fits', '/scratch/kocevski/678882/ft2_4FGL_J1019.7+0511_daily_bin1774.fits', expMap='/scratch/kocevski/678882/expmap_699148801_699408001_4FGL_J1019.7+0511_daily_bin1774.fits', expCube='/scratch/kocevski/678882/ltcube_699148801_699408001_4FGL_J1019.7+0511_daily_bin1774.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/678882/Model_4FGL_J1019.7+0511_daily_bin1774.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1019.7+0511'

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  1.246e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
226        Index:  1.997e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
227        Scale:  3.923e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/678882/ft1_filtered_4FGL_J1019.7+0511_daily_bin1774.fits
Spacecraft file(s): /scratch/kocevski/678882/ft2_4FGL_J1019.7+0511_daily_bin1774.fits
Exposure map: /scratch/kocevski/678882/expmap_699148801_699408001_4FGL_J1019.7+0511_daily_bin1774.fits
Exposure cube: /scratch/kocevski/678882/ltcube_699148801_699408001_4FGL_J1019.7+0511_daily_bin1774.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/678882/Model_4FGL_J1019.7+0511_daily_bin1774.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 176.296592814

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 172.922683955

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .72771       1.0000          .0000       .10000E+07
     2 'norm      '    2.7945       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.4549       1.0000          .0000       .10000E+07
     4 'Prefactor '    .16347E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.5832       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10500       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.1394       1.0000          .0000       .10000E+07
     8 'Prefactor '    7.2234       1.0000          .0000       .10000E+07
     9 'Prefactor '    .21189       1.0000          .0000       .10000E+07
    10 'norm      '    6.3251       1.0000          .0000       .10000E+07
    11 'Prefactor '    55.396       1.0000          .0000       .10000E+07
    12 'Prefactor '    45.326       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.0911       1.0000          .0000       .10000E+07
    14 'Prefactor '    137.67       1.0000          .0000       .10000E+07
    15 'norm      '    .49960E-09   1.0000          .0000       .10000E+07
    16 'Prefactor '    2.8900       1.0000          .0000       .10000E+07
    17 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    18 'Prefactor '    .27263       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   172.9032     FROM MIGRAD    STATUS=CONVERGED    189 CALLS      513 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .23606E-01    163.22       -.44966E-06** at limit **
   2  norm          2.9102        4.2216       -.91973E-07    .21032E-03
   3  Prefactor     .34040E-04    661.91       -.13571E-05** at limit **
   4  Prefactor     .31475E-07    85.814       -.35853E-05** at limit **
   5  Prefactor     18.669        209.03       -.18807E-05   -.37408E-02
   6  Prefactor      .0000        111.20       -.63941E-06** at limit **
   7  Prefactor     .13242E-02    2742.7       -.45752E-05** at limit **
   8  Prefactor     .11864E-04    685.79        .25820E-05** at limit **
   9  Prefactor     .77716E-09    283.26        .39626E-05** at limit **
  10  norm          6.4417        9.0267       -.44818E-07    .45799E-04
  11  Prefactor     56.417        46.328       -.44769E-06   -.45158E-02
  12  Prefactor     45.893        78.113        .52270E-06    .41407E-02
  13  Prefactor     4.0911        1.0077         .0000         .0000    
  14  Prefactor     140.43        43.627       -.89855E-07   -.11257    
  15  norm           .0000        1.9798       -.48044E-07** at limit **
  16  Prefactor     .83267E-09    521.14        .15401E-05** at limit **
  17  Normalizat    .10000E-01    .72692        .52964E-04** at limit **
  18  Prefactor     .23832        .41653        .20567E-04    .83167E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0236059
  norm       = 2.91024
  Prefactor  = 3.40397e-05
  Prefactor  = 3.14748e-08
  Prefactor  = 18.6687
  Prefactor  = 0
  Prefactor  = 0.00132421
  Prefactor  = 1.18637e-05
  Prefactor  = 7.77156e-10
  norm       = 6.44174
  Prefactor  = 56.4167
  Prefactor  = 45.8933
  Prefactor  = 4.09108
  Prefactor  = 140.433
  norm       = 0
  Prefactor  = 8.32667e-10
  Normalizat = 0.01
  Prefactor  = 0.238319
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   172.9032     FROM HESSE     STATUS=FAILED        59 CALLS      572 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .23606E-01    2962.8        .58487E-03   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.9102        3.9701        .60836E-03   -1.5674    
   3  Prefactor     .34040E-04    665.72        .54385E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .31475E-07    85.774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.669        124.73        .53361E-03   -1.5622    
   6  Prefactor      .0000        110.72        .13797E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .13242E-02    2871.8        .37518E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11864E-04    756.37        .37297E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .77716E-09    282.98        .11568E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.4417        8.4260        .39888E-03   -1.5657    
  11  Prefactor     56.417        36.377        .13437E-03   -1.5558    
  12  Prefactor     45.893        80.104        .14855E-03   -1.5572    
  13  Prefactor     59814.        59810.         .0000       -1.5668    
  14  Prefactor     140.43        1.0100       -.89855E-07   -1.5471    
  15  norm           .0000        .44347E-01   -.48044E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .83267E-09    .89264E-01    .15401E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .10000E-01    .25505        .52964E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .23832        .54273        .20567E-04   -1.2608    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.85406e-10
Minuit parameter uncertainties:
  1  16.7343
  2  3.97014
  3  0.301104
  4  0.00328727
  5  96.5142
  6  3.15757e-05
  7  3.90206
  8  0.18948
  9  0.000940025
  10  8.42599
  11  36.3775
  12  80.1058
  13  1.00767
  14  1.00999
  15  3.03579e-07
  16  1.71072e-05
  17  8.4111e-07
  18  0.554885
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 172.903157721

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  7.772e-10  9.400e-04  0.000e+00  1.000e+06 ( 1.000e-14)
226        Index:  1.997e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
227        Scale:  3.923e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  2.383e-01  5.549e-01  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.000e-02  8.411e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 154.942 5.191
Photon Flux Upper Limit: 2.57e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.93e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/678882/likelihoodResults_699148801_699408001_4FGL_J1019.7+0511_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): 102
logL (Free Index) = 172.904775119
delta logL = -0.00161739731396

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 172.903163821
delta logL = -6.10011665003e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65001E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.0993       1.0000          .0000       10.000    
     3 'Normalizat'    .10009E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .23834       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   172.9032     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      230 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    610.40       -.85655E-05** at limit **
   2  Index         .59818        9.5052       -.73322E-03   -.11427E-11
   3  Normalizat    .10000E-01    .72406       -.27249E-04** at limit **
   4  Prefactor     .23832        .25575        .25740E-04   -.17126E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Index      = 0.598184
  Normalizat = 0.01
  Prefactor  = 0.238319
 **********
 **   18 **HESSE 
 **********

 FCN=   172.9032     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      265 TOTAL
                     EDM=   .10E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    35.273        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .59818        7.7075        .50000       -1.0766    
   3  Normalizat    .10000E-01    .65873E-04    .15829       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .23832        .27710E-02    .35862E-01   -1.2608    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.03179e-13
Minuit parameter uncertainties:
  1  0.000267174
  2  208084
  3  6.29324e-08
  4  0.00277101
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/678882': 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): 102
logL (Free Index) = 172.903157721
delta logL = 1.90425453184e-12

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  4.996e-10  2.672e-04  0.000e+00  1.000e+06 ( 1.000e-14)
226        Index:  5.982e-01  2.081e+05  0.000e+00  1.000e+01 (-1.000e+00)
227        Scale:  3.923e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  2.383e-01  2.771e-03  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.000e-02  6.293e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 154.942 5.191

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/678882/cmap_HighResolution_699148801_699408001_4FGL_J1019.7+0511_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.93e-01', job_status='DONE', photon_flux_upper_limit='2.57e-06', time_completed='2023-03-02 00:35:53.543129', job_id='678882', GAL2='0.24', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1677746153.54', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.24', dlogl='1.90e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1774' AND source_name='4FGL J1019.7+0511' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 00:35:53 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 678882: <4FGL_J1019.7+0511_daily_bin1774> in cluster <slac> Done

Job <4FGL_J1019.7+0511_daily_bin1774> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Mar  2 00:30:25 2023
Job was executed on host(s) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 00:30:27 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:30:27 2023
Terminated at Thu Mar  2 00:35:54 2023
Results reported at Thu Mar  2 00:35:54 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1019.7+0511_daily_bin1774 154.942 5.1905 699148801 699408001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1019.7+0511 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   312.28 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             328.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   326 sec.
    Turnaround time :                            329 sec.

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

