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 58 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0025.7-4801_daily_bin1695
RA = 6.4351, Dec = -48.0191
tmin = 678672001, tmax = 678931201
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='849190', job_status='RUN', time_executed='2022-07-08 08:26:23.256065', time_epoch_executed='1657293983.26' WHERE source_name='4FGL J0025.7-4801' and cadence='daily' and bin_id='1695'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849190

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849190/ft1_4FGL_J0025.7-4801_daily_bin1695.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849190/ft2_4FGL_J0025.7-4801_daily_bin1695.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849190/ft1_4FGL_J0025.7-4801_daily_bin1695.fits outfile=/scratch/kocevski/849190/ft1_filteredMKT_4FGL_J0025.7-4801_daily_bin1695.fits ra=6.4351 dec=-48.0191 rad=12.0 tmin=678672001.0 tmax=678931201.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.66
user 3.40
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/849190/ft2_4FGL_J0025.7-4801_daily_bin1695.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/849190/ft1_filteredMKT_4FGL_J0025.7-4801_daily_bin1695.fits evtable="EVENTS" outfile="/scratch/kocevski/849190/ft1_filtered_4FGL_J0025.7-4801_daily_bin1695.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.31
sys 0.17

Number of photons that the gtmktime cut: 416

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849190/ft1_filtered_4FGL_J0025.7-4801_daily_bin1695.fits" evtable="EVENTS" scfile=/scratch/kocevski/849190/ft2_4FGL_J0025.7-4801_daily_bin1695.fits sctable="SC_DATA" outfile=/scratch/kocevski/849190/ltcube_678672001_678931201_4FGL_J0025.7-4801_daily_bin1695.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/849190/ft2_4FGL_J0025.7-4801_daily_bin1695.fits
.....................!
real 13.54
user 11.95
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849190/ft1_filtered_4FGL_J0025.7-4801_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/849190/ft2_4FGL_J0025.7-4801_daily_bin1695.fits sctable="SC_DATA" expcube=/scratch/kocevski/849190/ltcube_678672001_678931201_4FGL_J0025.7-4801_daily_bin1695.fits outfile=/scratch/kocevski/849190/expmap_678672001_678931201_4FGL_J0025.7-4801_daily_bin1695.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/849190/ltcube_678672001_678931201_4FGL_J0025.7-4801_daily_bin1695.fits
.....................!
real 191.86
user 185.80
sys 5.06

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/849190/ft1_filtered_4FGL_J0025.7-4801_daily_bin1695.fits scfile=/scratch/kocevski/849190/ft2_4FGL_J0025.7-4801_daily_bin1695.fits outfile=/scratch/kocevski/849190/cmap_678672001_678931201_4FGL_J0025.7-4801_daily_bin1695.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.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849190/ft1_filtered_4FGL_J0025.7-4801_daily_bin1695.fits scfile=/scratch/kocevski/849190/ft2_4FGL_J0025.7-4801_daily_bin1695.fits outfile=/scratch/kocevski/849190/cmap_HighResolution_678672001_678931201_4FGL_J0025.7-4801_daily_bin1695.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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/849190/ft1_filtered_4FGL_J0025.7-4801_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/849190/ft2_4FGL_J0025.7-4801_daily_bin1695.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/849190/Model_4FGL_J0025.7-4801_daily_bin1695.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/849190/ft1_filtered_4FGL_J0025.7-4801_daily_bin1695.fits.....................!
real 37.93
user 35.20
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/849190/ft1_filtered_4FGL_J0025.7-4801_daily_bin1695.fits', '/scratch/kocevski/849190/ft2_4FGL_J0025.7-4801_daily_bin1695.fits', expMap='/scratch/kocevski/849190/expmap_678672001_678931201_4FGL_J0025.7-4801_daily_bin1695.fits', expCube='/scratch/kocevski/849190/ltcube_678672001_678931201_4FGL_J0025.7-4801_daily_bin1695.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/849190/Model_4FGL_J0025.7-4801_daily_bin1695.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  1.000e-04  1.000e+04 ( 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/849190/ft1_filtered_4FGL_J0025.7-4801_daily_bin1695.fits
Spacecraft file(s): /scratch/kocevski/849190/ft2_4FGL_J0025.7-4801_daily_bin1695.fits
Exposure map: /scratch/kocevski/849190/expmap_678672001_678931201_4FGL_J0025.7-4801_daily_bin1695.fits
Exposure cube: /scratch/kocevski/849190/ltcube_678672001_678931201_4FGL_J0025.7-4801_daily_bin1695.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/849190/Model_4FGL_J0025.7-4801_daily_bin1695.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) = 4665.59850422

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.500       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.3688       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.1011       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.1888       1.0000         .10000E-03   10000.    
     9 'norm      '    17.237       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .18017E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.5080       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.991       1.0000         .10000E-03   10000.    
    13 'norm      '    .62837       1.0000         .10000E-03   10000.    
    14 'Prefactor '    35.371       1.0000         .10000E-03   10000.    
    15 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    28.849       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10683E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.973       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.3878       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    11.098       1.0000         .10000E-03   10000.    
    29 'norm      '    11.098       1.0000         .10000E-03   10000.    
    30 'Prefactor '    4.3777       1.0000         .10000E-03   10000.    
    31 'Prefactor '    4.8527       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .78259       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .92674       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4665.581     FROM MIGRAD    STATUS=CONVERGED   1598 CALLS     5311 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    72.168        .18142E-02** at limit **
   2  Prefactor     11.500        17.760        .11814E-03   -.17996E-04
   3  Prefactor     9.3557        33.206        .13093E-03    .21447E-04
   4  Prefactor     .10000E-03    4.3649        .13905E-02** at limit **
   5  Prefactor     .10000E-03    2.7026        .10950E-02** at limit **
   6  Prefactor     .10000E-03    13.547        .18142E-02** at limit **
   7  Prefactor     7.1020        6.6043        .15054E-03    .27037E-04
   8  Prefactor     4.1781        5.9187        .18123E-03    .34720E-03
   9  norm          17.244        28.232        .96468E-04    .19563E-04
  10  Prefactor     .10004E-03    163.88        .59145E-02** at limit **
  11  Prefactor     1.5078        7.9932        .34842E-03    .37394E-04
  12  Prefactor     12.990        5.2622        .94323E-04   -.81960E-05
  13  norm          .54457        365.00        .69944E-02    .96297E-04
  14  Prefactor     35.387        41.476        .67383E-04   -.92963E-04
  15  norm          .10000E-03    2.5674        .10614E-02** at limit **
  16  Prefactor     28.853        25.232        .74592E-04   -.32769E-04
  17  Prefactor     .10000E-03    19.113        .18142E-02** at limit **
  18  norm          .10000E-03    5.3823        .15379E-02** at limit **
  19  Prefactor     10.966        16.166        .12095E-03    .40325E-04
  20  norm          .10000E-03    6.1660        .16565E-02** at limit **
  21  norm          .10000E-03    2.1636        .98108E-03** at limit **
  22  Prefactor     2.3878        3.5099        .15148E-03   -.24541E-04
  23  Prefactor     .10000E-03    4.3377        .13884E-02** at limit **
  24  norm          .10000E-03    .30042        .36299E-03** at limit **
  25  norm          .10000E-03    1.4197        .79356E-03** at limit **
  26  Prefactor     .10000E-03    9.4016        .18142E-02** at limit **
  27  Prefactor     .10000E-03    3.8488        .19491E-02** at limit **
  28  Prefactor     11.090        15.451        .12026E-03    .28171E-04
  29  norm          11.110        23.185        .12026E-03   -.94534E-05
  30  Prefactor     4.3768        6.5885        .18428E-03   -.21209E-03
  31  Prefactor     4.8527        3.8854        .11430E-03   -.16610E-03
  32  Normalizat    .78266        .21553        .22629E-03    .47879E-04
  33  Prefactor     .92674        .22998        .24047E-03    .64486E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 11.5002
  Prefactor  = 9.35571
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.10201
  Prefactor  = 4.17811
  norm       = 17.2438
  Prefactor  = 0.000100044
  Prefactor  = 1.50778
  Prefactor  = 12.9904
  norm       = 0.544569
  Prefactor  = 35.3869
  norm       = 0.0001
  Prefactor  = 28.8526
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.966
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 2.38776
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.0902
  norm       = 11.1098
  Prefactor  = 4.37675
  Prefactor  = 4.85269
  Normalizat = 0.782662
  Prefactor  = 0.926742
 **********
 **   18 **HESSE 
 **********

 FCN=   4665.581     FROM HESSE     STATUS=OK           665 CALLS     5976 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    72.178        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.500        17.763        .47254E-05   -1.5030    
   3  Prefactor     9.3557        33.199        .52373E-05   -1.5096    
   4  Prefactor     .10000E-03    4.3653        .27810E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.7027        .21901E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    13.547        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.1020        6.6039        .60214E-05   -1.5175    
   8  Prefactor     4.1781        5.8736        .72494E-05   -1.5299    
   9  norm          17.244        28.234        .38587E-05   -1.4877    
  10  Prefactor     .10004E-03    167.05        .23658E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.5078        7.9909        .13937E-04   -1.5462    
  12  Prefactor     12.990        5.2598        .37729E-05   -1.4987    
  13  norm          .54457        369.45        .27978E-02   -1.5560    
  14  Prefactor     35.387        41.472        .13477E-04   -1.4518    
  15  norm          .10000E-03    2.5678        .21227E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     28.853        25.217        .29837E-05   -1.4633    
  17  Prefactor     .10000E-03    19.117        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    5.3842        .30759E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.966        16.163        .48378E-05   -1.5046    
  20  norm          .10000E-03    6.1660        .33130E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    2.1636        .19622E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.3878        3.5098        .60593E-05   -1.5399    
  23  Prefactor     .10000E-03    4.3378        .27768E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    .30042        .72598E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    1.4197        .15871E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    9.4035        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    3.8573        .38981E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     11.090        15.450        .48105E-05   -1.5042    
  29  norm          11.110        23.184        .48104E-05   -1.5041    
  30  Prefactor     4.3768        6.5817        .73713E-05   -1.5290    
  31  Prefactor     4.8527        3.8846        .45720E-05   -1.5267    
  32  Normalizat    .78266        .21437        .90515E-05   -1.0072    
  33  Prefactor     .92674        .22997        .96187E-05   -.95213    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42366e-09
