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


Performing analysis on: 4FGL_J1141.5-1408_daily_bin1780
RA = 175.387, Dec = -14.1457
tmin = 700704001, tmax = 700963201
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='61212', job_status='RUN', time_executed='2023-03-20 00:46:23.371511', time_epoch_executed='1679298383.37' WHERE source_name='4FGL J1141.5-1408' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/61212

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/61212/ft1_4FGL_J1141.5-1408_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/61212/ft2_4FGL_J1141.5-1408_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/61212/ft1_4FGL_J1141.5-1408_daily_bin1780.fits outfile=/scratch/kocevski/61212/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin1780.fits ra=175.387 dec=-14.1457 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.08
user 3.86
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/61212/ft2_4FGL_J1141.5-1408_daily_bin1780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/61212/ft2_4FGL_J1141.5-1408_daily_bin1780.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/61212/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/61212/ft1_filtered_4FGL_J1141.5-1408_daily_bin1780.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.48
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 373

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/61212/ft1_filtered_4FGL_J1141.5-1408_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/61212/ft2_4FGL_J1141.5-1408_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/61212/ltcube_700704001_700963201_4FGL_J1141.5-1408_daily_bin1780.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/61212/ft2_4FGL_J1141.5-1408_daily_bin1780.fits
.....................!
real 11.84
user 11.48
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/61212/ft1_filtered_4FGL_J1141.5-1408_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/61212/ft2_4FGL_J1141.5-1408_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/61212/ltcube_700704001_700963201_4FGL_J1141.5-1408_daily_bin1780.fits outfile=/scratch/kocevski/61212/expmap_700704001_700963201_4FGL_J1141.5-1408_daily_bin1780.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/61212/ltcube_700704001_700963201_4FGL_J1141.5-1408_daily_bin1780.fits
.....................!
real 190.92
user 185.49
sys 5.12

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 J1141.5-1408 @ 175.387 -14.1457

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/61212/ft1_filtered_4FGL_J1141.5-1408_daily_bin1780.fits scfile=/scratch/kocevski/61212/ft2_4FGL_J1141.5-1408_daily_bin1780.fits outfile=/scratch/kocevski/61212/cmap_700704001_700963201_4FGL_J1141.5-1408_daily_bin1780.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=175.387 yref=-14.1457 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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/61212/ft1_filtered_4FGL_J1141.5-1408_daily_bin1780.fits scfile=/scratch/kocevski/61212/ft2_4FGL_J1141.5-1408_daily_bin1780.fits outfile=/scratch/kocevski/61212/cmap_HighResolution_700704001_700963201_4FGL_J1141.5-1408_daily_bin1780.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=175.387 yref=-14.1457 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/61212/ft1_filtered_4FGL_J1141.5-1408_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/61212/ft2_4FGL_J1141.5-1408_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/61212/Model_4FGL_J1141.5-1408_daily_bin1780.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/61212/ft1_filtered_4FGL_J1141.5-1408_daily_bin1780.fits.....................!
real 40.21
user 39.02
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/61212/ft1_filtered_4FGL_J1141.5-1408_daily_bin1780.fits', '/scratch/kocevski/61212/ft2_4FGL_J1141.5-1408_daily_bin1780.fits', expMap='/scratch/kocevski/61212/expmap_700704001_700963201_4FGL_J1141.5-1408_daily_bin1780.fits', expCube='/scratch/kocevski/61212/ltcube_700704001_700963201_4FGL_J1141.5-1408_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/61212/Model_4FGL_J1141.5-1408_daily_bin1780.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1141.5-1408'

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  2.590e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
293        Index:  1.965e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  3.090e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/61212/ft1_filtered_4FGL_J1141.5-1408_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/61212/ft2_4FGL_J1141.5-1408_daily_bin1780.fits
Exposure map: /scratch/kocevski/61212/expmap_700704001_700963201_4FGL_J1141.5-1408_daily_bin1780.fits
Exposure cube: /scratch/kocevski/61212/ltcube_700704001_700963201_4FGL_J1141.5-1408_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/61212/Model_4FGL_J1141.5-1408_daily_bin1780.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) = 3885.44081173

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .36587E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .20249E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    24.530       1.0000          .0000       .10000E+07
     4 'Prefactor '    .10775E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14136E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    114.33       1.0000          .0000       .10000E+07
     7 'norm      '    .41755E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .17779       1.0000          .0000       .10000E+07
     9 'Prefactor '    .15415E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    85.263       1.0000          .0000       .10000E+07
    11 'norm      '    23.080       1.0000          .0000       .10000E+07
    12 'Prefactor '    .18045E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    22.464       1.0000          .0000       .10000E+07
    14 'norm      '    .55339E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    1.1325       1.0000          .0000       .10000E+07
    16 'Prefactor '    29.258       1.0000          .0000       .10000E+07
    17 'Prefactor '    .40093E-04   1.0000          .0000       .10000E+07
    18 'norm      '    3.6876       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.8779       1.0000          .0000       .10000E+07
    20 'Prefactor '    .16307E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    .23317E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .19874E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1256       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90066       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3885.414     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2124 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.2018        .21010E-06** at limit **
   2  Prefactor     .30415E-06    12.059       -.31830E-06** at limit **
   3  Prefactor     21.578        54.486        .65159E-06   -.18419E-02
   4  Prefactor     .13111E-05    10.245       -.24248E-06** at limit **
   5  Prefactor     .32196E-08    6.3939        .31983E-08** at limit **
   6  Prefactor     118.90        92.853        .32440E-06   -.24053E-02
   7  norm          .38858E-09    9.4527       -.46884E-07** at limit **
   8  norm          .17926        .58133        .23562E-07** at limit **
   9  Prefactor      .0000        1.7840        .35808E-07** at limit **
  10  Prefactor     85.225        5.9974       -.12687E-07    .10280    
  11  norm          23.145        18.410        .62416E-07    .68217E-01
  12  Prefactor     .76361E-06    7.3774       -.17008E-06** at limit **
  13  Prefactor     22.478        7.5711        .34020E-08   -.36733E-01
  14  norm           .0000        2.5648        .73883E-07** at limit **
  15  Prefactor     1.1818        4.9406        .40732E-06   -.89735E-04
  16  Prefactor     28.718        24.831       -.13634E-06    .22707E-01
  17  Prefactor     .55511E-10    8.1590        .20050E-07** at limit **
  18  norm          3.6910        3.8720        .12893E-06   -.19509E-03
  19  Prefactor     4.8661        3.3951       -.20623E-07    .10323E-01
  20  Prefactor      .0000        24.980        .61740E-07** at limit **
  21  Prefactor     .61484E-06    10.794       -.35913E-06** at limit **
  22  Prefactor      .0000        6.0760        .27574E-06** at limit **
  23  Normalizat    1.1263        .33169       -.72442E-05    .20240E-04
  24  Prefactor     .90036        .21042        .13574E-05    .23575E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 3.04146e-07
  Prefactor  = 21.578
  Prefactor  = 1.31106e-06
  Prefactor  = 3.21965e-09
  Prefactor  = 118.896
  norm       = 3.88578e-10
  norm       = 0.179256
  Prefactor  = 0
  Prefactor  = 85.2247
  norm       = 23.1445
  Prefactor  = 7.63611e-07
  Prefactor  = 22.4784
  norm       = 0
  Prefactor  = 1.18177
  Prefactor  = 28.7177
  Prefactor  = 5.55112e-11
  norm       = 3.69101
  Prefactor  = 4.86612
  Prefactor  = 0
  Prefactor  = 6.14842e-07
  Prefactor  = 0
  Normalizat = 1.12634
  Prefactor  = 0.900358
 **********
 **   18 **HESSE 
 **********

 FCN=   3885.414     FROM HESSE     STATUS=OK           443 CALLS     2567 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.2056        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .30415E-06    12.848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     21.578        54.465        .20195E-03   -1.5615    
   4  Prefactor     .13111E-05    15.318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .32196E-08    14.289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     118.90        92.849        .93530E-04   -1.5490    
   7  norm          .38858E-09    9.4728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .17926        .62088        .20728E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.7827        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     85.225        19.165        .10830E-03   -1.5523    
  11  norm          23.145        24.482        .20821E-03   -1.5612    
  12  Prefactor     .76361E-06    13.056        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.478        25.722        .21104E-03   -1.5613    
  14  norm           .0000        2.5668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.1818        5.1900        .10963E-02   -1.5686    
  16  Prefactor     28.718        25.915        .18490E-03   -1.5601    
  17  Prefactor     .55511E-10    8.1906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.6910        3.8821        .52570E-03   -1.5670    
  19  Prefactor     4.8661        18.562        .45520E-03   -1.5664    
  20  Prefactor      .0000        24.965        .17293E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .61484E-06    15.874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        6.0735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1263        .28164        .67442E-01   -.88911    
  24  Prefactor     .90036        .17543        .45013E-01   -.96129    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.39818e-07
