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


Performing analysis on: 4FGL_J1333.2+2725_daily_bin1768
RA = 203.323, Dec = 27.4221
tmin = 697593601, tmax = 697852801
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='271587', job_status='RUN', time_executed='2023-02-12 01:01:54.722022', time_epoch_executed='1676192514.72' WHERE source_name='4FGL J1333.2+2725' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/271587

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/271587/ft1_4FGL_J1333.2+2725_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/271587/ft2_4FGL_J1333.2+2725_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/271587/ft1_4FGL_J1333.2+2725_daily_bin1768.fits outfile=/scratch/kocevski/271587/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1768.fits ra=203.323 dec=27.4221 rad=12.0 tmin=697593601.0 tmax=697852801.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.68
user 3.43
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/271587/ft2_4FGL_J1333.2+2725_daily_bin1768.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/271587/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1768.fits evtable="EVENTS" outfile="/scratch/kocevski/271587/ft1_filtered_4FGL_J1333.2+2725_daily_bin1768.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 653

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/271587/ft1_filtered_4FGL_J1333.2+2725_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/271587/ft2_4FGL_J1333.2+2725_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/271587/ltcube_697593601_697852801_4FGL_J1333.2+2725_daily_bin1768.fits outfile=/scratch/kocevski/271587/expmap_697593601_697852801_4FGL_J1333.2+2725_daily_bin1768.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/271587/ltcube_697593601_697852801_4FGL_J1333.2+2725_daily_bin1768.fits
.....................!
real 192.47
user 187.58
sys 4.38

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/271587/ft1_filtered_4FGL_J1333.2+2725_daily_bin1768.fits scfile=/scratch/kocevski/271587/ft2_4FGL_J1333.2+2725_daily_bin1768.fits outfile=/scratch/kocevski/271587/cmap_697593601_697852801_4FGL_J1333.2+2725_daily_bin1768.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/271587/ft1_filtered_4FGL_J1333.2+2725_daily_bin1768.fits scfile=/scratch/kocevski/271587/ft2_4FGL_J1333.2+2725_daily_bin1768.fits outfile=/scratch/kocevski/271587/cmap_HighResolution_697593601_697852801_4FGL_J1333.2+2725_daily_bin1768.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.56
user 0.40
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/271587/ft1_filtered_4FGL_J1333.2+2725_daily_bin1768.fits', '/scratch/kocevski/271587/ft2_4FGL_J1333.2+2725_daily_bin1768.fits', expMap='/scratch/kocevski/271587/expmap_697593601_697852801_4FGL_J1333.2+2725_daily_bin1768.fits', expCube='/scratch/kocevski/271587/ltcube_697593601_697852801_4FGL_J1333.2+2725_daily_bin1768.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/271587/Model_4FGL_J1333.2+2725_daily_bin1768.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/271587/ft1_filtered_4FGL_J1333.2+2725_daily_bin1768.fits
Spacecraft file(s): /scratch/kocevski/271587/ft2_4FGL_J1333.2+2725_daily_bin1768.fits
Exposure map: /scratch/kocevski/271587/expmap_697593601_697852801_4FGL_J1333.2+2725_daily_bin1768.fits
Exposure cube: /scratch/kocevski/271587/ltcube_697593601_697852801_4FGL_J1333.2+2725_daily_bin1768.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/271587/Model_4FGL_J1333.2+2725_daily_bin1768.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) = 6914.7896558

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14492E-03   1.0000          .0000       .10000E+07
     2 'norm      '    4.2107       1.0000          .0000       .10000E+07
     3 'Prefactor '    .37387E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .19767       1.0000          .0000       .10000E+07
     5 'Prefactor '    .30398E-05   1.0000          .0000       .10000E+07
     6 'norm      '    .53618E-03   1.0000          .0000       .10000E+07
     7 'norm      '    22.619       1.0000          .0000       .10000E+07
     8 'norm      '    .64683E-03   1.0000          .0000       .10000E+07
     9 'norm      '    23.688       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.5586       1.0000          .0000       .10000E+07
    11 'Prefactor '    .79928E-01   1.0000          .0000       .10000E+07
    12 'norm      '    47.957       1.0000          .0000       .10000E+07
    13 'Prefactor '    .38370E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .62637E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .87097E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .22458E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .57301E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    6.8814       1.0000          .0000       .10000E+07
    19 'Prefactor '    22.038       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.3091       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84141       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=   6914.636     FROM MIGRAD    STATUS=CONVERGED    170 CALLS     1347 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6441        .67140E-07** at limit **
   2  norm          4.1766        3.8146       -.73308E-07    .14956E-02
   3  Prefactor     .55511E-09    8.6534        .95941E-07** at limit **
   4  norm          .19820        4.0966       -.20361E-06** at limit **
   5  Prefactor     .11102E-08    30.314        .17271E-05** at limit **
   6  norm           .0000        2.1467       -.67739E-07** at limit **
   7  norm          22.661        5.2916       -.63402E-07    .30624E-02
   8  norm          .25535E-08    4.4435        .58969E-06** at limit **
   9  norm          23.666        1.0931        .46496E-08   -.84331E-03
  10  Prefactor     2.5632        2.9583        .81674E-07   -.15738E-02
  11  Prefactor     .22204E-09    27.653        .63059E-06** at limit **
  12  norm          47.963        2.9927        .13510E-07    .66030E-01
  13  Prefactor     .34972E-08    68.143        .31897E-05** at limit **
  14  norm          .16653E-09    9.8174        .31886E-06** at limit **
  15  Prefactor     .66613E-09    6.0352        .36445E-06** at limit **
  16  Prefactor     .16653E-09    17.162        .81480E-07** at limit **
  17  Prefactor      .0000        3.0643        .90855E-07** at limit **
  18  Prefactor     6.8922        10.242       -.17428E-06   -.26452E-02
  19  Prefactor     22.036        6.6838        .46325E-07    .21844E-03
  20  Normalizat    1.3090        .20707       -.40774E-05    .75140E-04
  21  Prefactor     .84154        .21669        .32149E-05    .48346E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 4.17661
  Prefactor  = 5.55112e-10
  norm       = 0.198201
  Prefactor  = 1.11022e-09
  norm       = 0
  norm       = 22.6615
  norm       = 2.55351e-09
  norm       = 23.666
  Prefactor  = 2.5632
  Prefactor  = 2.22045e-10
  norm       = 47.9629
  Prefactor  = 3.4972e-09
  norm       = 1.66533e-10
  Prefactor  = 6.66134e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 6.89216
  Prefactor  = 22.0363
  Normalizat = 1.30899
  Prefactor  = 0.841544
 **********
 **   18 **HESSE 
 **********

 FCN=   6914.636     FROM HESSE     STATUS=OK           367 CALLS     1714 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.1766        3.8139        .49085E-03   -1.5667    
   3  Prefactor     .55511E-09    8.7408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .19820        1.7300        .38456E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11102E-08    30.216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        2.1445        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          22.661        5.3152        .21032E-03   -1.5613    
   8  norm          .25535E-08    4.5814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          23.666        17.680        .20551E-03   -1.5611    
  10  Prefactor     2.5632        3.1712        .63798E-03   -1.5676    
  11  Prefactor     .22204E-09    10.924        .81722E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          47.963        10.986        .14441E-03   -1.5569    
  13  Prefactor     .34972E-08    68.187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .16653E-09    9.8270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .66613E-09    6.1259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .16653E-09    17.186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        3.0487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.8922        10.299        .38222E-03   -1.5655    
  19  Prefactor     22.036        6.6895        .21308E-03   -1.5614    
  20  Normalizat    1.3090        .17544        .53554E-01   -.83298    
  21  Prefactor     .84154        .18226        .69293E-01   -.98215    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31618e-08
