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


Performing analysis on: 4FGL_J0025.7-4801_daily_bin1745
RA = 6.4351, Dec = -48.0191
tmin = 691632001, tmax = 691891201
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='636958', job_status='RUN', time_executed='2022-12-05 00:05:50.171214', time_epoch_executed='1670227550.17' WHERE source_name='4FGL J0025.7-4801' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/636958

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/636958/ft1_4FGL_J0025.7-4801_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/636958/ft2_4FGL_J0025.7-4801_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/636958/ft1_4FGL_J0025.7-4801_daily_bin1745.fits outfile=/scratch/kocevski/636958/ft1_filteredMKT_4FGL_J0025.7-4801_daily_bin1745.fits ra=6.4351 dec=-48.0191 rad=12.0 tmin=691632001.0 tmax=691891201.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.46
user 2.22
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/636958/ft2_4FGL_J0025.7-4801_daily_bin1745.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/636958/ft2_4FGL_J0025.7-4801_daily_bin1745.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/636958/ft1_filteredMKT_4FGL_J0025.7-4801_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/636958/ft1_filtered_4FGL_J0025.7-4801_daily_bin1745.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.52
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 672

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/636958/ft1_filtered_4FGL_J0025.7-4801_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/636958/ft2_4FGL_J0025.7-4801_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/636958/ltcube_691632001_691891201_4FGL_J0025.7-4801_daily_bin1745.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/636958/ft2_4FGL_J0025.7-4801_daily_bin1745.fits
.....................!
real 12.86
user 12.38
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/636958/ft1_filtered_4FGL_J0025.7-4801_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/636958/ft2_4FGL_J0025.7-4801_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/636958/ltcube_691632001_691891201_4FGL_J0025.7-4801_daily_bin1745.fits outfile=/scratch/kocevski/636958/expmap_691632001_691891201_4FGL_J0025.7-4801_daily_bin1745.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/636958/ltcube_691632001_691891201_4FGL_J0025.7-4801_daily_bin1745.fits
.....................!
real 191.61
user 185.79
sys 5.11

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

Setting source of interest to:
4FGL J0025.7-4801 @ 6.4351 -48.0191

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/636958/ft1_filtered_4FGL_J0025.7-4801_daily_bin1745.fits scfile=/scratch/kocevski/636958/ft2_4FGL_J0025.7-4801_daily_bin1745.fits outfile=/scratch/kocevski/636958/cmap_691632001_691891201_4FGL_J0025.7-4801_daily_bin1745.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=6.4351 yref=-48.0191 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.57
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/636958/ft1_filtered_4FGL_J0025.7-4801_daily_bin1745.fits scfile=/scratch/kocevski/636958/ft2_4FGL_J0025.7-4801_daily_bin1745.fits outfile=/scratch/kocevski/636958/cmap_HighResolution_691632001_691891201_4FGL_J0025.7-4801_daily_bin1745.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=6.4351 yref=-48.0191 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.59
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/636958/ft1_filtered_4FGL_J0025.7-4801_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/636958/ft2_4FGL_J0025.7-4801_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/636958/Model_4FGL_J0025.7-4801_daily_bin1745.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/636958/ft1_filtered_4FGL_J0025.7-4801_daily_bin1745.fits.....................!
real 54.92
user 49.75
sys 1.34

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/636958/ft1_filtered_4FGL_J0025.7-4801_daily_bin1745.fits', '/scratch/kocevski/636958/ft2_4FGL_J0025.7-4801_daily_bin1745.fits', expMap='/scratch/kocevski/636958/expmap_691632001_691891201_4FGL_J0025.7-4801_daily_bin1745.fits', expCube='/scratch/kocevski/636958/ltcube_691632001_691891201_4FGL_J0025.7-4801_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/636958/Model_4FGL_J0025.7-4801_daily_bin1745.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0025.7-4801'

4FGL J0025.7-4801
   Spectrum: PowerLaw
