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


Performing analysis on: 4FGL_J1331.2-1325_daily_bin1762
RA = 202.819, Dec = -13.4282
tmin = 696038401, tmax = 696297601
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='110554', job_status='RUN', time_executed='2023-01-25 01:04:10.304892', time_epoch_executed='1674637450.3' WHERE source_name='4FGL J1331.2-1325' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/110554

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/110554/ft1_4FGL_J1331.2-1325_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/110554/ft2_4FGL_J1331.2-1325_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/110554/ft1_4FGL_J1331.2-1325_daily_bin1762.fits outfile=/scratch/kocevski/110554/ft1_filteredMKT_4FGL_J1331.2-1325_daily_bin1762.fits ra=202.819 dec=-13.4282 rad=12.0 tmin=696038401.0 tmax=696297601.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.71
user 3.45
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/110554/ft2_4FGL_J1331.2-1325_daily_bin1762.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/110554/ft2_4FGL_J1331.2-1325_daily_bin1762.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/110554/ft1_filteredMKT_4FGL_J1331.2-1325_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/110554/ft1_filtered_4FGL_J1331.2-1325_daily_bin1762.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.35
sys 0.14

Number of photons that the gtmktime cut: 1065

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/110554/ft1_filtered_4FGL_J1331.2-1325_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/110554/ft2_4FGL_J1331.2-1325_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/110554/ltcube_696038401_696297601_4FGL_J1331.2-1325_daily_bin1762.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/110554/ft2_4FGL_J1331.2-1325_daily_bin1762.fits
.....................!
real 14.37
user 13.17
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/110554/ft1_filtered_4FGL_J1331.2-1325_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/110554/ft2_4FGL_J1331.2-1325_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/110554/ltcube_696038401_696297601_4FGL_J1331.2-1325_daily_bin1762.fits outfile=/scratch/kocevski/110554/expmap_696038401_696297601_4FGL_J1331.2-1325_daily_bin1762.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/110554/ltcube_696038401_696297601_4FGL_J1331.2-1325_daily_bin1762.fits
.....................!
real 190.90
user 185.68
sys 4.43

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

Setting source of interest to:
4FGL J1331.2-1325 @ 202.819 -13.4282

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/110554/ft1_filtered_4FGL_J1331.2-1325_daily_bin1762.fits scfile=/scratch/kocevski/110554/ft2_4FGL_J1331.2-1325_daily_bin1762.fits outfile=/scratch/kocevski/110554/cmap_696038401_696297601_4FGL_J1331.2-1325_daily_bin1762.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=202.819 yref=-13.4282 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.57
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/110554/ft1_filtered_4FGL_J1331.2-1325_daily_bin1762.fits scfile=/scratch/kocevski/110554/ft2_4FGL_J1331.2-1325_daily_bin1762.fits outfile=/scratch/kocevski/110554/cmap_HighResolution_696038401_696297601_4FGL_J1331.2-1325_daily_bin1762.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=202.819 yref=-13.4282 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/110554/ft1_filtered_4FGL_J1331.2-1325_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/110554/ft2_4FGL_J1331.2-1325_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/110554/Model_4FGL_J1331.2-1325_daily_bin1762.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/110554/ft1_filtered_4FGL_J1331.2-1325_daily_bin1762.fits.....................!
real 82.23
user 80.64
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/110554/ft1_filtered_4FGL_J1331.2-1325_daily_bin1762.fits', '/scratch/kocevski/110554/ft2_4FGL_J1331.2-1325_daily_bin1762.fits', expMap='/scratch/kocevski/110554/expmap_696038401_696297601_4FGL_J1331.2-1325_daily_bin1762.fits', expCube='/scratch/kocevski/110554/ltcube_696038401_696297601_4FGL_J1331.2-1325_daily_bin1762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/110554/Model_4FGL_J1331.2-1325_daily_bin1762.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1331.2-1325'

4FGL J1331.2-1325
   Spectrum: PowerLaw