Minuit parameter uncertainties:
  1  7.41886e-07
  2  3.8139
  3  0.000139314
  4  1.17113
  5  0.000369727
  6  3.51193e-06
  7  5.3152
  8  0.000215904
  9  17.6798
  10  3.17118
  11  0.000102348
  12  10.9859
  13  0.000978527
  14  8.22388e-05
  15  0.000127398
  16  0.000102418
  17  1.21977e-05
  18  10.2986
  19  6.68946
  20  0.175522
  21  0.182395
Done.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  1.665e-10  1.024e-04  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:  8.415e-01  1.824e-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.309e+00  1.755e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/271587/likelihoodResults_697593601_697852801_4FGL_J1333.2+2725_daily_bin1768.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) = 6914.66531201
delta logL = -0.0288446636405

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6914.63646764
delta logL = -2.9400416679e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31415E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.6966       1.0000          .0000       10.000    
     3 'Normalizat'    1.3091       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84140       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6914.636     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      200 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        13.978        .42118E-03** at limit **
   2  Index         2.0394        .91465        .82297E-04     .0000    
   3  Normalizat    1.3090        1.0775        .19999E-05    .27681E-04
   4  Prefactor     .84154        1.1889       -.38910E-06    .18587E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.03943
  Normalizat = 1.30899
  Prefactor  = 0.841544
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6914.636     FROM HESSE     STATUS=FAILED         9 CALLS      209 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        13.978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .44918        1.6675        .82297E-04   -.63368    
   3  Normalizat    1.3090        1.0775        .19999E-05   -.83298    
   4  Prefactor     .84154        1.1889       -.38910E-06   -.98215    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.77055e-12
Minuit parameter uncertainties:
  1  3.39299e-05
  2  0.922692
  3  1.09684
  4  1.22857
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/271587': 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): 101
logL (Free Index) = 6914.63646735
delta logL = 6.36646291241e-12

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  0.000e+00  3.393e-05  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.039e+00  9.227e-01  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:  8.415e-01  1.229e+00  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.309e+00  1.097e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 203.323 27.422

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/271587/cmap_HighResolution_697593601_697852801_4FGL_J1333.2+2725_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.44e-03', job_status='DONE', photon_flux_upper_limit='5.78e-08', time_completed='2023-02-12 01:11:11.704543', job_id='271587', GAL2='0.84', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1676193071.7', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='6.37e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='1768' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 01:11:11 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0163>
Subject: Job 271587: <4FGL_J1333.2+2725_daily_bin1768> in cluster <slac> Done

Job <4FGL_J1333.2+2725_daily_bin1768> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Feb 12 00:55:18 2023
Job was executed on host(s) <bullet0163>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 00:58:32 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 00:58:32 2023
Terminated at Sun Feb 12 01:11:12 2023
Results reported at Sun Feb 12 01:11:12 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1333.2+2725_daily_bin1768 203.323 27.4221 697593601 697852801 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 :                                   558.40 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             253.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   760 sec.
    Turnaround time :                            954 sec.

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