72     Prefactor:  1.475e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
73         Index:  2.231e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
74         Scale:  1.512e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/636958/ft1_filtered_4FGL_J0025.7-4801_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/636958/ft2_4FGL_J0025.7-4801_daily_bin1745.fits
Exposure map: /scratch/kocevski/636958/expmap_691632001_691891201_4FGL_J0025.7-4801_daily_bin1745.fits
Exposure cube: /scratch/kocevski/636958/ltcube_691632001_691891201_4FGL_J0025.7-4801_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/636958/Model_4FGL_J0025.7-4801_daily_bin1745.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) = 7196.26082067

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    69.454       1.0000          .0000       .10000E+07
     2 'Prefactor '    17.891       1.0000          .0000       .10000E+07
     3 'Prefactor '    .17688E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    11.625       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.5666       1.0000          .0000       .10000E+07
     6 'Prefactor '    .28989E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.8499       1.0000          .0000       .10000E+07
     8 'norm      '    .45530E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    44.418       1.0000          .0000       .10000E+07
    10 'Prefactor '    .52398       1.0000          .0000       .10000E+07
    11 'Prefactor '    7.1724       1.0000          .0000       .10000E+07
    12 'norm      '    12.768       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.232       1.0000          .0000       .10000E+07
    14 'norm      '    8.2945       1.0000          .0000       .10000E+07
    15 'norm      '    158.08       1.0000          .0000       .10000E+07
    16 'Prefactor '    18.376       1.0000          .0000       .10000E+07
    17 'norm      '    .12983E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .38441E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    4.3781       1.0000          .0000       .10000E+07
    20 'Prefactor '    .28766E-06   1.0000          .0000       .10000E+07
    21 'norm      '    .90063       1.0000          .0000       .10000E+07
    22 'norm      '    .10605E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    29.685       1.0000          .0000       .10000E+07
    24 'Prefactor '    1.0933       1.0000          .0000       .10000E+07
    25 'Prefactor '    .39890E-03   1.0000          .0000       .10000E+07
    26 'norm      '    .64779E-04   1.0000          .0000       .10000E+07
    27 'Prefactor '    .62912       1.0000          .0000       .10000E+07
    28 'Prefactor '    .52670E-03   1.0000          .0000       .10000E+07
    29 'Normalizat'    1.1830       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .87370       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7196.089     FROM MIGRAD    STATUS=CONVERGED    170 CALLS     2844 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     72.877        53.078        .24737E-06   -.26823E-01
   2  Prefactor     18.061        5.2377        .11241E-07   -.14912E-01
   3  Prefactor     .10291E-05    26.245        .99797E-06** at limit **
   4  Prefactor     11.774        9.7241        .45389E-06    .47796E-02
   5  Prefactor     5.5829        6.6816        .55792E-07   -.78873E-03
   6  Prefactor     .11475E-05    13.098        .70463E-06** at limit **
   7  Prefactor     2.8166        4.3706       -.82166E-07   -.63104E-03
   8  norm          .86225E-06    16.970       -.45347E-06** at limit **
   9  Prefactor     44.930        6.6103       -.12374E-06    .11123    
  10  Prefactor     .57521        19.168        .86307E-06   -.79605E-02
  11  Prefactor     7.1774        3.9686        .35997E-07   -.21145E-02
  12  norm          12.647        2.1430       -.33249E-07   -.39019E-03
  13  Prefactor     14.825        10.066       -.25938E-06    .12536    
  14  norm          8.2888        4.6037        .57642E-07   -.20605E-02
  15  norm          158.08        2.3369       -.15081E-07    .18619E-01
  16  Prefactor     18.412        1.1895       -.15595E-07    .37241E-02
  17  norm          .64393E-08    4.5750        .96712E-07** at limit **
  18  norm           .0000        3.3029        .24156E-06** at limit **
  19  Prefactor     4.3760        4.5039        .78966E-08    .33972E-03
  20  Prefactor     .22204E-09    6.4448       -.27629E-06** at limit **
  21  norm          .90211        1.0041       -.11262E-06    .35321E-02
  22  norm          .55511E-10    1.6495        .41602E-06** at limit **
  23  Prefactor     29.725        3.0315       -.37234E-07    .13210E-01
  24  Prefactor     1.0982        1.8260       -.25125E-06    .29435E-02
  25  Prefactor     .26940E-06    10.562        .97821E-07** at limit **
  26  norm          .18208E-07    4.6848        .10745E-06** at limit **
  27  Prefactor     .66810        9.5257        .18286E-06    .72048E-03
  28  Prefactor     .17514E-06    2.6142        .12303E-08** at limit **
  29  Normalizat    1.1811        .22109       -.41888E-05   -.13008E-03
  30  Prefactor     .87348        .24251        .99314E-05   -.14973E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 72.8766
  Prefactor  = 18.0612
  Prefactor  = 1.02907e-06
  Prefactor  = 11.7743
  Prefactor  = 5.58288
  Prefactor  = 1.14747e-06
  Prefactor  = 2.81663
  norm       = 8.62255e-07
  Prefactor  = 44.9296
  Prefactor  = 0.575214
  Prefactor  = 7.17738
  norm       = 12.6472
  Prefactor  = 14.8253
  norm       = 8.28885
  norm       = 158.076
  Prefactor  = 18.412
  norm       = 6.43929e-09
  norm       = 0
  Prefactor  = 4.37598
  Prefactor  = 2.22045e-10
  norm       = 0.902114
  norm       = 5.55112e-11
  Prefactor  = 29.725
  Prefactor  = 1.09818
  Prefactor  = 2.69396e-07
  norm       = 1.82077e-08
  Prefactor  = 0.668101
  Prefactor  = 1.75138e-07
  Normalizat = 1.18112
  Prefactor  = 0.873481
 **********
 **   18 **HESSE 
 **********

 FCN=   7196.089     FROM HESSE     STATUS=OK           666 CALLS     3510 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     72.877        53.326        .12000E-03   -1.5537    
   2  Prefactor     18.061        23.503        .23651E-03   -1.5623    
   3  Prefactor     .10291E-05    27.982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.774        9.7494        .29357E-03   -1.5639    
   5  Prefactor     5.5829        6.7025        .42558E-03   -1.5661    
   6  Prefactor     .11475E-05    14.425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.8166        4.6814        .60201E-03   -1.5674    
   8  norm          .86225E-06    19.245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     44.930        29.549        .15006E-03   -1.5574    
  10  Prefactor     .57521        18.899        .76333E-03   -1.5693    
  11  Prefactor     7.1774        3.9729        .37431E-03   -1.5654    
  12  norm          12.647        21.422        .28008E-03   -1.5637    
  13  Prefactor     14.825        35.105        .26524E-03   -1.5631    
  14  norm          8.2888        4.6098        .34786E-03   -1.5650    
  15  norm          158.08        21.874        .79543E-04   -1.5457    
  16  Prefactor     18.412        20.925        .23337E-03   -1.5622    
  17  norm          .64393E-08    9.3381        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        3.3007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.3760        4.5225        .48111E-03   -1.5666    
  20  Prefactor     .22204E-09    6.4523        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .90211        1.0613        .45717E-03   -1.5689    
  22  norm          .55511E-10    1.6486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     29.725        21.572        .18357E-03   -1.5599    
  24  Prefactor     1.0982        2.3333        .33337E-02   -1.5687    
  25  Prefactor     .26940E-06    10.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .18208E-07    9.3050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .66810        10.261        .66659E-03   -1.5692    
  28  Prefactor     .17514E-06    3.2741        .51822E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.1811        .18544        .56214E-01   -.87188    
  30  Prefactor     .87348        .19946        .71889E-01   -.97074    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80433e-06
