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 60 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_J1141.5-1408_daily_bin1745
RA = 175.387, Dec = -14.1457
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='644069', job_status='RUN', time_executed='2022-12-05 00:31:28.067091', time_epoch_executed='1670229088.07' WHERE source_name='4FGL J1141.5-1408' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/644069

Creating custom pfile directory:
/scratch/kocevski/644069/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/644069/ft1_4FGL_J1141.5-1408_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/644069/ft2_4FGL_J1141.5-1408_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/644069/ft1_4FGL_J1141.5-1408_daily_bin1745.fits outfile=/scratch/kocevski/644069/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin1745.fits ra=175.387 dec=-14.1457 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.37
user 2.16
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/644069/ft2_4FGL_J1141.5-1408_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/644069/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/644069/ft1_filtered_4FGL_J1141.5-1408_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.49
user 0.31
sys 0.16

Number of photons that the gtmktime cut: 1191

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/644069/ft1_filtered_4FGL_J1141.5-1408_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/644069/ft2_4FGL_J1141.5-1408_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/644069/ltcube_691632001_691891201_4FGL_J1141.5-1408_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/644069/ft2_4FGL_J1141.5-1408_daily_bin1745.fits
.....................!
real 12.28
user 11.91
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/644069/ft1_filtered_4FGL_J1141.5-1408_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/644069/ft2_4FGL_J1141.5-1408_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/644069/ltcube_691632001_691891201_4FGL_J1141.5-1408_daily_bin1745.fits outfile=/scratch/kocevski/644069/expmap_691632001_691891201_4FGL_J1141.5-1408_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/644069/ltcube_691632001_691891201_4FGL_J1141.5-1408_daily_bin1745.fits
.....................!
real 191.35
user 186.53
sys 4.49

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/644069/ft1_filtered_4FGL_J1141.5-1408_daily_bin1745.fits scfile=/scratch/kocevski/644069/ft2_4FGL_J1141.5-1408_daily_bin1745.fits outfile=/scratch/kocevski/644069/cmap_691632001_691891201_4FGL_J1141.5-1408_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=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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/644069/ft1_filtered_4FGL_J1141.5-1408_daily_bin1745.fits scfile=/scratch/kocevski/644069/ft2_4FGL_J1141.5-1408_daily_bin1745.fits outfile=/scratch/kocevski/644069/cmap_HighResolution_691632001_691891201_4FGL_J1141.5-1408_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=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/644069/ft1_filtered_4FGL_J1141.5-1408_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/644069/ft2_4FGL_J1141.5-1408_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/644069/Model_4FGL_J1141.5-1408_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/644069/ft1_filtered_4FGL_J1141.5-1408_daily_bin1745.fits.....................!
real 104.67
user 103.23
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/644069/ft1_filtered_4FGL_J1141.5-1408_daily_bin1745.fits', '/scratch/kocevski/644069/ft2_4FGL_J1141.5-1408_daily_bin1745.fits', expMap='/scratch/kocevski/644069/expmap_691632001_691891201_4FGL_J1141.5-1408_daily_bin1745.fits', expCube='/scratch/kocevski/644069/ltcube_691632001_691891201_4FGL_J1141.5-1408_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/644069/Model_4FGL_J1141.5-1408_daily_bin1745.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/644069/ft1_filtered_4FGL_J1141.5-1408_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/644069/ft2_4FGL_J1141.5-1408_daily_bin1745.fits
Exposure map: /scratch/kocevski/644069/expmap_691632001_691891201_4FGL_J1141.5-1408_daily_bin1745.fits
Exposure cube: /scratch/kocevski/644069/ltcube_691632001_691891201_4FGL_J1141.5-1408_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/644069/Model_4FGL_J1141.5-1408_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) = 12800.9550553

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.463       1.0000          .0000       .10000E+07
     2 'Prefactor '    .74129E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .15046E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    7.6914       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.4986       1.0000          .0000       .10000E+07
     6 'Prefactor '    .13254E-01   1.0000          .0000       .10000E+07
     7 'norm      '    .21050E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .28422E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .61810E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    33.611       1.0000          .0000       .10000E+07
    11 'norm      '    .78331E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    6.7536       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.5866       1.0000          .0000       .10000E+07
    14 'norm      '    .59565E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .33591E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .40401E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .64321E-06   1.0000          .0000       .10000E+07
    18 'norm      '    3.5849       1.0000          .0000       .10000E+07
    19 'Prefactor '    .37059E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .37573E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .62759E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    1.1459       1.0000          .0000       .10000E+07
    23 'Normalizat'    .86569       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2455       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=   12800.89     FROM MIGRAD    STATUS=CONVERGED    158 CALLS     1639 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.482        5.0044        .15674E-07   -.11057E-02
   2  Prefactor     .21205E-07    3.7756        .12381E-05** at limit **
   3  Prefactor      .0000        26.852       -.11638E-06** at limit **
   4  Prefactor     7.7344        7.4998        .97678E-06    .25541E-01
   5  Prefactor     2.5169        3.1808       -.36879E-06    .22465E-02
   6  Prefactor     .58509E-07    26.149       -.13482E-05** at limit **
   7  norm           .0000        2.8384        .54585E-07** at limit **
   8  norm          .55511E-10    .35680        .39565E-07** at limit **
   9  Prefactor     .27756E-09    1.9185       -.26602E-06** at limit **
  10  Prefactor     33.572        3.5042       -.89604E-07   -.10729    
  11  norm          .15765E-07    6.0155       -.16264E-05** at limit **
  12  Prefactor     6.7245        2.1657        .34712E-06    .61921E-02
  13  Prefactor     7.0571        2.3467       -.22239E-06   -.34495E-03
  14  norm          .18980E-05    13.289        .50189E-05** at limit **
  15  Prefactor     .11102E-09    1.7662       -.20828E-06** at limit **
  16  Prefactor     .15199E-06    3.4844        .15416E-05** at limit **
  17  Prefactor     .10547E-08    4.7559        .59632E-06** at limit **
  18  norm          3.5934        3.0997        .47033E-07   -.16044E-02
  19  Prefactor     .11102E-09    3.9067       -.12560E-06** at limit **
  20  Prefactor     .40501E-06    6.6347       -.19288E-05** at limit **
  21  Prefactor     .38014E-06    10.502       -.14574E-06** at limit **
  22  Prefactor     1.1477        2.9269        .20724E-06   -.18091E-02
  23  Normalizat    .86536        .18518       -.33331E-05   -.19778E-03
  24  Prefactor     1.2454        .12132        .36077E-05   -.80361E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.4816
  Prefactor  = 2.12053e-08
  Prefactor  = 0
  Prefactor  = 7.73436
  Prefactor  = 2.51687
  Prefactor  = 5.85088e-08
  norm       = 0
  norm       = 5.55112e-11
  Prefactor  = 2.77556e-10
  Prefactor  = 33.5715
  norm       = 1.57652e-08
  Prefactor  = 6.72453
  Prefactor  = 7.05707
  norm       = 1.89804e-06
  Prefactor  = 1.11022e-10
  Prefactor  = 1.5199e-07
  Prefactor  = 1.05471e-09
  norm       = 3.59344
  Prefactor  = 1.11022e-10
  Prefactor  = 4.05009e-07
  Prefactor  = 3.8014e-07
  Prefactor  = 1.14772
  Normalizat = 0.865362
  Prefactor  = 1.2454
 **********
 **   18 **HESSE 
 **********

 FCN=   12800.89     FROM HESSE     STATUS=OK           449 CALLS     2088 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.482        5.0111        .29564E-03   -1.5640    
   2  Prefactor     .21205E-07    8.1576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        26.763        .17387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.7344        7.9166        .36135E-03   -1.5652    
   5  Prefactor     2.5169        3.2087        .64628E-03   -1.5676    
   6  Prefactor     .58509E-07    26.606        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        2.8431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .55511E-10    .34719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .27756E-09    1.9108        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     33.572        8.3738        .17251E-03   -1.5592    
  11  norm          .15765E-07    6.3044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.7245        14.936        .38586E-03   -1.5656    
  13  Prefactor     7.0571        24.942        .39078E-03   -1.5655    
  14  norm          .18980E-05    2.6639        .57266E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11102E-09    1.7508        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .15199E-06    7.8902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10547E-08    4.7846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.5934        3.1153        .53348E-03   -1.5670    
  19  Prefactor     .11102E-09    3.9283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .40501E-06    9.6721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .38014E-06    12.572        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.1477        2.9661        .10829E-02   -1.5687    
  23  Normalizat    .86536        .16583        .77518E-01   -.97688    
  24  Prefactor     1.2454        .10548        .33635E-01   -.84946    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49565e-07
