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


Performing analysis on: 4FGL_J1019.7+0511_daily_bin1765
RA = 154.942, Dec = 5.1905
tmin = 696816001, tmax = 697075201
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='631306', job_status='RUN', time_executed='2023-02-03 00:49:37.918423', time_epoch_executed='1675414177.92' WHERE source_name='4FGL J1019.7+0511' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/631306

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/631306/ft1_4FGL_J1019.7+0511_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/631306/ft2_4FGL_J1019.7+0511_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/631306/ft1_4FGL_J1019.7+0511_daily_bin1765.fits outfile=/scratch/kocevski/631306/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin1765.fits ra=154.942 dec=5.1905 rad=12.0 tmin=696816001.0 tmax=697075201.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.70
user 3.41
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/631306/ft2_4FGL_J1019.7+0511_daily_bin1765.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/631306/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/631306/ft1_filtered_4FGL_J1019.7+0511_daily_bin1765.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.53
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 578

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/631306/ft1_filtered_4FGL_J1019.7+0511_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/631306/ft2_4FGL_J1019.7+0511_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/631306/ltcube_696816001_697075201_4FGL_J1019.7+0511_daily_bin1765.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/631306/ft2_4FGL_J1019.7+0511_daily_bin1765.fits
.....................!
real 16.07
user 15.67
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/631306/ft1_filtered_4FGL_J1019.7+0511_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/631306/ft2_4FGL_J1019.7+0511_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/631306/ltcube_696816001_697075201_4FGL_J1019.7+0511_daily_bin1765.fits outfile=/scratch/kocevski/631306/expmap_696816001_697075201_4FGL_J1019.7+0511_daily_bin1765.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/631306/ltcube_696816001_697075201_4FGL_J1019.7+0511_daily_bin1765.fits
.....................!
real 192.86
user 186.74
sys 5.64

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/631306/ft1_filtered_4FGL_J1019.7+0511_daily_bin1765.fits scfile=/scratch/kocevski/631306/ft2_4FGL_J1019.7+0511_daily_bin1765.fits outfile=/scratch/kocevski/631306/cmap_696816001_697075201_4FGL_J1019.7+0511_daily_bin1765.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/631306/ft1_filtered_4FGL_J1019.7+0511_daily_bin1765.fits scfile=/scratch/kocevski/631306/ft2_4FGL_J1019.7+0511_daily_bin1765.fits outfile=/scratch/kocevski/631306/cmap_HighResolution_696816001_697075201_4FGL_J1019.7+0511_daily_bin1765.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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/631306/ft1_filtered_4FGL_J1019.7+0511_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/631306/ft2_4FGL_J1019.7+0511_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/631306/Model_4FGL_J1019.7+0511_daily_bin1765.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/631306/ft1_filtered_4FGL_J1019.7+0511_daily_bin1765.fits.....................!
real 61.92
user 60.46
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/631306/ft1_filtered_4FGL_J1019.7+0511_daily_bin1765.fits', '/scratch/kocevski/631306/ft2_4FGL_J1019.7+0511_daily_bin1765.fits', expMap='/scratch/kocevski/631306/expmap_696816001_697075201_4FGL_J1019.7+0511_daily_bin1765.fits', expCube='/scratch/kocevski/631306/ltcube_696816001_697075201_4FGL_J1019.7+0511_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/631306/Model_4FGL_J1019.7+0511_daily_bin1765.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/631306/ft1_filtered_4FGL_J1019.7+0511_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/631306/ft2_4FGL_J1019.7+0511_daily_bin1765.fits
Exposure map: /scratch/kocevski/631306/expmap_696816001_697075201_4FGL_J1019.7+0511_daily_bin1765.fits
Exposure cube: /scratch/kocevski/631306/ltcube_696816001_697075201_4FGL_J1019.7+0511_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/631306/Model_4FGL_J1019.7+0511_daily_bin1765.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) = 6482.68795052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2431       1.0000          .0000       .10000E+07
     2 'norm      '    .19354       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.9062       1.0000          .0000       .10000E+07
     4 'Prefactor '    .93910E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .10942E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .14767E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.1558       1.0000          .0000       .10000E+07
     8 'Prefactor '    .99817E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .17775E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .47351E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.256       1.0000          .0000       .10000E+07
    12 'Prefactor '    .19822       1.0000          .0000       .10000E+07
    13 'Prefactor '    58.833       1.0000          .0000       .10000E+07
    14 'Prefactor '    .38723E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .27693       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14761E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    .80096       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0507       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=   6482.585     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1105 TOTAL
                     EDM=   .59E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2398        1.7180        .12946E-08    .48889E-03
   2  norm          .19259        .45041        .21334E-07** at limit **
   3  Prefactor     1.9087        13.269       -.57969E-06    .32757E-03
   4  Prefactor      .0000        7.2062       -.40807E-06** at limit **
   5  Prefactor      .0000        7.4123       -.50827E-07** at limit **
   6  Prefactor      .0000        5.0128       -.19951E-06** at limit **
   7  Prefactor     4.8647        114.93       -.14447E-05    .40315E-03
   8  Prefactor     .38858E-09    25.544       -.99986E-06** at limit **
   9  Prefactor     .55511E-10    13.848        .18682E-06** at limit **
  10  norm           .0000        4.0169        .15523E-06** at limit **
  11  Prefactor     11.187        6.4611        .14104E-06   -.10706E-02
  12  Prefactor     .19640        4.1486        .25338E-06** at limit **
  13  Prefactor     58.819        1.7148        .59079E-08   -.33744E-02
  14  Prefactor      .0000        9.5518        .25183E-06** at limit **
  15  norm          .27655        .39195       -.31306E-07    .23763E-02
  16  Prefactor      .0000        11.877        .57423E-06** at limit **
  17  Normalizat    .80223        .20664       -.77379E-05    .31105E-04
  18  Prefactor     1.0506        .17018        .50518E-05    .38329E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.23976
  norm       = 0.19259
  Prefactor  = 1.9087
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.86475
  Prefactor  = 3.88578e-10
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 11.1872
  Prefactor  = 0.196404
  Prefactor  = 58.8194
  Prefactor  = 0
  norm       = 0.276555
  Prefactor  = 0
  Normalizat = 0.802232
  Prefactor  = 1.05056
 **********
 **   18 **HESSE 
 **********

 FCN=   6482.585     FROM HESSE     STATUS=OK           290 CALLS     1395 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2398        1.7210        .48892E-03   -1.5667    
   2  norm          .19259        .45159        .11892E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.9087        13.477        .75281E-03   -1.5680    
   4  Prefactor      .0000        7.2201        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        7.4633        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        5.0345        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.8647        122.12        .40440E-03   -1.5664    
   8  Prefactor     .38858E-09    25.541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    13.925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        1.0010        .25170E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.187        6.4915        .29836E-03   -1.5641    
  12  Prefactor     .19640        1.7188        .33354E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     58.819        16.002        .13038E-03   -1.5555    
  14  Prefactor      .0000        9.5428        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .27655        .41927        .10541E-02   -1.5697    
  16  Prefactor      .0000        11.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .80223        .18072        .62659E-01   -.99986    
  18  Prefactor     1.0506        .14512        .39868E-01   -.91063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.99806e-09
