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


Performing analysis on: 4FGL_J2211.2-1325_weekly_bin755
RA = 332.817, Dec = -13.4189
tmin = 695606401, tmax = 696211201
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='749291', job_status='RUN', time_executed='2023-01-24 03:06:48.526689', time_epoch_executed='1674558408.53' WHERE source_name='4FGL J2211.2-1325' and cadence='weekly' and bin_id='755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/749291

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/749291/ft1_4FGL_J2211.2-1325_weekly_bin755.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/749291/ft2_4FGL_J2211.2-1325_weekly_bin755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/749291/ft1_4FGL_J2211.2-1325_weekly_bin755.fits outfile=/scratch/kocevski/749291/ft1_filteredMKT_4FGL_J2211.2-1325_weekly_bin755.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=695606401.0 tmax=696211201.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 8.53
user 8.17
sys 0.32

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/749291/ft2_4FGL_J2211.2-1325_weekly_bin755.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/749291/ft1_filteredMKT_4FGL_J2211.2-1325_weekly_bin755.fits evtable="EVENTS" outfile="/scratch/kocevski/749291/ft1_filtered_4FGL_J2211.2-1325_weekly_bin755.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.57
user 0.40
sys 0.16

Number of photons that the gtmktime cut: 1147

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/749291/ft1_filtered_4FGL_J2211.2-1325_weekly_bin755.fits" evtable="EVENTS" scfile=/scratch/kocevski/749291/ft2_4FGL_J2211.2-1325_weekly_bin755.fits sctable="SC_DATA" outfile=/scratch/kocevski/749291/ltcube_695606401_696211201_4FGL_J2211.2-1325_weekly_bin755.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/749291/ft2_4FGL_J2211.2-1325_weekly_bin755.fits
.....................!
real 35.00
user 34.40
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/749291/ft1_filtered_4FGL_J2211.2-1325_weekly_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/749291/ft2_4FGL_J2211.2-1325_weekly_bin755.fits sctable="SC_DATA" expcube=/scratch/kocevski/749291/ltcube_695606401_696211201_4FGL_J2211.2-1325_weekly_bin755.fits outfile=/scratch/kocevski/749291/expmap_695606401_696211201_4FGL_J2211.2-1325_weekly_bin755.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/749291/ltcube_695606401_696211201_4FGL_J2211.2-1325_weekly_bin755.fits
.....................!
real 192.21
user 187.12
sys 4.54

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/749291/ft1_filtered_4FGL_J2211.2-1325_weekly_bin755.fits scfile=/scratch/kocevski/749291/ft2_4FGL_J2211.2-1325_weekly_bin755.fits outfile=/scratch/kocevski/749291/cmap_695606401_696211201_4FGL_J2211.2-1325_weekly_bin755.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.59
user 0.41
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/749291/ft1_filtered_4FGL_J2211.2-1325_weekly_bin755.fits scfile=/scratch/kocevski/749291/ft2_4FGL_J2211.2-1325_weekly_bin755.fits outfile=/scratch/kocevski/749291/cmap_HighResolution_695606401_696211201_4FGL_J2211.2-1325_weekly_bin755.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.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/749291/ft1_filtered_4FGL_J2211.2-1325_weekly_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/749291/ft2_4FGL_J2211.2-1325_weekly_bin755.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/749291/Model_4FGL_J2211.2-1325_weekly_bin755.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/749291/ft1_filtered_4FGL_J2211.2-1325_weekly_bin755.fits.....................!
real 111.40
user 109.91
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/749291/ft1_filtered_4FGL_J2211.2-1325_weekly_bin755.fits', '/scratch/kocevski/749291/ft2_4FGL_J2211.2-1325_weekly_bin755.fits', expMap='/scratch/kocevski/749291/expmap_695606401_696211201_4FGL_J2211.2-1325_weekly_bin755.fits', expCube='/scratch/kocevski/749291/ltcube_695606401_696211201_4FGL_J2211.2-1325_weekly_bin755.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/749291/Model_4FGL_J2211.2-1325_weekly_bin755.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/749291/ft1_filtered_4FGL_J2211.2-1325_weekly_bin755.fits
Spacecraft file(s): /scratch/kocevski/749291/ft2_4FGL_J2211.2-1325_weekly_bin755.fits
Exposure map: /scratch/kocevski/749291/expmap_695606401_696211201_4FGL_J2211.2-1325_weekly_bin755.fits
Exposure cube: /scratch/kocevski/749291/ltcube_695606401_696211201_4FGL_J2211.2-1325_weekly_bin755.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/749291/Model_4FGL_J2211.2-1325_weekly_bin755.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 12969.8422449

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8073       1.0000          .0000       .10000E+07
     2 'Prefactor '    10.175       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.4584       1.0000          .0000       .10000E+07
     4 'norm      '    .36404E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .58120E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    13.028       1.0000          .0000       .10000E+07
     7 'Prefactor '    .30916E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4048       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.7715       1.0000          .0000       .10000E+07
    10 'Prefactor '    .45387       1.0000          .0000       .10000E+07
    11 'Prefactor '    .37573E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .19040E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .33216E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .13059       1.0000          .0000       .10000E+07
    15 'norm      '    .99884       1.0000          .0000       .10000E+07
    16 'Prefactor '    7.7346       1.0000          .0000       .10000E+07
    17 'norm      '    2.1524       1.0000          .0000       .10000E+07
    18 'Prefactor '    7.7594       1.0000          .0000       .10000E+07
    19 'Prefactor '    .24777E-04   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.4241       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .87850       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=   12969.72     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1298 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8077        2.3277        .52713E-08    .14207E-02
   2  Prefactor     10.279        2.0831        .26795E-06    .51173E-02
   3  Prefactor     2.4732        9.8235       -.50050E-05   -.79035E-02
   4  norm           .0000        1.0491       -.88933E-10** at limit **
   5  Prefactor     .10547E-08    3.8839        .58445E-06** at limit **
   6  Prefactor     13.077        8.6680        .33789E-06    .49593E-01
   7  Prefactor     .16653E-09    3.9908       -.39065E-06** at limit **
   8  Prefactor     1.4163        13.796        .19767E-05    .10316E-02
   9  Prefactor     3.8006        4.3194       -.71215E-07   -.66099E-02
  10  Prefactor     .45280        1.6904       -.87289E-07   -.21883E-02
  11  Prefactor     .11102E-09    16.365        .11117E-05** at limit **
  12  norm          .44409E-09    .64538        .78760E-07** at limit **
  13  Prefactor      .0000        34.293       -.65211E-06** at limit **
  14  Prefactor     .21377E-05    100.64       -.12236E-04** at limit **
  15  norm          .99889        .64583       -.38017E-07   -.34345E-01
  16  Prefactor     7.7469        1.0640        .11027E-06    .11370E-02
  17  norm          2.1518        .90228       -.19547E-07    .19051E-01
  18  Prefactor     7.7615        1.0336        .59681E-07   -.54334E-03
  19  Prefactor     .77716E-09    2.4885       -.63405E-07** at limit **
  20  Normalizat    1.4244        .18813        .38364E-06    .29041E-04
  21  Prefactor     .87827        .12161        .72691E-06   -.92593E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.80767
  Prefactor  = 10.2794
  Prefactor  = 2.47323
  norm       = 0
  Prefactor  = 1.05471e-09
  Prefactor  = 13.0767
  Prefactor  = 1.66533e-10
  Prefactor  = 1.4163
  Prefactor  = 3.80064
  Prefactor  = 0.452804
  Prefactor  = 1.11022e-10
  norm       = 4.44089e-10
  Prefactor  = 0
  Prefactor  = 2.13768e-06
  norm       = 0.998895
  Prefactor  = 7.74693
  norm       = 2.15179
  Prefactor  = 7.76151
  Prefactor  = 7.77156e-10
  Normalizat = 1.42437
  Prefactor  = 0.87827
 **********
 **   18 **HESSE 
 **********

 FCN=   12969.72     FROM HESSE     STATUS=OK           365 CALLS     1663 TOTAL
                     EDM=   .61E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8077        2.3401        .77699E-03   -1.5681    
   2  Prefactor     10.279        9.6615        .31387E-03   -1.5644    
   3  Prefactor     2.4732        12.006        .65204E-03   -1.5677    
   4  norm           .0000        1.0550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10547E-08    3.8706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.077        14.730        .27726E-03   -1.5636    
   7  Prefactor     .16653E-09    3.9809        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.4163        14.096        .91452E-03   -1.5684    
   9  Prefactor     3.8006        4.3384        .51960E-03   -1.5669    
  10  Prefactor     .45280        1.7150        .83493E-03   -1.5695    
  11  Prefactor     .11102E-09    16.414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .44409E-09    .64440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        34.181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .21377E-05    7.1605        .13171E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .99889        .65047        .43724E-03   -1.5688    
  16  Prefactor     7.7469        16.801        .36033E-03   -1.5652    
  17  norm          2.1518        1.5716        .70201E-03   -1.5679    
  18  Prefactor     7.7615        23.630        .35974E-03   -1.5652    
  19  Prefactor     .77716E-09    2.4892        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.4244        .15976        .62218E-01   -.79927    
  21  Prefactor     .87827        .10077        .44730E-01   -.96905    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.11658e-08
