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


Performing analysis on: 4FGL_J2211.2-1325_weekly_bin749
RA = 332.817, Dec = -13.4189
tmin = 691977601, tmax = 692582401
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='544381', job_status='RUN', time_executed='2022-12-13 02:00:41.726931', time_epoch_executed='1670925641.73' WHERE source_name='4FGL J2211.2-1325' and cadence='weekly' and bin_id='749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/544381

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/544381/ft1_4FGL_J2211.2-1325_weekly_bin749.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/544381/ft2_4FGL_J2211.2-1325_weekly_bin749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/544381/ft1_4FGL_J2211.2-1325_weekly_bin749.fits outfile=/scratch/kocevski/544381/ft1_filteredMKT_4FGL_J2211.2-1325_weekly_bin749.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=691977601.0 tmax=692582401.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 9.23
user 8.93
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/544381/ft2_4FGL_J2211.2-1325_weekly_bin749.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/544381/ft2_4FGL_J2211.2-1325_weekly_bin749.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/544381/ft1_filteredMKT_4FGL_J2211.2-1325_weekly_bin749.fits evtable="EVENTS" outfile="/scratch/kocevski/544381/ft1_filtered_4FGL_J2211.2-1325_weekly_bin749.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.54
user 0.38
sys 0.14

Number of photons that the gtmktime cut: 995

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/544381/ft1_filtered_4FGL_J2211.2-1325_weekly_bin749.fits" evtable="EVENTS" scfile=/scratch/kocevski/544381/ft2_4FGL_J2211.2-1325_weekly_bin749.fits sctable="SC_DATA" outfile=/scratch/kocevski/544381/ltcube_691977601_692582401_4FGL_J2211.2-1325_weekly_bin749.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/544381/ft2_4FGL_J2211.2-1325_weekly_bin749.fits
.....................!
real 27.26
user 26.81
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/544381/ft1_filtered_4FGL_J2211.2-1325_weekly_bin749.fits evtable="EVENTS" scfile=/scratch/kocevski/544381/ft2_4FGL_J2211.2-1325_weekly_bin749.fits sctable="SC_DATA" expcube=/scratch/kocevski/544381/ltcube_691977601_692582401_4FGL_J2211.2-1325_weekly_bin749.fits outfile=/scratch/kocevski/544381/expmap_691977601_692582401_4FGL_J2211.2-1325_weekly_bin749.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/544381/ltcube_691977601_692582401_4FGL_J2211.2-1325_weekly_bin749.fits
.....................!
real 192.83
user 187.54
sys 4.86

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

