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


Performing analysis on: 4FGL_J0525.8-0052_daily_bin1709
RA = 81.4666, Dec = -0.8709
tmin = 682300801, tmax = 682560001
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='28598', job_status='RUN', time_executed='2022-09-16 11:42:54.872984', time_epoch_executed='1663353774.87' WHERE source_name='4FGL J0525.8-0052' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28598

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28598/ft1_4FGL_J0525.8-0052_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28598/ft2_4FGL_J0525.8-0052_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28598/ft1_4FGL_J0525.8-0052_daily_bin1709.fits outfile=/scratch/kocevski/28598/ft1_filteredMKT_4FGL_J0525.8-0052_daily_bin1709.fits ra=81.4666 dec=-0.8709 rad=12.0 tmin=682300801.0 tmax=682560001.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.02
user 2.82
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/28598/ft2_4FGL_J0525.8-0052_daily_bin1709.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/28598/ft2_4FGL_J0525.8-0052_daily_bin1709.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/28598/ft1_filteredMKT_4FGL_J0525.8-0052_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/28598/ft1_filtered_4FGL_J0525.8-0052_daily_bin1709.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.44
user 0.28
sys 0.15

Number of photons that the gtmktime cut: 1393

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28598/ft1_filtered_4FGL_J0525.8-0052_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/28598/ft2_4FGL_J0525.8-0052_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/28598/ltcube_682300801_682560001_4FGL_J0525.8-0052_daily_bin1709.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/28598/ft2_4FGL_J0525.8-0052_daily_bin1709.fits
.....................!
real 10.91
user 10.57
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28598/ft1_filtered_4FGL_J0525.8-0052_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/28598/ft2_4FGL_J0525.8-0052_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/28598/ltcube_682300801_682560001_4FGL_J0525.8-0052_daily_bin1709.fits outfile=/scratch/kocevski/28598/expmap_682300801_682560001_4FGL_J0525.8-0052_daily_bin1709.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/28598/ltcube_682300801_682560001_4FGL_J0525.8-0052_daily_bin1709.fits
.....................!
real 156.60
user 152.08
sys 4.24

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
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/Rosette.fits is the correct path to the extended template.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Added 147 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0525.8-0052 @ 81.4666 -0.8709

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/28598/ft1_filtered_4FGL_J0525.8-0052_daily_bin1709.fits scfile=/scratch/kocevski/28598/ft2_4FGL_J0525.8-0052_daily_bin1709.fits outfile=/scratch/kocevski/28598/cmap_682300801_682560001_4FGL_J0525.8-0052_daily_bin1709.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=81.4666 yref=-0.8709 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.49
user 0.32
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28598/ft1_filtered_4FGL_J0525.8-0052_daily_bin1709.fits scfile=/scratch/kocevski/28598/ft2_4FGL_J0525.8-0052_daily_bin1709.fits outfile=/scratch/kocevski/28598/cmap_HighResolution_682300801_682560001_4FGL_J0525.8-0052_daily_bin1709.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=81.4666 yref=-0.8709 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.48
user 0.31
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/28598/ft1_filtered_4FGL_J0525.8-0052_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/28598/ft2_4FGL_J0525.8-0052_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/28598/Model_4FGL_J0525.8-0052_daily_bin1709.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
adding source Monoceros
adding source Rosette
Working on...
/scratch/kocevski/28598/ft1_filtered_4FGL_J0525.8-0052_daily_bin1709.fits.....................!
real 240.93
user 239.32
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/28598/ft1_filtered_4FGL_J0525.8-0052_daily_bin1709.fits', '/scratch/kocevski/28598/ft2_4FGL_J0525.8-0052_daily_bin1709.fits', expMap='/scratch/kocevski/28598/expmap_682300801_682560001_4FGL_J0525.8-0052_daily_bin1709.fits', expCube='/scratch/kocevski/28598/ltcube_682300801_682560001_4FGL_J0525.8-0052_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/28598/Model_4FGL_J0525.8-0052_daily_bin1709.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0525.8-0052'

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  1.005e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
230        Index:  2.098e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
231        Scale:  2.197e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/28598/ft1_filtered_4FGL_J0525.8-0052_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/28598/ft2_4FGL_J0525.8-0052_daily_bin1709.fits
Exposure map: /scratch/kocevski/28598/expmap_682300801_682560001_4FGL_J0525.8-0052_daily_bin1709.fits
Exposure cube: /scratch/kocevski/28598/ltcube_682300801_682560001_4FGL_J0525.8-0052_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/28598/Model_4FGL_J0525.8-0052_daily_bin1709.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) = 14409.2010566

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5062       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10820E-02   1.0000          .0000       .10000E+07
     3 'norm      '    2.9239       1.0000          .0000       .10000E+07
     4 'Prefactor '    29.929       1.0000          .0000       .10000E+07
     5 'norm      '    .82093       1.0000          .0000       .10000E+07
     6 'Prefactor '    18.929       1.0000          .0000       .10000E+07
     7 'norm      '    6.8746       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.3951       1.0000          .0000       .10000E+07
     9 'norm      '    23.609       1.0000          .0000       .10000E+07
    10 'Prefactor '    .87139E-05   1.0000          .0000       .10000E+07
    11 'norm      '    1.0000       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.9975       1.0000          .0000       .10000E+07
    13 'Prefactor '    .43173E-04   1.0000          .0000       .10000E+07
    14 'norm      '    4.5224       1.0000          .0000       .10000E+07
    15 'norm      '    .42744E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .14158E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2514       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0079       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14409.19     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1246 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5118        2.2465       -.11500E-07   -.22936E-04
   2  Prefactor     .41023E-07    30.475        .12506E-06** at limit **
   3  norm          2.9197        2.0044       -.50866E-08   -.10317E-03
   4  Prefactor     32.612        33.590        .15933E-06    .98554E-02
   5  norm          .80166        .61136        .12165E-08   -.32174E-03
   6  Prefactor     19.561        20.600       -.67486E-07    .33123E-01
   7  norm          6.8318        3.3766       -.14743E-07   -.75361E-04
   8  Prefactor     4.3783        3.4273       -.10744E-08   -.34415E-04
   9  norm          23.791        12.233        .18501E-07   -.67895E-01
  10  Prefactor      .0000        2.3181        .22235E-07** at limit **
  11  norm          1.0051        .87818       -.17071E-07    .19673E-03
  12  Prefactor     2.8521        22.979       -.35797E-06   -.34993E-02
  13  Prefactor     .11102E-09    9.1462       -.96878E-07** at limit **
  14  norm          4.5270        3.8733        .15636E-07   -.31390E-04
  15  norm           .0000        10.700       -.26555E-06** at limit **
  16  norm           .0000        2.3779       -.44315E-07** at limit **
  17  Normalizat    1.2462        .25272       -.57377E-06    .12183E-07
  18  Prefactor     1.0085        .55783E-01    .14236E-06   -.32105E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.51179
  Prefactor  = 4.10227e-08
  norm       = 2.91969
  Prefactor  = 32.6121
  norm       = 0.801659
  Prefactor  = 19.5607
  norm       = 6.83175
  Prefactor  = 4.37826
  norm       = 23.7912
  Prefactor  = 0
  norm       = 1.00507
  Prefactor  = 2.85213
  Prefactor  = 1.11022e-10
  norm       = 4.52695
  norm       = 0
  norm       = 0
  Normalizat = 1.24616
  Prefactor  = 1.00854
 **********
 **   18 **HESSE 
 **********

 FCN=   14409.19     FROM HESSE     STATUS=OK           288 CALLS     1534 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5118        2.2486        .53968E-03   -1.5670    
   2  Prefactor     .41023E-07    30.517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.9197        2.0097        .59384E-03   -1.5674    
   4  Prefactor     32.612        33.804        .18282E-03   -1.5594    
   5  norm          .80166        .61908        .51388E-03   -1.5690    
   6  Prefactor     19.561        22.508        .22993E-03   -1.5620    
   7  norm          6.8318        3.3783        .38242E-03   -1.5656    
   8  Prefactor     4.3783        3.4337        .48016E-03   -1.5666    
   9  norm          23.791        37.453        .20586E-03   -1.5610    
  10  Prefactor      .0000        2.3130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.0051        .88511        .43765E-03   -1.5688    
  12  Prefactor     2.8521        23.262        .58605E-03   -1.5674    
  13  Prefactor     .11102E-09    9.1523        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.5270        3.8731        .47317E-03   -1.5665    
  15  norm           .0000        10.668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        2.3738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2462        .24044        .12380       -.85188    
  18  Prefactor     1.0085        .52501E-01    .32022E-01   -.92445    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.06162e-07
