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


Performing analysis on: 4FGL_J1333.2+2725_daily_bin1709
RA = 203.323, Dec = 27.4221
tmin = 682300801, tmax = 682560001
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='135140', job_status='RUN', time_executed='2022-09-16 17:44:26.334166', time_epoch_executed='1663375466.33' WHERE source_name='4FGL J1333.2+2725' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/135140

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/135140/ft1_4FGL_J1333.2+2725_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/135140/ft2_4FGL_J1333.2+2725_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/135140/ft1_4FGL_J1333.2+2725_daily_bin1709.fits outfile=/scratch/kocevski/135140/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1709.fits ra=203.323 dec=27.4221 rad=12.0 tmin=682300801.0 tmax=682560001.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.74
user 3.53
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/135140/ft2_4FGL_J1333.2+2725_daily_bin1709.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/135140/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/135140/ft1_filtered_4FGL_J1333.2+2725_daily_bin1709.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.52
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 557

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/135140/ft1_filtered_4FGL_J1333.2+2725_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/135140/ft2_4FGL_J1333.2+2725_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/135140/ltcube_682300801_682560001_4FGL_J1333.2+2725_daily_bin1709.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/135140/ft2_4FGL_J1333.2+2725_daily_bin1709.fits
.....................!
real 14.23
user 13.76
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/135140/ft1_filtered_4FGL_J1333.2+2725_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/135140/ft2_4FGL_J1333.2+2725_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/135140/ltcube_682300801_682560001_4FGL_J1333.2+2725_daily_bin1709.fits outfile=/scratch/kocevski/135140/expmap_682300801_682560001_4FGL_J1333.2+2725_daily_bin1709.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/135140/ltcube_682300801_682560001_4FGL_J1333.2+2725_daily_bin1709.fits
.....................!
real 192.78
user 187.96
sys 4.35

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/135140/ft1_filtered_4FGL_J1333.2+2725_daily_bin1709.fits scfile=/scratch/kocevski/135140/ft2_4FGL_J1333.2+2725_daily_bin1709.fits outfile=/scratch/kocevski/135140/cmap_682300801_682560001_4FGL_J1333.2+2725_daily_bin1709.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/135140/ft1_filtered_4FGL_J1333.2+2725_daily_bin1709.fits scfile=/scratch/kocevski/135140/ft2_4FGL_J1333.2+2725_daily_bin1709.fits outfile=/scratch/kocevski/135140/cmap_HighResolution_682300801_682560001_4FGL_J1333.2+2725_daily_bin1709.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54677       1.0000          .0000       .10000E+07
     2 'norm      '    8.9606       1.0000          .0000       .10000E+07
     3 'Prefactor '    21.222       1.0000          .0000       .10000E+07
     4 'norm      '    .45620       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10354E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .95036E-05   1.0000          .0000       .10000E+07
     7 'norm      '    29.829       1.0000          .0000       .10000E+07
     8 'norm      '    .45172E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .67471E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .13545E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    8.7426       1.0000          .0000       .10000E+07
    12 'norm      '    7.0463       1.0000          .0000       .10000E+07
    13 'Prefactor '    .78143E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .24719E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .28508E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    23.364       1.0000          .0000       .10000E+07
    17 'Prefactor '    14.851       1.0000          .0000       .10000E+07
    18 'Prefactor '    .11422E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    28.073       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.3084       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .72266       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=   6376.017     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1560 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .54890        .65759        .21587E-07    .30319E-02
   2  norm          8.9514        5.3384       -.13746E-07    .20943E-02
   3  Prefactor     22.240        6.1336       -.29537E-07   -.27393E-01
   4  norm          .44447        6.8704        .25402E-06   -.55260E-03
   5  Prefactor     .55511E-10    5.1306       -.11147E-06** at limit **
   6  norm           .0000        1.8083       -.66153E-07** at limit **
   7  norm          29.743        6.7545       -.37433E-08   -.18541E-01
   8  norm          .47840E-06    4.8937        .15459E-06** at limit **
   9  norm          .13967E-06    11.935        .92353E-07** at limit **
  10  Prefactor      .0000        2.9984        .11940E-06** at limit **
  11  Prefactor     8.7520        2.6988       -.13070E-07    .32110E-02
  12  norm          7.0373        6.3174       -.10429E-07    .27204E-02
  13  Prefactor     .42744E-08    21.362        .21034E-06** at limit **
  14  norm          .55511E-10    3.7508        .78050E-07** at limit **
  15  Prefactor     .19984E-08    6.9537        .45804E-07** at limit **
  16  Prefactor     22.976        1.9191        .42729E-08   -.19753E-01
  17  Prefactor     14.879        5.7929       -.18614E-07    .13358E-02
  18  Prefactor     .15649E-06    8.3954        .21335E-06** at limit **
  19  Prefactor     28.117        1.6783       -.40254E-08   -.40208E-01
  20  Normalizat    1.3081        .22221       -.97598E-06    .44973E-04
  21  Prefactor     .72299        .21674        .32450E-05    .48756E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.548896
  norm       = 8.95142
  Prefactor  = 22.2399
  norm       = 0.444473
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 29.7432
  norm       = 4.78395e-07
  norm       = 1.39666e-07
  Prefactor  = 0
  Prefactor  = 8.75198
  norm       = 7.03729
  Prefactor  = 4.27436e-09
  norm       = 5.55112e-11
  Prefactor  = 1.9984e-09
  Prefactor  = 22.9763
  Prefactor  = 14.8789
  Prefactor  = 1.56486e-07
  Prefactor  = 28.1167
  Normalizat = 1.30808
  Prefactor  = 0.722988
 **********
 **   18 **HESSE 
 **********

 FCN=   6376.017     FROM HESSE     STATUS=OK           361 CALLS     1921 TOTAL
                     EDM=   .33E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .54890        16.575        .74137E-03   -1.5693    
   2  norm          8.9514        5.4418        .33459E-03   -1.5648    
   3  Prefactor     22.240        23.993        .21714E-03   -1.5614    
   4  norm          .44447        6.9285        .83245E-03   -1.5695    
   5  Prefactor     .55511E-10    5.1318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        1.8080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          29.743        7.6259        .18313E-03   -1.5599    
   8  norm          .47840E-06    12.199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .13967E-06    14.618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        2.9914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.7520        21.533        .33876E-03   -1.5649    
  12  norm          7.0373        6.3272        .37768E-03   -1.5655    
  13  Prefactor     .42744E-08    23.080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .55511E-10    3.7463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .19984E-08    6.9889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.976        21.254        .20693E-03   -1.5612    
  17  Prefactor     14.879        5.7775        .25964E-03   -1.5631    
  18  Prefactor     .15649E-06    10.618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     28.117        9.2245        .18877E-03   -1.5602    
  20  Normalizat    1.3081        .19092        .55120E-01   -.83325    
  21  Prefactor     .72299        .18449        .71535E-01   -1.0263    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.34286e-06
