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 14 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_J1131.4-0504_daily_bin1780
RA = 172.875, Dec = -5.073
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='61199', job_status='RUN', time_executed='2023-03-20 00:45:37.209324', time_epoch_executed='1679298337.21' WHERE source_name='4FGL J1131.4-0504' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/61199

Creating custom pfile directory:
/scratch/kocevski/61199/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/61199/ft1_4FGL_J1131.4-0504_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/61199/ft2_4FGL_J1131.4-0504_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/61199/ft1_4FGL_J1131.4-0504_daily_bin1780.fits outfile=/scratch/kocevski/61199/ft1_filteredMKT_4FGL_J1131.4-0504_daily_bin1780.fits ra=172.875 dec=-5.073 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.06
user 3.84
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/61199/ft2_4FGL_J1131.4-0504_daily_bin1780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/61199/ft2_4FGL_J1131.4-0504_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/61199/ft1_filteredMKT_4FGL_J1131.4-0504_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/61199/ft1_filtered_4FGL_J1131.4-0504_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.51
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 296

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/61199/ft1_filtered_4FGL_J1131.4-0504_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/61199/ft2_4FGL_J1131.4-0504_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/61199/ltcube_700704001_700963201_4FGL_J1131.4-0504_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/61199/ft2_4FGL_J1131.4-0504_daily_bin1780.fits
.....................!
real 12.07
user 11.73
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/61199/ft1_filtered_4FGL_J1131.4-0504_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/61199/ft2_4FGL_J1131.4-0504_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/61199/ltcube_700704001_700963201_4FGL_J1131.4-0504_daily_bin1780.fits outfile=/scratch/kocevski/61199/expmap_700704001_700963201_4FGL_J1131.4-0504_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/61199/ltcube_700704001_700963201_4FGL_J1131.4-0504_daily_bin1780.fits
.....................!
real 190.78
user 185.05
sys 5.42

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

Setting source of interest to:
4FGL J1131.4-0504 @ 172.875 -5.073

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/61199/ft1_filtered_4FGL_J1131.4-0504_daily_bin1780.fits scfile=/scratch/kocevski/61199/ft2_4FGL_J1131.4-0504_daily_bin1780.fits outfile=/scratch/kocevski/61199/cmap_700704001_700963201_4FGL_J1131.4-0504_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=172.875 yref=-5.073 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/61199/ft1_filtered_4FGL_J1131.4-0504_daily_bin1780.fits scfile=/scratch/kocevski/61199/ft2_4FGL_J1131.4-0504_daily_bin1780.fits outfile=/scratch/kocevski/61199/cmap_HighResolution_700704001_700963201_4FGL_J1131.4-0504_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=172.875 yref=-5.073 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/61199/ft1_filtered_4FGL_J1131.4-0504_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/61199/ft2_4FGL_J1131.4-0504_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/61199/Model_4FGL_J1131.4-0504_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/61199/ft1_filtered_4FGL_J1131.4-0504_daily_bin1780.fits......................!
real 36.08
user 34.77
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/61199/ft1_filtered_4FGL_J1131.4-0504_daily_bin1780.fits', '/scratch/kocevski/61199/ft2_4FGL_J1131.4-0504_daily_bin1780.fits', expMap='/scratch/kocevski/61199/expmap_700704001_700963201_4FGL_J1131.4-0504_daily_bin1780.fits', expCube='/scratch/kocevski/61199/ltcube_700704001_700963201_4FGL_J1131.4-0504_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/61199/Model_4FGL_J1131.4-0504_daily_bin1780.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1131.4-0504'

4FGL J1131.4-0504
   Spectrum: LogParabola
