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


Performing analysis on: 4FGL_J1333.2+2725_daily_bin1713
RA = 203.323, Dec = 27.4221
tmin = 683337601, tmax = 683596801
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='135146', job_status='RUN', time_executed='2022-09-16 17:42:28.460100', time_epoch_executed='1663375348.46' WHERE source_name='4FGL J1333.2+2725' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/135146

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/135146/ft1_4FGL_J1333.2+2725_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/135146/ft2_4FGL_J1333.2+2725_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/135146/ft1_4FGL_J1333.2+2725_daily_bin1713.fits outfile=/scratch/kocevski/135146/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1713.fits ra=203.323 dec=27.4221 rad=12.0 tmin=683337601.0 tmax=683596801.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.50
user 3.24
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/135146/ft2_4FGL_J1333.2+2725_daily_bin1713.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/135146/ft2_4FGL_J1333.2+2725_daily_bin1713.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/135146/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1713.fits evtable="EVENTS" outfile="/scratch/kocevski/135146/ft1_filtered_4FGL_J1333.2+2725_daily_bin1713.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.15

Number of photons that the gtmktime cut: 492

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/135146/ft1_filtered_4FGL_J1333.2+2725_daily_bin1713.fits" evtable="EVENTS" scfile=/scratch/kocevski/135146/ft2_4FGL_J1333.2+2725_daily_bin1713.fits sctable="SC_DATA" outfile=/scratch/kocevski/135146/ltcube_683337601_683596801_4FGL_J1333.2+2725_daily_bin1713.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/135146/ft2_4FGL_J1333.2+2725_daily_bin1713.fits
.....................!
real 13.51
user 13.06
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/135146/ft1_filtered_4FGL_J1333.2+2725_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/135146/ft2_4FGL_J1333.2+2725_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/135146/ltcube_683337601_683596801_4FGL_J1333.2+2725_daily_bin1713.fits outfile=/scratch/kocevski/135146/expmap_683337601_683596801_4FGL_J1333.2+2725_daily_bin1713.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/135146/ltcube_683337601_683596801_4FGL_J1333.2+2725_daily_bin1713.fits
.....................!
real 192.79
user 187.19
sys 5.22

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

