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


Performing analysis on: 4FGL_J2211.2-1325_weekly_bin742
RA = 332.817, Dec = -13.4189
tmin = 687744001, tmax = 688348801
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='924577', job_status='RUN', time_executed='2022-10-25 00:52:35.777313', time_epoch_executed='1666684355.78' WHERE source_name='4FGL J2211.2-1325' and cadence='weekly' and bin_id='742'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/924577

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/924577/ft1_4FGL_J2211.2-1325_weekly_bin742.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/924577/ft2_4FGL_J2211.2-1325_weekly_bin742.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/924577/ft1_4FGL_J2211.2-1325_weekly_bin742.fits outfile=/scratch/kocevski/924577/ft1_filteredMKT_4FGL_J2211.2-1325_weekly_bin742.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=687744001.0 tmax=688348801.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.14
user 8.76
sys 0.29

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

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

Number of photons that the gtmktime cut: 947

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/924577/ft1_filtered_4FGL_J2211.2-1325_weekly_bin742.fits" evtable="EVENTS" scfile=/scratch/kocevski/924577/ft2_4FGL_J2211.2-1325_weekly_bin742.fits sctable="SC_DATA" outfile=/scratch/kocevski/924577/ltcube_687744001_688348801_4FGL_J2211.2-1325_weekly_bin742.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/924577/ft2_4FGL_J2211.2-1325_weekly_bin742.fits
.....................!
real 27.03
user 26.47
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/924577/ft1_filtered_4FGL_J2211.2-1325_weekly_bin742.fits evtable="EVENTS" scfile=/scratch/kocevski/924577/ft2_4FGL_J2211.2-1325_weekly_bin742.fits sctable="SC_DATA" expcube=/scratch/kocevski/924577/ltcube_687744001_688348801_4FGL_J2211.2-1325_weekly_bin742.fits outfile=/scratch/kocevski/924577/expmap_687744001_688348801_4FGL_J2211.2-1325_weekly_bin742.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/924577/ltcube_687744001_688348801_4FGL_J2211.2-1325_weekly_bin742.fits
.....................!
real 191.03
user 185.48
sys 5.17

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/924577/ft1_filtered_4FGL_J2211.2-1325_weekly_bin742.fits scfile=/scratch/kocevski/924577/ft2_4FGL_J2211.2-1325_weekly_bin742.fits outfile=/scratch/kocevski/924577/cmap_687744001_688348801_4FGL_J2211.2-1325_weekly_bin742.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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/924577/ft1_filtered_4FGL_J2211.2-1325_weekly_bin742.fits scfile=/scratch/kocevski/924577/ft2_4FGL_J2211.2-1325_weekly_bin742.fits outfile=/scratch/kocevski/924577/cmap_HighResolution_687744001_688348801_4FGL_J2211.2-1325_weekly_bin742.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.58
user 0.43
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/924577/ft1_filtered_4FGL_J2211.2-1325_weekly_bin742.fits evtable="EVENTS" scfile=/scratch/kocevski/924577/ft2_4FGL_J2211.2-1325_weekly_bin742.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/924577/Model_4FGL_J2211.2-1325_weekly_bin742.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/924577/ft1_filtered_4FGL_J2211.2-1325_weekly_bin742.fits.....................!
real 89.81
user 88.44
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/924577/ft1_filtered_4FGL_J2211.2-1325_weekly_bin742.fits', '/scratch/kocevski/924577/ft2_4FGL_J2211.2-1325_weekly_bin742.fits', expMap='/scratch/kocevski/924577/expmap_687744001_688348801_4FGL_J2211.2-1325_weekly_bin742.fits', expCube='/scratch/kocevski/924577/ltcube_687744001_688348801_4FGL_J2211.2-1325_weekly_bin742.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/924577/Model_4FGL_J2211.2-1325_weekly_bin742.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/924577/ft1_filtered_4FGL_J2211.2-1325_weekly_bin742.fits
Spacecraft file(s): /scratch/kocevski/924577/ft2_4FGL_J2211.2-1325_weekly_bin742.fits
Exposure map: /scratch/kocevski/924577/expmap_687744001_688348801_4FGL_J2211.2-1325_weekly_bin742.fits
Exposure cube: /scratch/kocevski/924577/ltcube_687744001_688348801_4FGL_J2211.2-1325_weekly_bin742.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/924577/Model_4FGL_J2211.2-1325_weekly_bin742.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) = 10803.1642671

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1292       1.0000          .0000       .10000E+07
     2 'Prefactor '    .71782E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.5465       1.0000          .0000       .10000E+07
     4 'norm      '    .94169E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.3277       1.0000          .0000       .10000E+07
     6 'Prefactor '    .17048E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.4990       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.5645       1.0000          .0000       .10000E+07
     9 'Prefactor '    .10868E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .89821       1.0000          .0000       .10000E+07
    11 'Prefactor '    .53409E-03   1.0000          .0000       .10000E+07
    12 'norm      '    3.3112       1.0000          .0000       .10000E+07
    13 'Prefactor '    21.360       1.0000          .0000       .10000E+07
    14 'Prefactor '    22.454       1.0000          .0000       .10000E+07
    15 'norm      '    4.4035       1.0000          .0000       .10000E+07
    16 'Prefactor '    12.718       1.0000          .0000       .10000E+07
    17 'norm      '    .99920E-08   1.0000          .0000       .10000E+07
    18 'Prefactor '    30.526       1.0000          .0000       .10000E+07
    19 'Prefactor '    6.2807       1.0000          .0000       .10000E+07
    20 'Normalizat'    .98782       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .90312       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=   10803.16     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1728 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1283        2.1947        .43530E-06    .83702E-03
   2  Prefactor     .48295E-08    2.0488        .12185E-06** at limit **
   3  Prefactor     5.5191        4.8595        .29102E-06   -.31685E-01
   4  norm          .55511E-10    2.2989       -.60394E-06** at limit **
   5  Prefactor     4.3572        4.9075       -.15658E-06    .24626E-02
   6  Prefactor     .20262E-07    3.1440        .69671E-06** at limit **
   7  Prefactor     7.5081        8.4434        .39329E-06    .31058E-01
   8  Prefactor     1.5202        10.231        .99541E-06    .18071E-02
   9  Prefactor     .12657E-07    2.2376        .65709E-07** at limit **
  10  Prefactor     .88536        2.1717       -.24626E-06    .99950E-03
  11  Prefactor     .55511E-10    12.570        .14563E-06** at limit **
  12  norm          3.3122        2.4423        .10063E-06    .16206E-02
  13  Prefactor     21.354        4.5914       -.16439E-06    .14089E-01
  14  Prefactor     22.436        1.7871       -.64561E-07    .16102E-01
  15  norm          4.4052        .95590       -.14006E-06    .11998E-02
  16  Prefactor     12.635        16.107        .86259E-06    .21271E-01
  17  norm           .0000        1.3680        .25060E-06** at limit **
  18  Prefactor     30.328        33.991       -.91652E-06    .13682E-01
  19  Prefactor     6.3049        6.7348       -.85244E-07   -.38561E-03
  20  Normalizat    .98824        .19043       -.27908E-05   -.27900E-04
  21  Prefactor     .90308        .12171       -.17727E-05   -.57239E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.12832
  Prefactor  = 4.82947e-09
  Prefactor  = 5.51914
  norm       = 5.55112e-11
  Prefactor  = 4.35716
  Prefactor  = 2.02616e-08
  Prefactor  = 7.50812
  Prefactor  = 1.52016
  Prefactor  = 1.26565e-08
  Prefactor  = 0.885356
  Prefactor  = 5.55112e-11
  norm       = 3.31218
  Prefactor  = 21.3536
  Prefactor  = 22.4364
  norm       = 4.40518
  Prefactor  = 12.6355
  norm       = 0
  Prefactor  = 30.3284
  Prefactor  = 6.30495
  Normalizat = 0.988241
  Prefactor  = 0.903077
 **********
 **   18 **HESSE 
 **********

 FCN=   10803.16     FROM HESSE     STATUS=OK           371 CALLS     2099 TOTAL
                     EDM=   .76E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1283        2.1903        .70631E-03   -1.5679    
   2  Prefactor     .48295E-08    5.9322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.5191        10.735        .42636E-03   -1.5661    
   4  norm          .55511E-10    2.2965        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.3572        4.9594        .48398E-03   -1.5666    
   6  Prefactor     .20262E-07    5.4568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.5081        9.8572        .36599E-03   -1.5653    
   8  Prefactor     1.5202        10.334        .85007E-03   -1.5683    
   9  Prefactor     .12657E-07    5.8614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .88536        2.1939        .45884E-03   -1.5689    
  11  Prefactor     .55511E-10    12.588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.3122        2.4661        .55608E-03   -1.5672    
  13  Prefactor     21.354        45.987        .21643E-03   -1.5616    
  14  Prefactor     22.436        13.956        .21109E-03   -1.5613    
  15  norm          4.4052        .95808        .47969E-03   -1.5666    
  16  Prefactor     12.635        18.710        .28063E-03   -1.5637    
  17  norm           .0000        .86582        .23255E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     30.328        35.049        .18102E-03   -1.5598    
  19  Prefactor     6.3049        6.7312        .40030E-03   -1.5658    
  20  Normalizat    .98824        .16324        .66051E-01   -.93425    
  21  Prefactor     .90308        .10108        .45045E-01   -.96034    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.57389e-08