Minuit parameter uncertainties:
  1  1.72104
  2  0.451589
  3  10.1439
  4  2.6135e-05
  5  2.38022e-05
  6  5.91596e-06
  7  48.7497
  8  0.000193615
  9  6.19413e-05
  10  3.66539e-06
  11  6.49152
  12  1.16203
  13  16.002
  14  2.57671e-05
  15  0.419266
  16  2.08919e-05
  17  0.18086
  18  0.145177
Done.

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

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  5.551e-11  6.194e-05  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:  1.051e+00  1.452e-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:  8.022e-01  1.809e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 154.942 5.191
Photon Flux Upper Limit: 4.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.48e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/631306/likelihoodResults_696816001_697075201_4FGL_J1019.7+0511_daily_bin1765.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) = 6482.62155411
delta logL = -0.0368770963914

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6482.5846782
delta logL = -1.17732543004e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42327E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .59122       1.0000          .0000       10.000    
     3 'Normalizat'    .80194       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0508       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=   6482.585     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      205 TOTAL
                     EDM=   .84E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    14.734        .10587E-05** at limit **
   2  Index         1.4961        5.6830        .15064E-04   -.36148E-11
   3  Normalizat    .80223        .19771        .25444E-04   -.35309E-03
   4  Prefactor     1.0506        .16960       -.81455E-05   -.40561E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.4961
  Normalizat = 0.80223
  Prefactor  = 1.05056
 **********
 **   18 **HESSE 
 **********

 FCN=   6482.585     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      238 TOTAL
                     EDM=   .24E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .86786E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4961        5.5593        .40934       -.77649    
   3  Normalizat    .80223        .33190E-03    .62660E-01   -.99986    
   4  Prefactor     1.0506        .28413E-03    .39866E-01   -.91063    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.4095e-14
Minuit parameter uncertainties:
  1  4.91566e-06
  2  17619.6
  3  0.000331897
  4  0.000284128
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/631306': 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) = 6482.58467702
delta logL = -7.45785655454e-11

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  5.551e-11  4.916e-06  0.000e+00  1.000e+06 ( 1.000e-14)
226        Index:  1.496e+00  1.762e+04  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:  1.051e+00  2.841e-04  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:  8.022e-01  3.319e-04  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/631306/cmap_HighResolution_696816001_697075201_4FGL_J1019.7+0511_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.48e-03', job_status='DONE', photon_flux_upper_limit='4.64e-08', time_completed='2023-02-03 00:58:02.713487', job_id='631306', GAL2='1.05', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1675414682.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='-7.46e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1765' AND source_name='4FGL J1019.7+0511' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 00:58:02 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 631306: <4FGL_J1019.7+0511_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1019.7+0511_daily_bin1765> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb  3 00:45:17 2023
Job was executed on host(s) <bullet0194>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 00:46:02 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 00:46:02 2023
Terminated at Fri Feb  3 00:58:03 2023
Results reported at Fri Feb  3 00:58:03 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1019.7+0511_daily_bin1765 154.942 5.1905 696816001 697075201 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 :                                   507.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             246.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   721 sec.
    Turnaround time :                            766 sec.

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