Setting source of interest to:
4FGL J1333.2+2725 @ 203.323 27.4221

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/135146/ft1_filtered_4FGL_J1333.2+2725_daily_bin1713.fits scfile=/scratch/kocevski/135146/ft2_4FGL_J1333.2+2725_daily_bin1713.fits outfile=/scratch/kocevski/135146/cmap_683337601_683596801_4FGL_J1333.2+2725_daily_bin1713.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=203.323 yref=27.4221 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/135146/ft1_filtered_4FGL_J1333.2+2725_daily_bin1713.fits scfile=/scratch/kocevski/135146/ft2_4FGL_J1333.2+2725_daily_bin1713.fits outfile=/scratch/kocevski/135146/cmap_HighResolution_683337601_683596801_4FGL_J1333.2+2725_daily_bin1713.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=203.323 yref=27.4221 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/135146/ft1_filtered_4FGL_J1333.2+2725_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/135146/ft2_4FGL_J1333.2+2725_daily_bin1713.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/135146/Model_4FGL_J1333.2+2725_daily_bin1713.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/135146/ft1_filtered_4FGL_J1333.2+2725_daily_bin1713.fits.....................!
real 46.87
user 45.57
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/135146/ft1_filtered_4FGL_J1333.2+2725_daily_bin1713.fits', '/scratch/kocevski/135146/ft2_4FGL_J1333.2+2725_daily_bin1713.fits', expMap='/scratch/kocevski/135146/expmap_683337601_683596801_4FGL_J1333.2+2725_daily_bin1713.fits', expCube='/scratch/kocevski/135146/ltcube_683337601_683596801_4FGL_J1333.2+2725_daily_bin1713.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/135146/Model_4FGL_J1333.2+2725_daily_bin1713.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1333.2+2725'

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  6.668e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/135146/ft1_filtered_4FGL_J1333.2+2725_daily_bin1713.fits
Spacecraft file(s): /scratch/kocevski/135146/ft2_4FGL_J1333.2+2725_daily_bin1713.fits
Exposure map: /scratch/kocevski/135146/expmap_683337601_683596801_4FGL_J1333.2+2725_daily_bin1713.fits
Exposure cube: /scratch/kocevski/135146/ltcube_683337601_683596801_4FGL_J1333.2+2725_daily_bin1713.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/135146/Model_4FGL_J1333.2+2725_daily_bin1713.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) = 5492.79146971

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41863E-04   1.0000          .0000       .10000E+07
     2 'norm      '    2.4624       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.4567       1.0000          .0000       .10000E+07
     4 'norm      '    1.4162       1.0000          .0000       .10000E+07
     5 'Prefactor '    .73885E-07   1.0000          .0000       .10000E+07
     6 'norm      '    .43145E-04   1.0000          .0000       .10000E+07
     7 'norm      '    10.648       1.0000          .0000       .10000E+07
     8 'norm      '    8.5456       1.0000          .0000       .10000E+07
     9 'norm      '    1.5866       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.5521       1.0000          .0000       .10000E+07
    11 'Prefactor '    .43510E-06   1.0000          .0000       .10000E+07
    12 'norm      '    4.2116       1.0000          .0000       .10000E+07
    13 'Prefactor '    .20111E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .26646E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .12302E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    7.8501       1.0000          .0000       .10000E+07
    17 'Prefactor '    .96211       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10481E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    16.034       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0976       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .92097       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5492.729     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     1334 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.6690        .49619E-07** at limit **
   2  norm          2.4545        3.6373       -.31802E-07   -.17015E-02
   3  Prefactor     3.4680        18.934        .12159E-06   -.39022E-01
   4  norm          1.4416        3.6778        .18382E-07   -.50245E-03
   5  Prefactor     .94369E-09    7.2580       -.18044E-06** at limit **
   6  norm           .0000        3.3880        .41428E-07** at limit **
   7  norm          10.636        4.1164       -.25358E-07    .42483E-01
   8  norm          8.5677        3.6978       -.11576E-08   -.71196E-01
   9  norm          1.1802        2.6994       -.19760E-07   -.27442E-02
  10  Prefactor     1.5560        3.1059       -.26170E-07   -.27658E-02
  11  Prefactor     .27756E-09    5.5884        .55721E-07** at limit **
  12  norm          4.1628        6.3926        .36471E-07    .43698E-03
  13  Prefactor     .27311E-07    40.494       -.23720E-06** at limit **
  14  norm           .0000        4.7931       -.97121E-08** at limit **
  15  Prefactor     .23098E-06    177.79        .95566E-06** at limit **
  16  Prefactor     8.0760        11.995       -.24840E-07   -.62041E-01
  17  Prefactor     .96439        2.6935       -.53105E-07   -.18984E-02
  18  Prefactor     .87153E-08    18.468       -.26157E-06** at limit **
  19  Prefactor     16.079        6.9354        .33199E-07    .32549E-03
  20  Normalizat    1.0972        .20740       -.28223E-05   -.44624E-03
  21  Prefactor     .92125        .21642        .10330E-05   -.29953E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 2.45455
  Prefactor  = 3.46797
  norm       = 1.44157
  Prefactor  = 9.4369e-10
  norm       = 0
  norm       = 10.6365
  norm       = 8.5677
  norm       = 1.18023
  Prefactor  = 1.55603
  Prefactor  = 2.77556e-10
  norm       = 4.16276
  Prefactor  = 2.73115e-08
  norm       = 0
  Prefactor  = 2.30982e-07
  Prefactor  = 8.07605
  Prefactor  = 0.964389
  Prefactor  = 8.71525e-09
  Prefactor  = 16.0794
  Normalizat = 1.09718
  Prefactor  = 0.921255
 **********
 **   18 **HESSE 
 **********

 FCN=   5492.729     FROM HESSE     STATUS=OK           361 CALLS     1695 TOTAL
                     EDM=   .90E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.6643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.4545        3.7582        .65145E-03   -1.5677    
   3  Prefactor     3.4680        52.026        .54370E-03   -1.5671    
   4  norm          1.4416        3.7923        .90928E-03   -1.5684    
   5  Prefactor     .94369E-09    7.2640        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        3.3803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          10.636        7.2728        .30680E-03   -1.5643    
   8  norm          8.5677        10.633        .34267E-03   -1.5649    
   9  norm          1.1802        176.13        .84240E-03   -1.5686    
  10  Prefactor     1.5560        3.1469        .85449E-03   -1.5683    
  11  Prefactor     .27756E-09    5.6132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.1628        6.7199        .49080E-03   -1.5667    
  13  Prefactor     .27311E-07    41.485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        4.7984        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .23098E-06    172.80        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.0760        16.756        .35764E-03   -1.5651    
  17  Prefactor     .96439        2.7107        .42419E-03   -1.5688    
  18  Prefactor     .87153E-08    18.476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     16.079        6.9438        .24986E-03   -1.5628    
  20  Normalizat    1.0972        .18346        .38099E-01   -.89843    
  21  Prefactor     .92125        .18938        .45272E-01   -.95402    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.96352e-07