Minuit parameter uncertainties:
  1  2.19028
  2  0.00033884
  3  10.735
  4  2.32845e-05
  5  4.95942
  6  0.000664977
  7  9.85727
  8  7.92687
  9  0.000544227
  10  2.19386
  11  3.96974e-05
  12  2.46614
  13  45.9879
  14  13.9559
  15  0.958079
  16  18.7103
  17  9.68625e-06
  18  35.0489
  19  6.73124
  20  0.163322
  21  0.101104
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.520e+00  7.927e+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:  9.031e-01  1.011e-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:  9.882e-01  1.633e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/924577/likelihoodResults_687744001_688348801_4FGL_J2211.2-1325_weekly_bin742.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) = 10803.147058
delta logL = 0.0143741147931

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10803.1417954
delta logL = 0.0196366561104

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4221       1.0000          .0000       .10000E+07
     2 'Index     '    2.4341       1.0000          .0000       10.000    
     3 'Normalizat'    .98843       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90206       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10803.14     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      294 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4258        9.2153        .13147E-03    .29258E-02
   2  Index         2.4350        1.2679        .14806E-01   -.47162E-05
   3  Normalizat    .98829        .18233        .29214E-03   -.61408E-04
   4  Prefactor     .90214        .12120        .20164E-03   -.76680E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.42582
  Index      = 2.43502
  Normalizat = 0.988289
  Prefactor  = 0.90214
 **********
 **   18 **HESSE 
 **********

 FCN=   10803.14     FROM HESSE     STATUS=OK            25 CALLS      319 TOTAL
                     EDM=   .48E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4258        9.0504        .26295E-04   -1.5677    
   2  Index         2.4350        1.2473        .59223E-03   -.53867    
   3  Normalizat    .98829        .18254        .11686E-04   -.93424    
   4  Prefactor     .90214        .12130        .80654E-05   -.96066    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.77457e-12
Minuit parameter uncertainties:
  1  9.05046
  2  1.2656
  3  0.182659
  4  0.121339
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/924577': 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) = 10803.1417948
delta logL = 0.0196373034814

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  2.426e+00  9.050e+00  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  2.435e+00  1.266e+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:  9.021e-01  1.213e-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:  9.883e-01  1.827e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
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/924577/cmap_HighResolution_687744001_688348801_4FGL_J2211.2-1325_weekly_bin742.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.54e-03', job_status='DONE', photon_flux_upper_limit='8.29e-08', time_completed='2022-10-25 01:05:07.129485', job_id='924577', GAL2='0.90', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1666685107.13', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.96e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='742' AND source_name='4FGL J2211.2-1325' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 25 01:05:07 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 924577: <4FGL_J2211.2-1325_weekly_bin742> in cluster <slac> Done

Job <4FGL_J2211.2-1325_weekly_bin742> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Oct 25 00:50:22 2022
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 25 00:50:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 25 00:50:23 2022
Terminated at Tue Oct 25 01:05:09 2022
Results reported at Tue Oct 25 01:05:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_weekly_bin742 332.817 -13.4189 687744001 688348801 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 :                                   749.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             295.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   885 sec.
    Turnaround time :                            887 sec.

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