Minuit parameter uncertainties:
  1  2.24859
  2  0.00223777
  3  2.00966
  4  33.8045
  5  0.619081
  6  22.5084
  7  3.37829
  8  3.43375
  9  37.4534
  10  3.88901e-07
  11  0.885108
  12  16.2909
  13  6.09041e-05
  14  3.8731
  15  1.80274e-05
  16  6.78643e-08
  17  0.240658
  18  0.0525032
Done.

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

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  0.000e+00  3.889e-07  0.000e+00  1.000e+06 ( 1.000e-13)
230        Index:  2.098e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
231        Scale:  2.197e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
498    Prefactor:  1.009e+00  5.250e-02  0.000e+00  1.000e+01 ( 1.000e+00)
499        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
500        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
497   Normalization:  1.246e+00  2.407e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 81.467 -0.871
Photon Flux Upper Limit: 6.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/28598/likelihoodResults_682300801_682560001_4FGL_J0525.8-0052_daily_bin1709.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) = 14409.1894574
delta logL = -0.000994086782157

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14409.1884657
delta logL = -2.37782842305e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14409.19     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      241 TOTAL
                     EDM=   .49E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.8786        .42118E-03** at limit **
   2  Index         2.3357        1.3688        .66546E-05     .0000    
   3  Normalizat    1.2462        1.0925       -.14923E-04    .18074E-04
   4  Prefactor     1.0085        1.2701        .94784E-06    .43632E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.33571
  Normalizat = 1.24616
  Prefactor  = 1.00854
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14409.19     FROM HESSE     STATUS=FAILED         9 CALLS      250 TOTAL
                     EDM=   .49E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.8786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .60927        1.8697        .66546E-05   -.56197    
   3  Normalizat    1.2462        1.0925       -.14923E-04   -.85188    
   4  Prefactor     1.0085        1.2701        .94784E-06   -.92445    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.93848e-13
