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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1779
RA = 332.817, Dec = -13.4189
tmin = 700444801, tmax = 700704001
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='39088', job_status='RUN', time_executed='2023-03-17 02:32:56.446891', time_epoch_executed='1679045576.45' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/39088

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/39088/ft1_4FGL_J2211.2-1325_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/39088/ft2_4FGL_J2211.2-1325_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/39088/ft1_4FGL_J2211.2-1325_daily_bin1779.fits outfile=/scratch/kocevski/39088/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1779.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.35
user 5.05
sys 0.26

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

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

Number of photons that the gtmktime cut: 440

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/39088/ft1_filtered_4FGL_J2211.2-1325_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/39088/ft2_4FGL_J2211.2-1325_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/39088/ltcube_700444801_700704001_4FGL_J2211.2-1325_daily_bin1779.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/39088/ft2_4FGL_J2211.2-1325_daily_bin1779.fits
.....................!
real 11.78
user 11.42
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/39088/ft1_filtered_4FGL_J2211.2-1325_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/39088/ft2_4FGL_J2211.2-1325_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/39088/ltcube_700444801_700704001_4FGL_J2211.2-1325_daily_bin1779.fits outfile=/scratch/kocevski/39088/expmap_700444801_700704001_4FGL_J2211.2-1325_daily_bin1779.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/39088/ltcube_700444801_700704001_4FGL_J2211.2-1325_daily_bin1779.fits
.....................!
real 192.83
user 187.47
sys 5.04

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/39088/ft1_filtered_4FGL_J2211.2-1325_daily_bin1779.fits scfile=/scratch/kocevski/39088/ft2_4FGL_J2211.2-1325_daily_bin1779.fits outfile=/scratch/kocevski/39088/cmap_700444801_700704001_4FGL_J2211.2-1325_daily_bin1779.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/39088/ft1_filtered_4FGL_J2211.2-1325_daily_bin1779.fits scfile=/scratch/kocevski/39088/ft2_4FGL_J2211.2-1325_daily_bin1779.fits outfile=/scratch/kocevski/39088/cmap_HighResolution_700444801_700704001_4FGL_J2211.2-1325_daily_bin1779.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5731       1.0000          .0000       .10000E+07
     2 'Prefactor '    14.803       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10866E-01   1.0000          .0000       .10000E+07
     4 'norm      '    .14965E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.6871       1.0000          .0000       .10000E+07
     6 'Prefactor '    .34698E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    15.656       1.0000          .0000       .10000E+07
     8 'Prefactor '    14.812       1.0000          .0000       .10000E+07
     9 'Prefactor '    .24112E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    19.947       1.0000          .0000       .10000E+07
    11 'Prefactor '    .45411       1.0000          .0000       .10000E+07
    12 'norm      '    .96199       1.0000          .0000       .10000E+07
    13 'Prefactor '    .27432       1.0000          .0000       .10000E+07
    14 'Prefactor '    .26341E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .15700       1.0000          .0000       .10000E+07
    16 'Prefactor '    .17016E-05   1.0000          .0000       .10000E+07
    17 'norm      '    1.5064       1.0000          .0000       .10000E+07
    18 'Prefactor '    32.673       1.0000          .0000       .10000E+07
    19 'Prefactor '    .27901E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    .27716       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.4209       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=   5143.164     FROM MIGRAD    STATUS=CONVERGED    196 CALLS     2935 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6803        6.2870       -.21302E-07    .61619E-04
   2  Prefactor     14.792        4.8747        .13227E-07    .44833E-01
   3  Prefactor     .38580E-07    2135.2       -.13381E-06** at limit **
   4  norm           .0000        3.6040       -.10840E-06** at limit **
   5  Prefactor     2.5805        7.6871        .17526E-06    .25035E-04
   6  Prefactor     .27756E-09    7.6228        .25596E-06** at limit **
   7  Prefactor     15.651        11.035        .64163E-07    .95560E-02
   8  Prefactor     14.786        15.576       -.31128E-06    .76289E-02
   9  Prefactor      .0000        4.6216       -.51013E-07** at limit **
  10  Prefactor     19.951        7.3055       -.57048E-07    .45356E-02
  11  Prefactor     .55511E-09    72.817        .10904E-05** at limit **
  12  norm          .97654        1.6091       -.80855E-07   -.76805E-02
  13  Prefactor     .35583E-07    43.698       -.95123E-07** at limit **
  14  Prefactor      .0000        5.9443       -.77607E-08** at limit **
  15  norm          .15854        1.1832       -.92635E-07** at limit **
  16  Prefactor     .38858E-09    53.116       -.12344E-05** at limit **
  17  norm          1.5206        1.8955        .93820E-07   -.16779E-02
  18  Prefactor     32.116        46.815       -.10050E-05   -.61354E-03
  19  Prefactor      .0000        10.377        .34091E-07** at limit **
  20  Normalizat    .27835        .28045        .15586E-04   -.61863E-04
  21  Prefactor     1.4205        .19426       -.48155E-06   -.16328E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.68035
  Prefactor  = 14.7921
  Prefactor  = 3.85803e-08
  norm       = 0
  Prefactor  = 2.58046
  Prefactor  = 2.77556e-10
  Prefactor  = 15.6511
  Prefactor  = 14.7863
  Prefactor  = 0
  Prefactor  = 19.9515
  Prefactor  = 5.55112e-10
  norm       = 0.976544
  Prefactor  = 3.55826e-08
  Prefactor  = 0
  norm       = 0.158544
  Prefactor  = 3.88578e-10
  norm       = 1.52064
  Prefactor  = 32.1155
  Prefactor  = 0
  Normalizat = 0.278353
  Prefactor  = 1.42048
 **********
 **   18 **HESSE 
 **********

 FCN=   5143.164     FROM HESSE     STATUS=OK           371 CALLS     3306 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6803        6.3241        .39119E-03   -1.5656    
   2  Prefactor     14.792        13.352        .26006E-03   -1.5631    
   3  Prefactor     .38580E-07    25.249        .70151E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.6115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.5805        7.9043        .62130E-03   -1.5676    
   6  Prefactor     .27756E-09    7.6788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.651        12.245        .25286E-03   -1.5629    
   8  Prefactor     14.786        16.489        .25999E-03   -1.5631    
   9  Prefactor      .0000        4.6265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     19.951        7.5544        .22397E-03   -1.5619    
  11  Prefactor     .55511E-09    72.994        .83467E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .97654        7.0135        .42415E-03   -1.5688    
  13  Prefactor     .35583E-07    44.952        .10579E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        5.9516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .15854        .71633        .22555E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .38858E-09    53.102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.5206        1.9195        .87156E-03   -1.5683    
  18  Prefactor     32.116        46.785        .17497E-03   -1.5595    
  19  Prefactor      .0000        10.452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .27835        .37994        .12295       -1.2415    
  21  Prefactor     1.4205        .23706        .30778E-01   -.79792    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.00429e-08