Setting source of interest to:
4FGL J2211.2-1325 @ 332.817 -13.4189

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/544381/ft1_filtered_4FGL_J2211.2-1325_weekly_bin749.fits scfile=/scratch/kocevski/544381/ft2_4FGL_J2211.2-1325_weekly_bin749.fits outfile=/scratch/kocevski/544381/cmap_691977601_692582401_4FGL_J2211.2-1325_weekly_bin749.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=332.817 yref=-13.4189 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.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/544381/ft1_filtered_4FGL_J2211.2-1325_weekly_bin749.fits scfile=/scratch/kocevski/544381/ft2_4FGL_J2211.2-1325_weekly_bin749.fits outfile=/scratch/kocevski/544381/cmap_HighResolution_691977601_692582401_4FGL_J2211.2-1325_weekly_bin749.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=332.817 yref=-13.4189 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.59
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/544381/ft1_filtered_4FGL_J2211.2-1325_weekly_bin749.fits evtable="EVENTS" scfile=/scratch/kocevski/544381/ft2_4FGL_J2211.2-1325_weekly_bin749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/544381/Model_4FGL_J2211.2-1325_weekly_bin749.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/544381/ft1_filtered_4FGL_J2211.2-1325_weekly_bin749.fits.....................!
real 96.15
user 94.78
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/544381/ft1_filtered_4FGL_J2211.2-1325_weekly_bin749.fits', '/scratch/kocevski/544381/ft2_4FGL_J2211.2-1325_weekly_bin749.fits', expMap='/scratch/kocevski/544381/expmap_691977601_692582401_4FGL_J2211.2-1325_weekly_bin749.fits', expCube='/scratch/kocevski/544381/ltcube_691977601_692582401_4FGL_J2211.2-1325_weekly_bin749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/544381/Model_4FGL_J2211.2-1325_weekly_bin749.xml', optimizer='MINUIT')

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

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  3.184e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  2.725e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  4.751e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/544381/ft1_filtered_4FGL_J2211.2-1325_weekly_bin749.fits
Spacecraft file(s): /scratch/kocevski/544381/ft2_4FGL_J2211.2-1325_weekly_bin749.fits
Exposure map: /scratch/kocevski/544381/expmap_691977601_692582401_4FGL_J2211.2-1325_weekly_bin749.fits
Exposure cube: /scratch/kocevski/544381/ltcube_691977601_692582401_4FGL_J2211.2-1325_weekly_bin749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/544381/Model_4FGL_J2211.2-1325_weekly_bin749.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) = 11086.5451495

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51681E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    10.924       1.0000          .0000       .10000E+07
     3 'Prefactor '    12.833       1.0000          .0000       .10000E+07
     4 'norm      '    .24397E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.5688       1.0000          .0000       .10000E+07
     6 'Prefactor '    6.8451       1.0000          .0000       .10000E+07
     7 'Prefactor '    .16592E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16762E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    15.724       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.7233       1.0000          .0000       .10000E+07
    11 'Prefactor '    .42560E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .27756E-09   1.0000          .0000       .10000E+07
    13 'Prefactor '    .81879E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.7943       1.0000          .0000       .10000E+07
    15 'norm      '    3.2310       1.0000          .0000       .10000E+07
    16 'Prefactor '    .41102E-02   1.0000          .0000       .10000E+07
    17 'norm      '    2.1030       1.0000          .0000       .10000E+07
    18 'Prefactor '    7.4468       1.0000          .0000       .10000E+07
    19 'Prefactor '    .55378E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2843       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .87859       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11085.88     FROM MIGRAD    STATUS=CONVERGED    119 CALLS     1276 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.4392       -.15154E-06** at limit **
   2  Prefactor     11.002        3.9586        .35101E-06    .12668E-01
   3  Prefactor     12.880        1.9542       -.18295E-06    .20000E-01
   4  norm          .55511E-10    2.2500       -.11555E-07** at limit **
   5  Prefactor     2.5634        4.9588       -.16625E-06    .39324E-02
   6  Prefactor     6.8610        6.7796        .15815E-05    .20025E-01
   7  Prefactor     .61062E-09    2.3955       -.40541E-06** at limit **
   8  Prefactor     .22204E-08    7.1595        .54348E-07** at limit **
   9  Prefactor     15.866        3.1955       -.28582E-06    .16813E-01
  10  Prefactor     1.7111        2.8406        .11763E-06   -.10811E-01
  11  Prefactor     .17536E-06    48.562        .57514E-05** at limit **
  12  norm          .98255E-08    2.7142        .63334E-06** at limit **
  13  Prefactor     .22760E-08    22.300        .49396E-06** at limit **
  14  Prefactor     1.5163        4.1300       -.29057E-06    .15477E-01
  15  norm          3.2312        .90387       -.60278E-08    .35678E-01
  16  Prefactor     .12323E-07    26.457       -.13941E-05** at limit **
  17  norm          2.1043        .86089        .38233E-08    .52678E-02
  18  Prefactor     7.5299        2.2776        .37577E-06   -.32528E-01
  19  Prefactor      .0000        3.4746       -.64216E-07** at limit **
  20  Normalizat    1.2845        .19320        .66489E-06    .38102E-03
  21  Prefactor     .87832        .12621       -.14684E-05    .74854E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 11.0021
  Prefactor  = 12.8805
  norm       = 5.55112e-11
  Prefactor  = 2.56337
  Prefactor  = 6.86098
  Prefactor  = 6.10623e-10
  Prefactor  = 2.22045e-09
  Prefactor  = 15.8659
  Prefactor  = 1.71107
  Prefactor  = 1.7536e-07
  norm       = 9.82547e-09
  Prefactor  = 2.27596e-09
  Prefactor  = 1.51627
  norm       = 3.23125
  Prefactor  = 1.23235e-08
  norm       = 2.10431
  Prefactor  = 7.52985
  Prefactor  = 0
  Normalizat = 1.28453
  Prefactor  = 0.878324
 **********
 **   18 **HESSE 
 **********

 FCN=   11085.88     FROM HESSE     STATUS=OK           359 CALLS     1635 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.4385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.002        9.9171        .30288E-03   -1.5642    
   3  Prefactor     12.880        11.973        .27936E-03   -1.5636    
   4  norm          .55511E-10    2.2530        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.5634        4.9702        .63661E-03   -1.5676    
   6  Prefactor     6.8610        7.1160        .38325E-03   -1.5656    
   7  Prefactor     .61062E-09    2.4422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-08    7.1556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.866        8.4140        .25231E-03   -1.5628    
  10  Prefactor     1.7111        2.9631        .79978E-03   -1.5682    
  11  Prefactor     .17536E-06    69.482        .15850E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .98255E-08    2.9266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .22760E-08    22.380        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.5163        12.646        .78037E-03   -1.5683    
  15  norm          3.2312        .90396        .56329E-03   -1.5672    
  16  Prefactor     .12323E-07    26.481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.1043        .92660        .71130E-03   -1.5679    
  18  Prefactor     7.5299        15.894        .36728E-03   -1.5653    
  19  Prefactor      .0000        3.4848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2845        .16334        .62988E-01   -.84029    
  21  Prefactor     .87832        .10541        .44732E-01   -.96903    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.89716e-07