Minuit parameter uncertainties:
  1  5.11754e-05
  2  17.7711
  3  33.2643
  4  8.27036e-06
  5  3.39602e-08
  6  5.88945e-07
  7  6.60459
  8  5.87445
  9  28.2563
  10  0.00543796
  11  6.94342
  12  5.26002
  13  28.5442
  14  41.5062
  15  5.18314e-07
  16  25.226
  17  3.21343e-05
  18  6.11392e-06
  19  16.1696
  20  1.70695e-06
  21  1.46061e-07
  22  3.51012
  23  7.00802e-06
  24  3.15165e-07
  25  7.82534e-07
  26  3.8794e-07
  27  7.2589e-05
  28  15.4558
  29  23.2029
  30  6.58277
  31  3.8848
  32  0.214597
  33  0.230209
Done.

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

Extracting fit parameters...

4FGL J0025.7-4801
   Spectrum: PowerLaw
72     Prefactor:  7.102e+00  6.605e+00  1.000e-04  1.000e+04 ( 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:  9.267e-01  2.302e-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:  7.827e-01  2.146e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.21
Ra Dec: 6.435 -48.019
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 2.47e-08 +/- 2.29e-08
Energy Flux (Fixed Index): 1.05e-05 +/- 9.75e-06

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

Saving results to:
/scratch/kocevski/849190/likelihoodResults_678672001_678931201_4FGL_J0025.7-4801_daily_bin1695.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) = 4665.50068386
delta logL = 0.0806551843179

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4665.49622355
delta logL = 0.0851154926977

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6608       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6046       1.0000          .0000       10.000    
     3 'Normalizat'    .77053       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93521       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4665.496     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      267 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6617        8.8733        .12371E-03    .26935E-03
   2  Index         2.6048        1.1429        .64384E-02    .66006E-04
   3  Normalizat    .77057        .19696        .22786E-03    .30260E-03
   4  Prefactor     .93518        .22379        .23947E-03    .37576E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.66172
  Index      = 2.60477
  Normalizat = 0.770571
  Prefactor  = 0.935182
 **********
 **   18 **HESSE 
 **********

 FCN=   4665.496     FROM HESSE     STATUS=OK            25 CALLS      292 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6617        7.3823        .49485E-05   -1.5276    
   2  Index         2.6048        .95315        .25754E-03   -.49957    
   3  Normalizat    .77057        .19599        .45572E-04   -1.0117    
   4  Prefactor     .93518        .22330        .47894E-04   -.94922    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14447e-10