287    Prefactor:  5.475e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  2.600e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  1.117e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/110554/ft1_filtered_4FGL_J1331.2-1325_daily_bin1762.fits
Spacecraft file(s): /scratch/kocevski/110554/ft2_4FGL_J1331.2-1325_daily_bin1762.fits
Exposure map: /scratch/kocevski/110554/expmap_696038401_696297601_4FGL_J1331.2-1325_daily_bin1762.fits
Exposure cube: /scratch/kocevski/110554/ltcube_696038401_696297601_4FGL_J1331.2-1325_daily_bin1762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/110554/Model_4FGL_J1331.2-1325_daily_bin1762.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) = 11042.9370551

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33772       1.0000          .0000       .10000E+07
     2 'norm      '    4.9543       1.0000          .0000       .10000E+07
     3 'norm      '    .55889       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11062E-03   1.0000          .0000       .10000E+07
     5 'norm      '    1.6363       1.0000          .0000       .10000E+07
     6 'norm      '    2.8461       1.0000          .0000       .10000E+07
     7 'norm      '    .33712E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.4615       1.0000          .0000       .10000E+07
     9 'Prefactor '    .71147       1.0000          .0000       .10000E+07
    10 'Prefactor '    12.705       1.0000          .0000       .10000E+07
    11 'norm      '    .75162E-07   1.0000          .0000       .10000E+07
    12 'norm      '    .69733E-06   1.0000          .0000       .10000E+07
    13 'norm      '    3.4132       1.0000          .0000       .10000E+07
    14 'Prefactor '    .17220E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .93703E-07   1.0000          .0000       .10000E+07
    16 'norm      '    .82866E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .31808E-07   1.0000          .0000       .10000E+07
    18 'norm      '    1.0587       1.0000          .0000       .10000E+07
    19 'Prefactor '    .95254       1.0000          .0000       .10000E+07
    20 'norm      '    .23537E-07   1.0000          .0000       .10000E+07
    21 'norm      '    43.226       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.4270       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .79528       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5700E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11042.83     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1510 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .33770        .17095        .51219E-08    .64862E-02
   2  norm          4.9407        5.5429        .38205E-06    .15236E-01
   3  norm          .56062        3.1062       -.23591E-06   -.56392E-03
   4  Prefactor     .16653E-09    65.896        .80472E-07** at limit **
   5  norm          1.6366        1.2859        .68563E-08    .21323E-03
   6  norm          2.8857        5.7457       -.72543E-06   -.10182E-01
   7  norm          .20206E-07    4.5256       -.99449E-07** at limit **
   8  Prefactor     4.5087        5.8706        .91364E-06    .29410E-01
   9  Prefactor     .70135        .65603       -.16374E-06    .92729E-02
  10  Prefactor     12.618        6.1193        .41389E-06   -.73900E-01
  11  norm          .55511E-10    .77266        .57639E-07** at limit **
  12  norm          .49960E-09    1.7922        .43734E-07** at limit **
  13  norm          3.4384        4.8096       -.21611E-06    .59798E-02
  14  Prefactor     .11102E-09    2.1295       -.19793E-07** at limit **
  15  Prefactor     .57343E-07    5.4812        .21894E-06** at limit **
  16  norm          .22204E-09    11.978        .14590E-06** at limit **
  17  Prefactor     .18319E-08    3.9227       -.23598E-06** at limit **
  18  norm          1.0590        1.5521        .14533E-07    .15875E-02
  19  Prefactor     .95247        2.6392        .14750E-06    .43304E-02
  20  norm          .10658E-07    1.8696       -.26838E-06** at limit **
  21  norm          43.220        4.8518        .23524E-07    .39691E-02
  22  Normalizat    1.4269        .20320       -.36192E-05   -.26474E-04
  23  Prefactor     .79527        .10710        .10443E-05   -.50666E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.337695
  norm       = 4.94075
  norm       = 0.560623
  Prefactor  = 1.66533e-10
  norm       = 1.63655
  norm       = 2.88569
  norm       = 2.02061e-08
  Prefactor  = 4.50871
  Prefactor  = 0.701355
  Prefactor  = 12.6183
  norm       = 5.55112e-11
  norm       = 4.996e-10
  norm       = 3.43838
  Prefactor  = 1.11022e-10
  Prefactor  = 5.7343e-08
  norm       = 2.22045e-10
  Prefactor  = 1.83187e-09
  norm       = 1.05902
  Prefactor  = 0.952471
  norm       = 1.06581e-08
  norm       = 43.2201
  Normalizat = 1.42692
  Prefactor  = 0.795269
 **********
 **   18 **HESSE 
 **********

 FCN=   11042.83     FROM HESSE     STATUS=OK           420 CALLS     1930 TOTAL
                     EDM=   .26E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .33770        .17278        .67596E-03   -1.5696    
   2  norm          4.9407        5.5935        .45160E-03   -1.5664    
   3  norm          .56062        3.1124        .72994E-03   -1.5693    
   4  Prefactor     .16653E-09    66.149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.6366        1.2971        .82598E-03   -1.5682    
   6  norm          2.8857        5.8088        .60244E-03   -1.5674    
   7  norm          .20206E-07    4.7997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.5087        6.2670        .47647E-03   -1.5665    
   9  Prefactor     .70135        11.504        .59782E-03   -1.5691    
  10  Prefactor     12.618        11.929        .28077E-03   -1.5637    
  11  norm          .55511E-10    .76181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .49960E-09    3.6357        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.4384        5.1478        .54732E-03   -1.5671    
  14  Prefactor     .11102E-09    2.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .57343E-07    6.0813        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .22204E-09    12.000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .18319E-08    3.9387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.0590        2.0736        .36192E-02   -1.5687    
  19  Prefactor     .95247        2.6535        .42193E-03   -1.5688    
  20  norm          .10658E-07    3.4129        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          43.220        4.8558        .15211E-03   -1.5576    
  22  Normalizat    1.4269        .17581        .66968E-01   -.79853    
  23  Prefactor     .79527        .91232E-01    .43656E-01   -.99903    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.64887e-06