Minuit parameter uncertainties:
  1  2.34012
  2  9.6615
  3  10.8985
  4  5.51407e-06
  5  0.000128173
  6  14.7296
  7  4.99505e-05
  8  8.93628
  9  4.33845
  10  1.71496
  11  8.46891e-05
  12  3.39587e-05
  13  3.96732e-05
  14  0.00782482
  15  0.65047
  16  16.8007
  17  1.57159
  18  23.6306
  19  8.91998e-05
  20  0.15982
  21  0.100789
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.416e+00  8.936e+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

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  8.783e-01  1.008e-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.424e+00  1.598e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/749291/likelihoodResults_695606401_696211201_4FGL_J2211.2-1325_weekly_bin755.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): 102
logL (Free Index) = 12969.6154468
delta logL = 0.101373771904

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12968.9416523
delta logL = 0.775168290455

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .77968E-03   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    1.3668       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90644       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+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.

 FCN=   12968.94     FROM MIGRAD    STATUS=CONVERGED    125 CALLS      431 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .77955E-03    .81891E-03    .29469E-05** at limit **
   2  Index        10.0000        1.4755        .50000    ** at limit **
   3  Normalizat    1.3667        .19228        .27993E-03    .53609E-04
   4  Prefactor     .90644        .12417        .22001E-03    .59115E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000779546
  Index      = 10
  Normalizat = 1.36672
  Prefactor  = 0.906439
 **********
 **   18 **HESSE 
 **********

 FCN=   12968.94     FROM HESSE     STATUS=OK            31 CALLS      462 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .77955E-03    .79021E-03    .58939E-06   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        1.3809        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.3667        .19280        .11197E-04   -.81596    
   4  Prefactor     .90644        .12442        .88004E-05   -.95916    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.88303e-10