Minuit parameter uncertainties:
  1  6.32414
  2  13.3518
  3  0.00197402
  4  5.74902e-06
  5  7.9043
  6  9.47134e-05
  7  12.2451
  8  16.4886
  9  4.50369e-06
  10  7.55437
  11  0.000406643
  12  5.23412
  13  0.00253027
  14  6.10486e-06
  15  0.674002
  16  0.000295277
  17  1.91947
  18  46.7852
  19  1.42689e-05
  20  0.383533
  21  0.23724
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.479e+01  1.649e+01  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:  1.420e+00  2.372e-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:  2.784e-01  3.835e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.15
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 5.99e-08 +/- 6.68e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 1.58e-05

TS (Fixed Index): 1.15
Ra Dec: 332.817 -13.419
Photon Flux Upper Limit: 1.95e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.54e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/39088/likelihoodResults_700444801_700704001_4FGL_J2211.2-1325_daily_bin1779.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) = 5143.08916602
delta logL = 0.0748629715208

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5143.08593324
delta logL = 0.0780957475781

Fit tolerance = 1e-08

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

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

 FCN=   5143.086     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      257 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.974        346.53        .28949E-03    .59017E-03
   2  Index         3.1259        6.4258        .21837        .57780E-04
   3  Normalizat    .25808        .81426E-01    .12771        .61665E-04
   4  Prefactor     1.4310        .58478E-01    .30647E-01   -.98801E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.9738
  Index      = 3.12593
  Normalizat = 0.25808
  Prefactor  = 1.43098
 **********
 **   18 **HESSE 
 **********

 FCN=   5143.086     FROM HESSE     STATUS=OK            33 CALLS      290 TOTAL
                     EDM=   .72E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.974        17.826        .11580E-04   -1.5639    
   2  Index         3.1259        1.2022        .94211E-02   -.38420    
   3  Normalizat    .25808        .28377        .56403E-03   -1.2543    
   4  Prefactor     1.4310        .19525        .17582E-03   -.79491    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.164e-12
Minuit parameter uncertainties:
  1  17.8262
  2  1.21607
  3  0.285373
  4  0.195349
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/39088': 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) = 5143.0859237
delta logL = 0.0781052880584

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.197e+01  1.783e+01  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  3.126e+00  1.216e+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:  1.431e+00  1.953e-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:  2.581e-01  2.854e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.33
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 3.13 +/- 1.22
Photon Flux (Free Index): 7.36e-08 +/- 7.62e-08
Energy Flux (Free Index): 1.39e-05 +/- 1.45e-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/39088/cmap_HighResolution_700444801_700704001_4FGL_J2211.2-1325_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.54e-02', comment='SUCCESS', photon_flux='5.99e-08', energy_flux2='1.39e-05', photon_flux_error='6.68e-08', dlogl='7.81e-02', energy_flux='1.42e-05', photon_flux2='7.36e-08', job_status='DONE', time_completed='2023-03-17 02:42:11.276257', photon_index_error2='1.22', photon_index2='3.13', ts='1.15', fit_tolerance='1e-08', GAL='1.42', photon_index_error='0.00', photon_flux_upper_limit='1.95e-07', energy_flux_error2='1.45e-05', EG='0.28', time_epoch_completed='1679046131.28', return_code='0', job_id='39088', GAL2='1.43', EG2='0.26', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='7.62e-08', ts2='1.33', photon_index='2.72' WHERE bin_id='1779' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 02:42:11 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 39088: <4FGL_J2211.2-1325_daily_bin1779> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin1779> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Mar 17 02:30:15 2023
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 02:30:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 02:30:17 2023
Terminated at Fri Mar 17 02:42:12 2023
Results reported at Fri Mar 17 02:42:12 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1779 332.817 -13.4189 700444801 700704001 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 :                                   557.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             297.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   714 sec.
    Turnaround time :                            717 sec.

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