Minuit parameter uncertainties:
  1  6.0325
  2  5.44181
  3  23.9934
  4  3.50972
  5  2.75578e-05
  6  1.40634e-07
  7  7.62593
  8  0.00483165
  9  0.00285794
  10  1.22126e-05
  11  21.533
  12  6.32724
  13  0.000626503
  14  2.04969e-05
  15  0.00023648
  16  21.254
  17  5.7775
  18  0.00257806
  19  9.22454
  20  0.191024
  21  0.184647
Done.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  2.298e+01  2.125e+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:  7.230e-01  1.846e-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.308e+00  1.910e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.73
Ra Dec: 203.323 27.422
Photon Index (Fixed Index): 2.32 +/- 0.00
Photon Flux (Fixed Index): 3.30e-08 +/- 3.05e-08
Energy Flux (Fixed Index): 1.22e-05 +/- 1.13e-05

TS (Fixed Index): 2.73
Ra Dec: 203.323 27.422
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/135140/likelihoodResults_682300801_682560001_4FGL_J1333.2+2725_daily_bin1709.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) = 6375.57950176
delta logL = 0.437277416538

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6375.57450518
delta logL = 0.442273996611

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6375.575     FROM MIGRAD    STATUS=FAILED        86 CALLS      287 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.359        22.880        .10561E-04    .27880E-03
   2  Index         3.1814        1.0999        .59083E-02    .62335E-03
   3  Normalizat    1.2409        .23132        .24900E-03   -.19116E-03
   4  Prefactor     .76559        .22304        .30855E-03   -.22800E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6375.575     FROM SIMPLEX   STATUS=UNCHANGED     74 CALLS      361 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.359        22.880        .17944E-04   -1.5632    
   2  Index         3.1814        1.0999        .76618E-03   -.37227    
   3  Normalizat    1.2409        .23132        .27128E-03   -.85350    
   4  Prefactor     .76559        .22304        .27542E-03   -1.0101    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6375.575     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      389 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.359        18.533        .42245E-06   -.10981E-03
   2  Index         3.1814        .89239        .11817E-02    .42428E-05
   3  Normalizat    1.2409        .22943        .49801E-04   -.68485E-06
   4  Prefactor     .76559        .22196        .12342E-04   -.55269E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.3594
  Index      = 3.18136
  Normalizat = 1.24085
  Prefactor  = 0.765589
 **********
 **   18 **HESSE 
 **********

 FCN=   6375.575     FROM HESSE     STATUS=OK            23 CALLS      412 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.359        17.882        .37270E-06   -1.5632    
   2  Index         3.1814        .86096        .47267E-04   -.37227    
   3  Normalizat    1.2409        .22920        .99602E-05   -.85350    
   4  Prefactor     .76559        .22184        .24684E-05   -1.0101    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17704e-12