Minuit parameter uncertainties:
  1  53.3267
  2  23.5028
  3  0.0107323
  4  9.74944
  5  6.70248
  6  0.00813698
  7  4.68141
  8  0.00814726
  9  29.5491
  10  6.59431
  11  3.97289
  12  21.4221
  13  35.106
  14  4.60984
  15  21.874
  16  20.9249
  17  0.000490322
  18  1.32973e-05
  19  4.52253
  20  7.50462e-05
  21  1.06128
  22  1.50805e-05
  23  21.5724
  24  2.33326
  25  0.00340391
  26  0.000823803
  27  5.23646
  28  0.00151458
  29  0.185544
  30  0.199626
Done.

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

Extracting fit parameters...

4FGL J0025.7-4801
   Spectrum: PowerLaw
72     Prefactor:  1.147e-06  8.137e-03  0.000e+00  1.000e+06 ( 1.000e-13)
73         Index:  2.231e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
74         Scale:  1.512e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  8.735e-01  1.996e-01  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.181e+00  1.855e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 6.435 -48.019
Photon Flux Upper Limit: 6.47e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/636958/likelihoodResults_691632001_691891201_4FGL_J0025.7-4801_daily_bin1745.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) = 7196.12757855
delta logL = -0.0387377853849

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7196.08884561
delta logL = -4.84246720589e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22121E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.1359       1.0000          .0000       10.000    
     3 'Normalizat'    1.1807       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87418       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7196.089     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      239 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.1522        .42118E-03** at limit **
   2  Index         2.8308        1.1172        .17140E-03     .0000    
   3  Normalizat    1.1811        1.1135       -.13177E-04    .11662E-03
   4  Prefactor     .87348        1.2198        .13677E-04    .78788E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.83077
  Normalizat = 1.18112
  Prefactor  = 0.873482
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7196.089     FROM HESSE     STATUS=FAILED         9 CALLS      248 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.1522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .90761        1.9909        .17140E-03   -.44876    
   3  Normalizat    1.1811        1.1135       -.13177E-04   -.87188    
   4  Prefactor     .87348        1.2198        .13677E-04   -.97074    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.24326e-11
Minuit parameter uncertainties:
  1  2.15637e-05
  2  1.129
  3  1.13713
  4  1.26138
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/636958': 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) = 7196.08884072
delta logL = 3.94493326894e-08

Extracting fit parameters...

4FGL J0025.7-4801
   Spectrum: PowerLaw
72     Prefactor:  0.000e+00  2.156e-05  0.000e+00  1.000e+06 ( 1.000e-13)
73         Index:  2.831e+00  1.129e+00  0.000e+00  1.000e+01 (-1.000e+00)
74         Scale:  1.512e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  8.735e-01  1.261e+00  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.181e+00  1.137e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 6.435 -48.019

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/636958/cmap_HighResolution_691632001_691891201_4FGL_J0025.7-4801_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.94e-03', job_status='DONE', photon_flux_upper_limit='6.47e-08', time_completed='2022-12-05 00:19:36.570257', job_id='636958', GAL2='0.87', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1670228376.57', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='3.94e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1745' AND source_name='4FGL J0025.7-4801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:19:36 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 636958: <4FGL_J0025.7-4801_daily_bin1745> in cluster <slac> Done

Job <4FGL_J0025.7-4801_daily_bin1745> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Dec  5 00:04:43 2022
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:04:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:04:44 2022
Terminated at Mon Dec  5 00:19:37 2022
Results reported at Mon Dec  5 00:19:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0025.7-4801_daily_bin1745 6.4351 -48.0191 691632001 691891201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0025.7-4801 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   820.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             291.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   892 sec.
    Turnaround time :                            894 sec.

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