310         norm:  4.260e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
311        alpha:  2.714e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
312         beta:  6.202e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
313           Eb:  1.252e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/61199/ft1_filtered_4FGL_J1131.4-0504_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/61199/ft2_4FGL_J1131.4-0504_daily_bin1780.fits
Exposure map: /scratch/kocevski/61199/expmap_700704001_700963201_4FGL_J1131.4-0504_daily_bin1780.fits
Exposure cube: /scratch/kocevski/61199/ltcube_700704001_700963201_4FGL_J1131.4-0504_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/61199/Model_4FGL_J1131.4-0504_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) = 3147.99756094

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13386       1.0000          .0000       .10000E+07
     2 'norm      '    .10258E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .39265E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .86812       1.0000          .0000       .10000E+07
     5 'Prefactor '    143.20       1.0000          .0000       .10000E+07
     6 'norm      '    .10286E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .55332E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    96.298       1.0000          .0000       .10000E+07
     9 'norm      '    25.220       1.0000          .0000       .10000E+07
    10 'Prefactor '    .71091E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .67334E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    23.091       1.0000          .0000       .10000E+07
    13 'norm      '    .25021E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.2244       1.0000          .0000       .10000E+07
    15 'Prefactor '    36.695       1.0000          .0000       .10000E+07
    16 'Prefactor '    10.468       1.0000          .0000       .10000E+07
    17 'Prefactor '    15.951       1.0000          .0000       .10000E+07
    18 'Prefactor '    .19217E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .51689E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    .71926       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .97075       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6320E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3147.992     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     2408 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13468        .93455        .33859E-07** at limit **
   2  norm           .0000        3.7673        .73327E-06** at limit **
   3  Prefactor     .55511E-09    29.530       -.68353E-06** at limit **
   4  Prefactor     .86672        7.5010        .13753E-05   -.19018E-02
   5  Prefactor     143.33        17.149        .73344E-06   -.32682    
   6  norm          .35250E-07    17.466        .11559E-06** at limit **
   7  Prefactor     .11102E-09    2.3094       -.11309E-06** at limit **
   8  Prefactor     96.322        1.6912        .84854E-09    .16560E-01
   9  norm          25.340        23.727       -.21820E-05   -.84813E-01
  10  Prefactor      .0000        1.4179       -.57337E-07** at limit **
  11  Prefactor     .41467E-07    18.582       -.48875E-06** at limit **
  12  Prefactor     23.101        1.0708        .28554E-07    .44087E-02
  13  norm          .55511E-10    2.7620       -.71527E-06** at limit **
  14  Prefactor     2.2540        4.8542       -.65512E-06   -.99524E-03
  15  Prefactor     36.619        10.025        .76735E-06    .34106E-01
  16  Prefactor     10.559        12.474       -.14139E-05   -.11322E-01
  17  Prefactor     16.018        1.2916        .59244E-08   -.23842E-02
  18  Prefactor     .11102E-09    24.471       -.35369E-05** at limit **
  19  Prefactor     .43082E-06    69.498       -.22797E-05** at limit **
  20  Normalizat    .71893        .30817        .43471E-04    .14439E-03
  21  Prefactor     .97066        .22881       -.22470E-04    .18494E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.134685
  norm       = 0
  Prefactor  = 5.55112e-10
  Prefactor  = 0.866719
  Prefactor  = 143.333
  norm       = 3.52496e-08
  Prefactor  = 1.11022e-10
  Prefactor  = 96.3215
  norm       = 25.3398
  Prefactor  = 0
  Prefactor  = 4.14668e-08
  Prefactor  = 23.1006
  norm       = 5.55112e-11
  Prefactor  = 2.25397
  Prefactor  = 36.6188
  Prefactor  = 10.559
  Prefactor  = 16.0177
  Prefactor  = 1.11022e-10
  Prefactor  = 4.30822e-07
  Normalizat = 0.718932
  Prefactor  = 0.970663
 **********
 **   18 **HESSE 
 **********

 FCN=   3147.992     FROM HESSE     STATUS=OK           359 CALLS     2767 TOTAL
                     EDM=   .82E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13468        .57666        .20839E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        3.7743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-09    28.466        .15997E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .86672        7.6517        .47990E-03   -1.5689    
   5  Prefactor     143.33        102.41        .83573E-04   -1.5469    
   6  norm          .35250E-07    17.465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    2.3284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     96.322        20.662        .10191E-03   -1.5512    
   9  norm          25.340        26.039        .19917E-03   -1.5607    
  10  Prefactor      .0000        1.4124        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .41467E-07    18.633        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     23.101        26.166        .20815E-03   -1.5612    
  13  norm          .55511E-10    2.7632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.2540        5.1648        .68914E-03   -1.5678    
  15  Prefactor     36.619        27.077        .16510E-03   -1.5587    
  16  Prefactor     10.559        12.517        .30943E-03   -1.5643    
  17  Prefactor     16.018        20.300        .25051E-03   -1.5628    
  18  Prefactor     .11102E-09    24.463        .17089E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .43082E-06    69.139        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .71893        .27378        .70223E-01   -1.0315    
  21  Prefactor     .97066        .19667        .45900E-01   -.93714    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.23272e-06
Minuit parameter uncertainties:
  1  0.557375
  2  2.19452e-06
  3  0.00025153
  4  5.1505
  5  102.413
  6  0.0015694
  7  3.22576e-05
  8  20.6623
  9  26.0392
  10  9.28816e-06
  11  0.00175826
  12  26.1662
  13  1.84616e-05
  14  5.16477
  15  27.0768
  16  12.5169
  17  20.3
  18  0.00011075
  19  0.0109159
  20  0.274298
  21  0.196816