Minuit parameter uncertainties:
  1  1.43454e-06
  2  0.0039535
  3  54.4667
  4  0.00896272
  5  0.000429733
  6  92.8497
  7  0.000117452
  8  0.620883
  9  1.37467e-06
  10  19.1654
  11  24.4822
  12  0.00631493
  13  25.722
  14  5.78613e-07
  15  4.95317
  16  25.9152
  17  3.33941e-05
  18  3.88214
  19  18.5623
  20  1.93507e-06
  21  0.00624844
  22  7.1458e-06
  23  0.282019
  24  0.175538
Done.

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

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  2.248e+01  2.572e+01  0.000e+00  1.000e+06 ( 1.000e-14)
293        Index:  1.965e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  3.090e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.004e-01  1.755e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  1.126e+00  2.820e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.22
Ra Dec: 175.387 -14.146
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 1.97e-08 +/- 2.26e-08
Energy Flux (Fixed Index): 1.49e-05 +/- 1.70e-05

TS (Fixed Index): 2.22
Ra Dec: 175.387 -14.146
Photon Flux Upper Limit: 9.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.27e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/61212/likelihoodResults_700704001_700963201_4FGL_J1141.5-1408_daily_bin1780.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) = 3885.33531182
delta logL = 0.0791166900653

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3885.33289204
delta logL = 0.0815364771056

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3885.333     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      266 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.979        1998.8        .17448E-03   -.19811E-03
   2  Index         1.6656        5.5010        .16318        .32410E-04
   3  Normalizat    1.1302        .16581        .67349E-01    .57148E-05
   4  Prefactor     .89909        .91271E-01    .44995E-01    .38272E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.9794
  Index      = 1.66564
  Normalizat = 1.13024
  Prefactor  = 0.899086
 **********
 **   18 **HESSE 
 **********

 FCN=   3885.333     FROM HESSE     STATUS=OK            31 CALLS      297 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.979        44.180        .69791E-05   -1.5593    
   2  Index         1.6656        .72257        .85089E-02   -.73000    
   3  Normalizat    1.1302        .32495        .29796E-03   -.88787    
   4  Prefactor     .89909        .20913        .21096E-03   -.96173    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04966e-09
