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


Performing analysis on: 4FGL_J1019.7+0511_daily_bin1768
RA = 154.942, Dec = 5.1905
tmin = 697593601, tmax = 697852801
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='267828', job_status='RUN', time_executed='2023-02-12 00:42:20.057224', time_epoch_executed='1676191340.06' WHERE source_name='4FGL J1019.7+0511' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/267828

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/267828/ft1_4FGL_J1019.7+0511_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/267828/ft2_4FGL_J1019.7+0511_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/267828/ft1_4FGL_J1019.7+0511_daily_bin1768.fits outfile=/scratch/kocevski/267828/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin1768.fits ra=154.942 dec=5.1905 rad=12.0 tmin=697593601.0 tmax=697852801.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.65
user 3.39
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/267828/ft2_4FGL_J1019.7+0511_daily_bin1768.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/267828/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin1768.fits evtable="EVENTS" outfile="/scratch/kocevski/267828/ft1_filtered_4FGL_J1019.7+0511_daily_bin1768.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 543

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/267828/ft1_filtered_4FGL_J1019.7+0511_daily_bin1768.fits" evtable="EVENTS" scfile=/scratch/kocevski/267828/ft2_4FGL_J1019.7+0511_daily_bin1768.fits sctable="SC_DATA" outfile=/scratch/kocevski/267828/ltcube_697593601_697852801_4FGL_J1019.7+0511_daily_bin1768.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/267828/ft2_4FGL_J1019.7+0511_daily_bin1768.fits
.....................!
real 13.96
user 13.49
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/267828/ft1_filtered_4FGL_J1019.7+0511_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/267828/ft2_4FGL_J1019.7+0511_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/267828/ltcube_697593601_697852801_4FGL_J1019.7+0511_daily_bin1768.fits outfile=/scratch/kocevski/267828/expmap_697593601_697852801_4FGL_J1019.7+0511_daily_bin1768.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/267828/ltcube_697593601_697852801_4FGL_J1019.7+0511_daily_bin1768.fits
.....................!
real 191.80
user 185.64
sys 5.79

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/267828/ft1_filtered_4FGL_J1019.7+0511_daily_bin1768.fits scfile=/scratch/kocevski/267828/ft2_4FGL_J1019.7+0511_daily_bin1768.fits outfile=/scratch/kocevski/267828/cmap_697593601_697852801_4FGL_J1019.7+0511_daily_bin1768.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/267828/ft1_filtered_4FGL_J1019.7+0511_daily_bin1768.fits scfile=/scratch/kocevski/267828/ft2_4FGL_J1019.7+0511_daily_bin1768.fits outfile=/scratch/kocevski/267828/cmap_HighResolution_697593601_697852801_4FGL_J1019.7+0511_daily_bin1768.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/267828/ft1_filtered_4FGL_J1019.7+0511_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/267828/ft2_4FGL_J1019.7+0511_daily_bin1768.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/267828/Model_4FGL_J1019.7+0511_daily_bin1768.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/267828/ft1_filtered_4FGL_J1019.7+0511_daily_bin1768.fits.....................!
real 59.58
user 58.17
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .83602       1.0000          .0000       .10000E+07
     2 'norm      '    .54676       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10097E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .42815E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .37781E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    9.2776       1.0000          .0000       .10000E+07
     7 'Prefactor '    107.99       1.0000          .0000       .10000E+07
     8 'Prefactor '    .63420       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.3383       1.0000          .0000       .10000E+07
    10 'norm      '    2.1915       1.0000          .0000       .10000E+07
    11 'Prefactor '    7.4515       1.0000          .0000       .10000E+07
    12 'Prefactor '    .23655E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    8.0287       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.1019       1.0000          .0000       .10000E+07
    15 'norm      '    .47659       1.0000          .0000       .10000E+07
    16 'Prefactor '    .61237E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    .77263       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.3249       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=   6228.953     FROM MIGRAD    STATUS=CONVERGED    149 CALLS     1412 TOTAL
                     EDM=   .47E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .83500        1.2691        .15382E-08    .77696E-04
   2  norm          .54598        .56655        .47467E-08   -.32456E-03
   3  Prefactor      .0000        4.1622        .25566E-07** at limit **
   4  Prefactor      .0000        117.89       -.52516E-06** at limit **
   5  Prefactor      .0000        108.04       -.22227E-06** at limit **
   6  Prefactor     9.3425        12.330        .15175E-06    .12141E-03
   7  Prefactor     106.29        81.465        .25059E-06    .48470E-04
   8  Prefactor      .0000        73.466        .10128E-06** at limit **
   9  Prefactor     1.5058        95.545       -.14737E-05    .23995E-04
  10  norm          2.1928        1.4188        .77817E-09    .23022E-03
  11  Prefactor     7.3595        6.6582       -.85773E-08    .66324E-04
  12  Prefactor      .0000        3.8421       -.10296E-07** at limit **
  13  Prefactor     8.0214        9.3954       -.25010E-07   -.59487E-04
  14  Prefactor     6.2352        6.1735       -.36081E-08    .13990E-04
  15  norm          .47526        .46979       -.23917E-09   -.43597E-04
  16  Prefactor      .0000        7.5095        .58924E-08** at limit **
  17  Normalizat    .77380        .24632       -.82048E-06    .48151E-05
  18  Prefactor     1.3244        .20233        .41933E-06    .98436E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.835
  norm       = 0.54598
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 9.34253
  Prefactor  = 106.29
  Prefactor  = 0
  Prefactor  = 1.5058
  norm       = 2.19277
  Prefactor  = 7.35947
  Prefactor  = 0
  Prefactor  = 8.02143
  Prefactor  = 6.23517
  norm       = 0.475256
  Prefactor  = 0
  Normalizat = 0.773797
  Prefactor  = 1.32443
 **********
 **   18 **HESSE 
 **********

 FCN=   6228.953     FROM HESSE     STATUS=OK           286 CALLS     1698 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .83500        1.2794        .50288E-03   -1.5690    
   2  norm          .54598        .56653        .74138E-04   -1.5693    
   3  Prefactor      .0000        4.1750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        112.63        .15839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        107.36        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.3425        13.102        .32879E-03   -1.5647    
   7  Prefactor     106.29        81.460        .96236E-04   -1.5502    
   8  Prefactor      .0000        73.378        .66219E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.5058        108.44        .94751E-03   -1.5683    
  10  norm          2.1928        1.4247        .69493E-03   -1.5678    
  11  Prefactor     7.3595        6.6509        .36717E-03   -1.5654    
  12  Prefactor      .0000        3.8120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.0214        9.3926        .35361E-03   -1.5651    
  14  Prefactor     6.2352        6.1801        .40620E-03   -1.5658    
  15  norm          .47526        .48268        .81100E-03   -1.5694    
  16  Prefactor      .0000        7.5185        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .77380        .20855        .72609E-01   -1.0105    
  18  Prefactor     1.3244        .17023        .48893E-01   -.82583    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.8337e-09