Minuit parameter uncertainties:
  1  0.172783
  2  5.59351
  3  2.6419
  4  0.000203021
  5  1.29709
  6  5.80879
  7  0.000622692
  8  6.26699
  9  5.68098
  10  11.9294
  11  1.13226e-05
  12  8.48909e-05
  13  5.14784
  14  3.09071e-05
  15  0.00118105
  16  9.78483e-05
  17  0.000170331
  18  2.07362
  19  2.65346
  20  0.000380971
  21  4.85584
  22  0.175888
  23  0.0912498
Done.

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

Extracting fit parameters...

4FGL J1331.2-1325
   Spectrum: PowerLaw
287    Prefactor:  1.262e+01  1.193e+01  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  2.600e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  1.117e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
567    Prefactor:  7.953e-01  9.125e-02  0.000e+00  1.000e+01 ( 1.000e+00)
568        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
569        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
566   Normalization:  1.427e+00  1.759e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.80
Ra Dec: 202.819 -13.428
Photon Index (Fixed Index): 2.60 +/- 0.00
Photon Flux (Fixed Index): 4.18e-08 +/- 3.95e-08
Energy Flux (Fixed Index): 1.10e-05 +/- 1.04e-05

TS (Fixed Index): 1.80
Ra Dec: 202.819 -13.428
Photon Flux Upper Limit: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/110554/likelihoodResults_696038401_696297601_4FGL_J1331.2-1325_daily_bin1762.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) = 11042.0554729
delta logL = 0.77055750237

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11042.0554595
delta logL = 0.77057092285

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11042.06     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      256 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.806        539.73        .20074E-03   -.11214E-03
   2  Index         1.9074        5.9243        .26348        .20363E-04
   3  Normalizat    1.4522        .94373E-01    .66472E-01    .78678E-04
   4  Prefactor     .78502        .37326E-01    .43523E-01    .12708E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.8059
  Index      = 1.90743
  Normalizat = 1.45225
  Prefactor  = 0.785022
 **********
 **   18 **HESSE 
 **********

 FCN=   11042.06     FROM HESSE     STATUS=OK            33 CALLS      289 TOTAL
                     EDM=   .63E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.806        19.376        .80295E-05   -1.5608    
   2  Index         1.9074        .49241        .89697E-02   -.66685    
   3  Normalizat    1.4522        .19736        .29404E-03   -.79129    
   4  Prefactor     .78502        .10564        .20607E-03   -1.0028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.2595e-12
Minuit parameter uncertainties:
  1  19.3757
  2  0.493706
  3  0.197463
  4  0.105667
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/110554': 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) = 11042.0554581
delta logL = 0.77057227926

Extracting fit parameters...

4FGL J1331.2-1325
   Spectrum: PowerLaw
287    Prefactor:  2.481e+01  1.938e+01  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  1.907e+00  4.937e-01  0.000e+00  1.000e+01 (-1.000e+00)
289        Scale:  1.117e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
567    Prefactor:  7.850e-01  1.057e-01  0.000e+00  1.000e+01 ( 1.000e+00)
568        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
569        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
566   Normalization:  1.452e+00  1.975e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.34
Ra Dec: 202.819 -13.428
Photon Index (Free Index): 1.91 +/- 0.49
Photon Flux (Free Index): 2.72e-08 +/- 2.74e-08
Energy Flux (Free Index): 2.39e-05 +/- 2.53e-05

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/110554/cmap_HighResolution_696038401_696297601_4FGL_J1331.2-1325_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.32e-03', comment='SUCCESS', photon_flux='4.18e-08', energy_flux2='2.39e-05', photon_flux_error='3.95e-08', dlogl='7.71e-01', energy_flux='1.10e-05', photon_flux2='2.72e-08', job_status='DONE', time_completed='2023-01-25 01:16:56.698766', photon_index_error2='0.49', photon_index2='1.91', ts='1.80', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='1.19e-07', energy_flux_error2='2.53e-05', EG='1.43', time_epoch_completed='1674638216.7', return_code='0', job_id='110554', GAL2='0.79', EG2='1.45', return_code2='0', energy_flux_error='1.04e-05', photon_flux_error2='2.74e-08', ts2='3.34', photon_index='2.60' WHERE bin_id='1762' AND source_name='4FGL J1331.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:16:56 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 110554: <4FGL_J1331.2-1325_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1331.2-1325_daily_bin1762> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Jan 25 01:00:26 2023
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 01:00:42 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 01:00:42 2023
Terminated at Wed Jan 25 01:16:57 2023
Results reported at Wed Jan 25 01:16:57 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1331.2-1325_daily_bin1762 202.819 -13.4282 696038401 696297601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1331.2-1325 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   767.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             288.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   975 sec.
    Turnaround time :                            991 sec.

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