Minuit parameter uncertainties:
  1  1.5182e-05
  2  3.7582
  3  26.8648
  4  3.7923
  5  0.000165953
  6  1.47876e-05
  7  7.27284
  8  10.6332
  9  28.8361
  10  3.14694
  11  7.67441e-05
  12  6.71993
  13  0.00212805
  14  9.31439e-06
  15  0.0126356
  16  16.7563
  17  2.71072
  18  0.000801818
  19  6.94381
  20  0.183569
  21  0.189512
Done.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  8.076e+00  1.676e+01  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  9.213e-01  1.895e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  1.097e+00  1.836e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.32
Ra Dec: 203.323 27.422
Photon Flux Upper Limit: 8.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/135146/likelihoodResults_683337601_683596801_4FGL_J1333.2+2725_daily_bin1713.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) = 5492.70997557
delta logL = 0.0189614070368

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5492.70552234
delta logL = 0.0234146327575

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5492.706     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      251 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.5099        18.375        .78532E-04    .47859E-03
   2  Index         2.6067        1.5739        .12199E-01    .20116E-03
   3  Normalizat    1.0930        .20163        .22878E-03   -.25343E-05
   4  Prefactor     .92408        .21502        .26398E-03    .41344E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.50988
  Index      = 2.60665
  Normalizat = 1.09303
  Prefactor  = 0.924082
 **********
 **   18 **HESSE 
 **********

 FCN=   5492.706     FROM HESSE     STATUS=OK            27 CALLS      278 TOTAL
                     EDM=   .53E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.5099        16.510        .15706E-04   -1.5657    
   2  Index         2.6067        1.4203        .24399E-02   -.49914    
   3  Normalizat    1.0930        .20176        .91514E-05   -.89976    
   4  Prefactor     .92408        .21511        .52796E-04   -.95305    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.30589e-14
Minuit parameter uncertainties:
  1  16.5106
  2  1.44635
  3  0.201903
  4  0.215308
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/135146': 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) = 5492.70552176
delta logL = 0.0234152155699

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  6.510e+00  1.651e+01  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.607e+00  1.446e+00  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  9.241e-01  2.153e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  1.093e+00  2.019e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.32
Ra Dec: 203.323 27.422

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/135146/cmap_HighResolution_683337601_683596801_4FGL_J1333.2+2725_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.36e-03', job_status='DONE', photon_flux_upper_limit='8.28e-08', time_completed='2022-09-16 17:51:08.676306', job_id='135146', GAL2='0.92', fit_tolerance='1e-08', EG2='1.09', EG='1.10', time_epoch_completed='1663375868.68', return_code2='0', ts='0.32', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='2.34e-02', ts2='0.37', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='1713' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:51:08 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 135146: <4FGL_J1333.2+2725_daily_bin1713> in cluster <slac> Done

Job <4FGL_J1333.2+2725_daily_bin1713> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 17:40:21 2022
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:42:06 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 17:42:06 2022
Terminated at Fri Sep 16 17:51:09 2022
Results reported at Fri Sep 16 17:51:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1333.2+2725_daily_bin1713 203.323 27.4221 683337601 683596801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1333.2+2725 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   522.34 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             286.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   542 sec.
    Turnaround time :                            648 sec.

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