Minuit parameter uncertainties:
  1  0.000790209
  2  3.72623e-05
  3  0.192902
  4  0.124462
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/749291': 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) = 12968.941652
delta logL = 0.775168610844

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  7.795e-04  7.902e-04  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  1.000e+01  3.726e-05  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:  9.064e-01  1.245e-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.367e+00  1.929e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.67
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 5.24e-08 +/- 5.15e-08
Energy Flux (Free Index): 5.86e-06 +/- 5.79e-06

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/749291/cmap_HighResolution_695606401_696211201_4FGL_J2211.2-1325_weekly_bin755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.89e-03', comment='SUCCESS', energy_flux2='5.86e-06', dlogl='7.75e-01', photon_flux2='5.24e-08', job_status='DONE', time_completed='2023-01-24 03:20:18.293671', photon_index_error2='0.00', photon_index2='10.00', ts='0.03', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='8.73e-08', energy_flux_error2='5.79e-06', EG='1.42', time_epoch_completed='1674559218.29', return_code='0', job_id='749291', GAL2='0.91', EG2='1.37', return_code2='0', photon_flux_error2='5.15e-08', ts2='1.67', photon_index='2.72' WHERE bin_id='755' AND source_name='4FGL J2211.2-1325' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan 24 03:20:18 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 749291: <4FGL_J2211.2-1325_weekly_bin755> in cluster <slac> Done

Job <4FGL_J2211.2-1325_weekly_bin755> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jan 24 03:05:28 2023
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 24 03:06:36 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 24 03:06:36 2023
Terminated at Tue Jan 24 03:20:19 2023
Results reported at Tue Jan 24 03:20:19 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_weekly_bin755 332.817 -13.4189 695606401 696211201 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 :                                   810.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             342.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            891 sec.

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