Minuit parameter uncertainties:
  1  5.01112
  2  0.00083157
  3  4.40386e-05
  4  7.91656
  5  3.20867
  6  0.00249537
  7  7.95934e-06
  8  7.85365e-06
  9  4.46549e-05
  10  8.37382
  11  0.000630659
  12  14.9361
  13  24.9421
  14  0.00449721
  15  2.73622e-05
  16  0.00219018
  17  0.000141581
  18  3.11529
  19  4.19635e-05
  20  0.00395836
  21  0.00437241
  22  2.96611
  23  0.16593
  24  0.105496
Done.

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

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  7.057e+00  2.494e+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:  1.245e+00  1.055e-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:  8.654e-01  1.659e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/644069/likelihoodResults_691632001_691891201_4FGL_J1141.5-1408_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) = 12800.2396488
delta logL = 0.645819231719

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12800.1718063
delta logL = 0.713661682095

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1008       1.0000          .0000       .10000E+07
     2 'Index     '    2.8671       1.0000          .0000       10.000    
     3 'Normalizat'    .83277       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2530       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12800.17     FROM MIGRAD    STATUS=FAILED        86 CALLS      262 TOTAL
                     EDM=   .76E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1020        31.245        .19567E-04    .26879E-01
   2  Index         2.8674        1.8895        .46696E-02    .13197E-02
   3  Normalizat    .83265        .18600        .34890E-03    .10449E-02
   4  Prefactor     1.2531        .12259        .19274E-03    .16423E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   12800.17     FROM SIMPLEX   STATUS=UNCHANGED     76 CALLS      338 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1020        31.245        .24247E-04   -1.5667    
   2  Index         2.8674        1.8895        .88404E-03   -.44064    
   3  Normalizat    .83265        .18600        .22191E-03   -.98869    
   4  Prefactor     1.2531        .12259        .15125E-03   -.84714    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12800.17     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      365 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1028        8.6531        .78269E-06    .33600E-01
   2  Index         2.8673        .74078        .18678E-03    .83677E-03
   3  Normalizat    .83265        .18389        .69780E-04    .93726E-03
   4  Prefactor     1.2531        .12115        .38549E-04    .14607E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.10276
  Index      = 2.86732
  Normalizat = 0.832646
  Prefactor  = 1.25305
 **********
 **   18 **HESSE 
 **********

 FCN=   12800.17     FROM HESSE     STATUS=OK            23 CALLS      388 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1028        8.5463        .37354E-06   -1.5667    
   2  Index         2.8673        .73168        .37357E-04   -.44066    
   3  Normalizat    .83265        .18390        .13956E-04   -.98869    
   4  Prefactor     1.2531        .12116        .77098E-05   -.84714    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.81718e-09