Minuit parameter uncertainties:
  1  5.97523e-06
  2  9.91712
  3  11.9728
  4  2.23329e-05
  5  4.9702
  6  7.11605
  7  7.57821e-05
  8  0.0002509
  9  8.41401
  10  2.96311
  11  0.00698116
  12  0.000338935
  13  0.000450586
  14  8.75794
  15  0.90396
  16  0.00114156
  17  0.926599
  18  15.8941
  19  1.72815e-05
  20  0.163407
  21  0.105434
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  2.220e-09  2.509e-04  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  2.725e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  4.751e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  8.783e-01  1.054e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  1.285e+00  1.634e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 332.817 -13.419
Photon Flux Upper Limit: 6.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/544381/likelihoodResults_691977601_692582401_4FGL_J2211.2-1325_weekly_bin749.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) = 11085.8821035
delta logL = -0.000113595322546

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11085.8819904
delta logL = -5.11499820277e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11085.88     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      242 TOTAL
                     EDM=   .67E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.0818        .38073E-06** at limit **
   2  Index         3.3884        2.8508       -.10578E-04     .0000    
   3  Normalizat    1.2845        .18935       -.56891E-05    .20410E-05
   4  Prefactor     .87832        .12602        .39302E-05    .42255E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.38836
  Normalizat = 1.28453
  Prefactor  = 0.878322
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11085.88     FROM HESSE     STATUS=FAILED        11 CALLS      253 TOTAL
                     EDM=   .67E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.0114        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2828        2.1821       -.10578E-04   -.32819    
   3  Normalizat    1.2845        1.0828       -.56891E-05   -.84029    
   4  Prefactor     .87832        1.2242        .39302E-05   -.96903    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.66025e-14
Minuit parameter uncertainties:
  1  5.40843e-06
  2  1.46494
  3  1.1028
  4  1.26604
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/544381': 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) = 11085.8819899
delta logL = 3.09228198603e-10

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  0.000e+00  5.408e-06  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  3.388e+00  1.465e+00  0.000e+00  1.000e+01 (-1.000e+00)
246        Scale:  4.751e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  8.783e-01  1.266e+00  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  1.285e+00  1.103e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 332.817 -13.419

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/544381/cmap_HighResolution_691977601_692582401_4FGL_J2211.2-1325_weekly_bin749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.21e-03', job_status='DONE', photon_flux_upper_limit='6.61e-08', time_completed='2022-12-13 02:13:12.473763', job_id='544381', GAL2='0.88', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1670926392.47', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='3.09e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='749' AND source_name='4FGL J2211.2-1325' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 13 02:13:12 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 544381: <4FGL_J2211.2-1325_weekly_bin749> in cluster <slac> Done

Job <4FGL_J2211.2-1325_weekly_bin749> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Dec 13 02:00:23 2022
Job was executed on host(s) <bullet0171>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 13 02:00:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 13 02:00:24 2022
Terminated at Tue Dec 13 02:13:13 2022
Results reported at Tue Dec 13 02:13:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_weekly_bin749 332.817 -13.4189 691977601 692582401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2211.2-1325 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   751.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             366.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   768 sec.
    Turnaround time :                            770 sec.

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