Minuit parameter uncertainties:
  1  44.18
  2  0.727178
  3  0.325532
  4  0.209315
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/61212': 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) = 3885.33286885
delta logL = 0.0815596632829

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  3.298e+01  4.418e+01  0.000e+00  1.000e+06 ( 1.000e-14)
293        Index:  1.666e+00  7.272e-01  0.000e+00  1.000e+01 (-1.000e+00)
294        Scale:  3.090e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  8.991e-01  2.093e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  1.130e+00  3.255e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.39
Ra Dec: 175.387 -14.146
Photon Index (Free Index): 1.67 +/- 0.73
Photon Flux (Free Index): 1.49e-08 +/- 2.01e-08
Energy Flux (Free Index): 2.71e-05 +/- 5.37e-05

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/61212/cmap_HighResolution_700704001_700963201_4FGL_J1141.5-1408_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.27e-03', comment='SUCCESS', photon_flux='1.97e-08', energy_flux2='2.71e-05', photon_flux_error='2.26e-08', dlogl='8.16e-02', energy_flux='1.49e-05', photon_flux2='1.49e-08', job_status='DONE', time_completed='2023-03-20 00:55:18.336656', photon_index_error2='0.73', photon_index2='1.67', ts='2.22', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='9.73e-08', energy_flux_error2='5.37e-05', EG='1.13', time_epoch_completed='1679298918.34', return_code='0', job_id='61212', GAL2='0.90', EG2='1.13', return_code2='0', energy_flux_error='1.70e-05', photon_flux_error2='2.01e-08', ts2='2.39', photon_index='1.97' WHERE bin_id='1780' AND source_name='4FGL J1141.5-1408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 00:55:18 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 61212: <4FGL_J1141.5-1408_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1141.5-1408_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 00:45:15 2023
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:45:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:45:15 2023
Terminated at Mon Mar 20 00:55:19 2023
Results reported at Mon Mar 20 00:55:19 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1141.5-1408_daily_bin1780 175.387 -14.1457 700704001 700963201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1141.5-1408 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   537.15 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             345.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   603 sec.
    Turnaround time :                            604 sec.

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