Minuit parameter uncertainties:
  1  1.27935
  2  0.566533
  3  7.8064e-08
  4  9.57603e-05
  5  1.31386e-07
  6  13.1017
  7  81.4613
  8  6.11507e-05
  9  25.5571
  10  1.42471
  11  6.65093
  12  2.10504e-06
  13  9.39264
  14  6.18012
  15  0.482684
  16  1.04959e-06
  17  0.208767
  18  0.170301
Done.

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

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  1.506e+00  2.556e+01  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.324e+00  1.703e-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:  7.738e-01  2.088e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/267828/likelihoodResults_697593601_697852801_4FGL_J1019.7+0511_daily_bin1768.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) = 6228.92379596
delta logL = 0.0288444685721

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6228.92215239
delta logL = 0.0304880430394

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6228.922     FROM MIGRAD    STATUS=FAILED       108 CALLS      279 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5436        1061.3        .17370E-03    .94505E-02
   2  Index         2.5914        8.6402        .17883E-01    .33995E-04
   3  Normalizat    .76442        .13580        .32306E-03   -.21114E-06
   4  Prefactor     1.3273        .11408        .21589E-03    .12638E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6228.922     FROM SIMPLEX   STATUS=UNCHANGED     96 CALLS      375 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5436        1061.3        .46029E-04    .94505E-02
   2  Index         2.5914        8.6402        .25650E-02    .33995E-04
   3  Normalizat    .76442        .13580        .84230E-04   -.21114E-06
   4  Prefactor     1.3273        .11408        .51321E-04    .12638E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6228.922     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      408 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5436        27.047        .34741E-04    .35572E-03
   2  Index         2.5914        2.6301        .71531E-03    .46091E-06
   3  Normalizat    .76442        .23737        .12923E-04    .35190E-07
   4  Prefactor     1.3273        .20126        .86355E-05    .18431E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.54359
  Index      = 2.59141
  Normalizat = 0.764421
  Prefactor  = 1.32731
 **********
 **   18 **HESSE 
 **********

 FCN=   6228.922     FROM HESSE     STATUS=OK            25 CALLS      433 TOTAL
                     EDM=   .21E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5436        21.175        .69481E-05   -1.5683    
   2  Index         2.5914        2.3633        .28612E-04   -.50261    
   3  Normalizat    .76442        .23711        .12923E-04   -1.0140    
   4  Prefactor     1.3273        .20090        .17271E-05   -.82498    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10826e-13
Minuit parameter uncertainties:
  1  11.4344
  2  2.49611
  3  0.23743
  4  0.201013
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/267828': 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) = 6228.9221487
delta logL = 0.0304917274771

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  1.544e+00  1.143e+01  0.000e+00  1.000e+06 ( 1.000e-14)
226        Index:  2.591e+00  2.496e+00  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.327e+00  2.010e-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:  7.644e-01  2.374e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/267828/cmap_HighResolution_697593601_697852801_4FGL_J1019.7+0511_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.29e-03', job_status='DONE', photon_flux_upper_limit='8.39e-08', time_completed='2023-02-12 00:50:53.531514', job_id='267828', GAL2='1.33', fit_tolerance='1e-08', EG2='0.76', EG='0.77', time_epoch_completed='1676191853.53', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.32', dlogl='3.05e-02', ts2='0.07', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1768' AND source_name='4FGL J1019.7+0511' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 00:50:53 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 267828: <4FGL_J1019.7+0511_daily_bin1768> in cluster <slac> Done

Job <4FGL_J1019.7+0511_daily_bin1768> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Feb 12 00:40:16 2023
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 00:42:10 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 00:42:10 2023
Terminated at Sun Feb 12 00:50:54 2023
Results reported at Sun Feb 12 00:50:54 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1019.7+0511_daily_bin1768 154.942 5.1905 697593601 697852801 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 :                                   516.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             360.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   523 sec.
    Turnaround time :                            638 sec.

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