Minuit parameter uncertainties:
  1  3.3662e-07
  2  1.3939
  3  1.11366
  4  1.3111
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28598': 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) = 14409.1884634
delta logL = 0.0

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  0.000e+00  3.366e-07  0.000e+00  1.000e+06 ( 1.000e-13)
230        Index:  2.336e+00  1.394e+00  0.000e+00  1.000e+01 (-1.000e+00)
231        Scale:  2.197e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
498    Prefactor:  1.009e+00  1.311e+00  0.000e+00  1.000e+01 ( 1.000e+00)
499        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
500        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
497   Normalization:  1.246e+00  1.114e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 81.467 -0.871

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/28598/cmap_HighResolution_682300801_682560001_4FGL_J0525.8-0052_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.88e-03', job_status='DONE', photon_flux_upper_limit='6.45e-08', time_completed='2022-09-16 11:55:29.643241', job_id='28598', GAL2='1.01', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1663354529.64', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.10' WHERE bin_id='1709' AND source_name='4FGL J0525.8-0052' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 11:55:29 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 28598: <4FGL_J0525.8-0052_daily_bin1709> in cluster <slac> Done

Job <4FGL_J0525.8-0052_daily_bin1709> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Sep 16 11:40:23 2022
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 11:42:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 11:42:18 2022
Terminated at Fri Sep 16 11:55:30 2022
Results reported at Fri Sep 16 11:55:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0525.8-0052_daily_bin1709 81.4666 -0.8709 682300801 682560001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0525.8-0052 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   755.40 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             391.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            907 sec.

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