Done.

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

Extracting fit parameters...

4FGL J1131.4-0504
   Spectrum: LogParabola
310         norm:  2.534e+01  2.604e+01  0.000e+00  1.000e+06 ( 1.000e-13)
311        alpha:  2.714e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
312         beta:  6.202e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
313           Eb:  1.252e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
629    Prefactor:  9.707e-01  1.968e-01  0.000e+00  1.000e+01 ( 1.000e+00)
630        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
631        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
628   Normalization:  7.189e-01  2.743e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.93
Ra Dec: 172.875 -5.073
Photon Index (Fixed Index): 2.71 +/- 0.00
Photon Flux (Fixed Index): 2.10e-08 +/- 2.16e-08
Energy Flux (Fixed Index): 1.08e-05 +/- 1.11e-05

TS (Fixed Index): 2.93
Ra Dec: 172.875 -5.073
Photon Flux Upper Limit: 8.68e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.47e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/61199/likelihoodResults_700704001_700963201_4FGL_J1131.4-0504_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) = 3145.89529389
delta logL = 2.09681164211

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3145.87558322
delta logL = 2.11652230412

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.809       1.0000          .0000       .10000E+07
     2 'alpha     '    .33342E-01   1.0000          .0000       5.0000    
     3 'Normalizat'    .71710       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97960       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6320E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3145.876     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      229 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.748        43.775        .23066E-03    .45840E-03
   2  alpha         .28055E-01    4.9637        .47096        .33618E-04
   3  Normalizat    .71697        .25405        .70279E-01    .15990E-04
   4  Prefactor     .97972        .19498        .46012E-01   -.31393E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 18.7479
  alpha      = 0.0280555
  Normalizat = 0.716972
  Prefactor  = 0.979722
 **********
 **   18 **HESSE 
 **********

 FCN=   3145.876     FROM HESSE     STATUS=OK            33 CALLS      262 TOTAL
                     EDM=   .80E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.748        55.166        .92265E-05   -1.5621    
   2  alpha         .28055E-01    2.5349        .73375E-01   -1.4208    
   3  Normalizat    .71697        .29564        .31102E-03   -1.0323    
   4  Prefactor     .97972        .22740        .20540E-03   -.93409    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.04346e-07
Minuit parameter uncertainties:
  1  55.1678
  2  2.29783
  3  0.296301
  4  0.227624
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/61199': 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) = 3145.87557323
delta logL = 2.11653230226

Extracting fit parameters...

4FGL J1131.4-0504
   Spectrum: LogParabola
310         norm:  1.875e+01  5.517e+01  0.000e+00  1.000e+06 ( 1.000e-13)
311        alpha:  2.806e-02  2.298e+00  0.000e+00  5.000e+00 ( 1.000e+00)
312         beta:  6.202e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
313           Eb:  1.252e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
629    Prefactor:  9.797e-01  2.276e-01  0.000e+00  1.000e+01 ( 1.000e+00)
630        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
631        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
628   Normalization:  7.170e-01  2.963e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.15
Ra Dec: 172.875 -5.073
Photon Index (Free Index): 0.03 +/- 2.30
Photon Flux (Free Index): 7.73e-09 +/- 1.08e-08
Energy Flux (Free Index): 3.17e-05 +/- 4.25e-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/61199/cmap_HighResolution_700704001_700963201_4FGL_J1131.4-0504_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.47e-05', comment='SUCCESS', photon_flux='2.10e-08', energy_flux2='3.17e-05', photon_flux_error='2.16e-08', dlogl='2.12e+00', energy_flux='1.08e-05', photon_flux2='7.73e-09', job_status='DONE', time_completed='2023-03-20 00:53:57.307719', photon_index_error2='2.30', photon_index2='0.03', ts='2.93', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='8.68e-08', energy_flux_error2='4.25e-05', EG='0.72', time_epoch_completed='1679298837.31', return_code='0', job_id='61199', GAL2='0.98', EG2='0.72', return_code2='0', energy_flux_error='1.11e-05', photon_flux_error2='1.08e-08', ts2='7.15', photon_index='2.71' WHERE bin_id='1780' AND source_name='4FGL J1131.4-0504' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 00:53:57 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 61199: <4FGL_J1131.4-0504_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1131.4-0504_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 00:45:14 2023
Job was executed on host(s) <bullet0090>, 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:53:58 2023
Results reported at Mon Mar 20 00:53:58 2023

Your job looked like:

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

Successfully completed.

Resource usage summary:

    CPU time :                                   502.17 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             346.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   522 sec.
    Turnaround time :                            524 sec.

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