Minuit parameter uncertainties:
  1  8.54631
  2  0.734913
  3  0.184035
  4  0.121185
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/644069': 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) = 12800.1718055
delta logL = 0.713662495526

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  4.103e+00  8.546e+00  0.000e+00  1.000e+06 ( 1.000e-14)
293        Index:  2.867e+00  7.349e-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:  1.253e+00  1.212e-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:  8.326e-01  1.840e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.61
Ra Dec: 175.387 -14.146
Photon Index (Free Index): 2.87 +/- 0.73
Photon Flux (Free Index): 4.12e-08 +/- 3.85e-08
Energy Flux (Free Index): 8.84e-06 +/- 8.15e-06

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/644069/cmap_HighResolution_691632001_691891201_4FGL_J1141.5-1408_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.31e-03', comment='SUCCESS', energy_flux2='8.84e-06', dlogl='7.14e-01', photon_flux2='4.12e-08', job_status='DONE', time_completed='2022-12-05 00:46:54.411271', photon_index_error2='0.73', photon_index2='2.87', ts='0.09', fit_tolerance='1e-08', GAL='1.25', photon_index_error='0.00', photon_flux_upper_limit='5.77e-08', energy_flux_error2='8.15e-06', EG='0.87', time_epoch_completed='1670230014.41', return_code='0', job_id='644069', GAL2='1.25', EG2='0.83', return_code2='0', photon_flux_error2='3.85e-08', ts2='1.61', photon_index='1.97' WHERE bin_id='1745' AND source_name='4FGL J1141.5-1408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:46:54 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 644069: <4FGL_J1141.5-1408_daily_bin1745> in cluster <slac> Done

Job <4FGL_J1141.5-1408_daily_bin1745> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Dec  5 00:30:19 2022
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:30:20 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:30:20 2022
Terminated at Mon Dec  5 00:46:55 2022
Results reported at Mon Dec  5 00:46:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1141.5-1408_daily_bin1745 175.387 -14.1457 691632001 691891201 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 :                                   928.32 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             341.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   994 sec.
    Turnaround time :                            996 sec.

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