Minuit parameter uncertainties:
  1  7.38374
  2  0.960809
  3  0.196172
  4  0.223522
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849190': 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) = 4665.4962234
delta logL = 0.0851156496146

Extracting fit parameters...

4FGL J0025.7-4801
   Spectrum: PowerLaw
72     Prefactor:  4.662e+00  7.384e+00  1.000e-04  1.000e+04 ( 1.000e-13)
73         Index:  2.605e+00  9.608e-01  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:  9.352e-01  2.235e-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:  7.706e-01  1.962e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.38
Ra Dec: 6.435 -48.019
Photon Index (Free Index): 2.60 +/- 0.96
Photon Flux (Free Index): 3.43e-08 +/- 3.81e-08
Energy Flux (Free Index): 8.97e-06 +/- 8.02e-06

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/849190/cmap_HighResolution_678672001_678931201_4FGL_J0025.7-4801_daily_bin1695.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.36e-03', comment='SUCCESS', photon_flux='2.47e-08', energy_flux2='8.97e-06', photon_flux_error='2.29e-08', dlogl='8.51e-02', energy_flux='1.05e-05', photon_flux2='3.43e-08', job_status='DONE', time_completed='2022-07-08 08:40:23.089894', photon_index_error2='0.96', photon_index2='2.60', ts='2.21', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='8.32e-08', energy_flux_error2='8.02e-06', EG='0.78', time_epoch_completed='1657294823.09', return_code='0', job_id='849190', GAL2='0.94', EG2='0.77', return_code2='0', energy_flux_error='9.75e-06', photon_flux_error2='3.81e-08', ts2='2.38', photon_index='2.23' WHERE bin_id='1695' AND source_name='4FGL J0025.7-4801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul  8 08:40:23 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 849190: <4FGL_J0025.7-4801_daily_bin1695> in cluster <slac> Done

Job <4FGL_J0025.7-4801_daily_bin1695> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Jul  8 08:25:12 2022
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul  8 08:25:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul  8 08:25:14 2022
Terminated at Fri Jul  8 08:40:23 2022
Results reported at Fri Jul  8 08:40:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0025.7-4801_daily_bin1695 6.4351 -48.0191 678672001 678931201 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 :                                   836.43 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             341.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            911 sec.

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