Minuit parameter uncertainties:
  1  17.8816
  2  0.865944
  3  0.229382
  4  0.222094
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/135140': 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) = 6375.57450505
delta logL = 0.442274123232

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  1.436e+01  1.788e+01  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  3.181e+00  8.659e-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:  7.656e-01  2.221e-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.241e+00  2.294e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.71
Ra Dec: 203.323 27.422
Photon Index (Free Index): 3.18 +/- 0.87
Photon Flux (Free Index): 8.85e-08 +/- 7.35e-08
Energy Flux (Free Index): 1.63e-05 +/- 1.11e-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/135140/cmap_HighResolution_682300801_682560001_4FGL_J1333.2+2725_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.35e-03', comment='SUCCESS', photon_flux='3.30e-08', energy_flux2='1.63e-05', photon_flux_error='3.05e-08', dlogl='4.42e-01', energy_flux='1.22e-05', photon_flux2='8.85e-08', job_status='DONE', time_completed='2022-09-16 17:53:53.826882', photon_index_error2='0.87', photon_index2='3.18', ts='2.73', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='1.11e-05', EG='1.31', time_epoch_completed='1663376033.83', return_code='0', job_id='135140', GAL2='0.77', EG2='1.24', return_code2='0', energy_flux_error='1.13e-05', photon_flux_error2='7.35e-08', ts2='3.71', photon_index='2.32' WHERE bin_id='1709' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:53:53 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 135140: <4FGL_J1333.2+2725_daily_bin1709> in cluster <slac> Done

Job <4FGL_J1333.2+2725_daily_bin1709> 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) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:41:58 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:41:58 2022
Terminated at Fri Sep 16 17:53:54 2022
Results reported at Fri Sep 16 17:53:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1333.2+2725_daily_bin1709 203.323 27.4221 682300801 682560001 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 :                                   569.28 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             276.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   718 sec.
    Turnaround time :                            813 sec.

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

