/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 198 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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 = 7432
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2211.2-1325_daily_bin383
RA = 332.817, Dec = -13.4189
tmin = 338601601, tmax = 338860801
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='213613', job_status='RUN', time_executed='2021-09-28 06:39:19.428223', time_epoch_executed='1632836359.43' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='383'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/213613

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/213613/ft1_4FGL_J2211.2-1325_daily_bin383.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/213613/ft2_4FGL_J2211.2-1325_daily_bin383.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/213613/ft1_4FGL_J2211.2-1325_daily_bin383.fits outfile=/scratch/kocevski/213613/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin383.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=338601601.0 tmax=338860801.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.15
user 4.85
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/213613/ft1_filtered_4FGL_J2211.2-1325_daily_bin383.fits" evtable="EVENTS" scfile=/scratch/kocevski/213613/ft2_4FGL_J2211.2-1325_daily_bin383.fits sctable="SC_DATA" outfile=/scratch/kocevski/213613/ltcube_338601601_338860801_4FGL_J2211.2-1325_daily_bin383.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/213613/ft2_4FGL_J2211.2-1325_daily_bin383.fits
.....................!
real 11.69
user 11.33
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/213613/ft1_filtered_4FGL_J2211.2-1325_daily_bin383.fits evtable="EVENTS" scfile=/scratch/kocevski/213613/ft2_4FGL_J2211.2-1325_daily_bin383.fits sctable="SC_DATA" expcube=/scratch/kocevski/213613/ltcube_338601601_338860801_4FGL_J2211.2-1325_daily_bin383.fits outfile=/scratch/kocevski/213613/expmap_338601601_338860801_4FGL_J2211.2-1325_daily_bin383.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/213613/ltcube_338601601_338860801_4FGL_J2211.2-1325_daily_bin383.fits
.....................!
real 190.75
user 185.61
sys 4.78

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/213613/ft1_filtered_4FGL_J2211.2-1325_daily_bin383.fits scfile=/scratch/kocevski/213613/ft2_4FGL_J2211.2-1325_daily_bin383.fits outfile=/scratch/kocevski/213613/cmap_338601601_338860801_4FGL_J2211.2-1325_daily_bin383.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/213613/ft1_filtered_4FGL_J2211.2-1325_daily_bin383.fits scfile=/scratch/kocevski/213613/ft2_4FGL_J2211.2-1325_daily_bin383.fits outfile=/scratch/kocevski/213613/cmap_HighResolution_338601601_338860801_4FGL_J2211.2-1325_daily_bin383.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/213613/ft1_filtered_4FGL_J2211.2-1325_daily_bin383.fits evtable="EVENTS" scfile=/scratch/kocevski/213613/ft2_4FGL_J2211.2-1325_daily_bin383.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/213613/Model_4FGL_J2211.2-1325_daily_bin383.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/213613/ft1_filtered_4FGL_J2211.2-1325_daily_bin383.fits.....................!
real 58.29
user 56.86
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/213613/ft1_filtered_4FGL_J2211.2-1325_daily_bin383.fits', '/scratch/kocevski/213613/ft2_4FGL_J2211.2-1325_daily_bin383.fits', expMap='/scratch/kocevski/213613/expmap_338601601_338860801_4FGL_J2211.2-1325_daily_bin383.fits', expCube='/scratch/kocevski/213613/ltcube_338601601_338860801_4FGL_J2211.2-1325_daily_bin383.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/213613/Model_4FGL_J2211.2-1325_daily_bin383.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  1.000e-04  1.000e+04 ( 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/213613/ft1_filtered_4FGL_J2211.2-1325_daily_bin383.fits
Spacecraft file(s): /scratch/kocevski/213613/ft2_4FGL_J2211.2-1325_daily_bin383.fits
Exposure map: /scratch/kocevski/213613/expmap_338601601_338860801_4FGL_J2211.2-1325_daily_bin383.fits
Exposure cube: /scratch/kocevski/213613/ltcube_338601601_338860801_4FGL_J2211.2-1325_daily_bin383.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/213613/Model_4FGL_J2211.2-1325_daily_bin383.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) = 5985.83450261

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7451       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.0964       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.7774       1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.106       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10570E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.6132       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    39.655       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    55.411       1.0000         .10000E-03   10000.    
    16 'norm      '    .32776       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    45.400       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .89132       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0442       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.

 FCN=   5985.114     FROM MIGRAD    STATUS=CONVERGED    528 CALLS     2244 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7450        6.2622         .0000        .26131E-03
   2  Prefactor     .10000E-03    5.2489         .0000    ** at limit **
   3  Prefactor     5.0963        19.343         .0000        .12219E-02
   4  norm          .10000E-03    1.9321         .0000    ** at limit **
   5  Prefactor     4.7773        7.4228         .0000        .68478E-02
   6  Prefactor     26.105        18.705         .0000        .75465E-04
   7  Prefactor     .10000E-03    8.1856         .0000    ** at limit **
   8  Prefactor     .10000E-03    48.276         .0000    ** at limit **
   9  Prefactor     .10000E-03    7.7181         .0000    ** at limit **
  10  Prefactor     .10000E-03    116.16         .0000    ** at limit **
  11  Prefactor     3.6130        4.8053         .0000        .44173E-03
  12  Prefactor     .10000E-03    18.960         .0000    ** at limit **
  13  norm          39.655        7.6782         .0000        .15220E-03
  14  Prefactor     .10000E-03    30.032         .0000    ** at limit **
  15  Prefactor     55.411        23.328         .0000        .37190E-04
  16  norm          .32774        .75360         .0000        .16568E-02
  17  Prefactor     .10000E-03    4.3524         .0000    ** at limit **
  18  norm          .10000E-03    .40485         .0000    ** at limit **
  19  Prefactor     .10000E-03    12.414         .0000    ** at limit **
  20  Prefactor     45.400        21.689         .0000        .35155E-05
  21  Prefactor     .10000E-03    6.8974         .0000    ** at limit **
  22  Normalizat    .89123        .24149         .0000        .23350E-04
  23  Prefactor     1.0443        .15318         .0000        .19222E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.74501
  Prefactor  = 0.0001
  Prefactor  = 5.09628
  norm       = 0.0001
  Prefactor  = 4.77729
  Prefactor  = 26.1051
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.61304
  Prefactor  = 0.0001
  norm       = 39.6548
  Prefactor  = 0.0001
  Prefactor  = 55.4113
  norm       = 0.327738
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 45.3996
  Prefactor  = 0.0001
  Normalizat = 0.891229
  Prefactor  = 1.04427
 **********
 **   18 **HESSE 
 **********

 FCN=   5985.114     FROM HESSE     STATUS=OK           368 CALLS     2612 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7450        6.2601        .18471E-03   -1.5272    
   2  Prefactor     .10000E-03    5.2673        .17310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.0963        19.365        .89050E-03   -1.5256    
   4  norm          .10000E-03    1.9324        .10502E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.7773        7.4114        .92037E-03   -1.5271    
   6  Prefactor     26.105        18.685        .39202E-03   -1.4686    
   7  Prefactor     .10000E-03    8.2615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    50.357        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.7535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    116.40        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.6130        4.7898        .18624E-03   -1.5328    
  12  Prefactor     .10000E-03    18.963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          39.655        7.6835        .31826E-03   -1.4448    
  14  Prefactor     .10000E-03    30.036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     55.411        23.428        .53887E-04   -1.4218    
  16  norm          .32774        .71607        .97012E-03   -1.5593    
  17  Prefactor     .10000E-03    4.3582        .15761E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .42093        .95988E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    12.427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     45.400        21.671        .59504E-04   -1.4359    
  21  Prefactor     .10000E-03    6.9055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .89123        .28444        .33446E-03   -.96769    
  23  Prefactor     1.0443        .18204        .20816E-03   -.91268    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.20712e-09
Minuit parameter uncertainties:
  1  6.26098
  2  2.18081e-06
  3  19.3889
  4  2.5343e-07
  5  7.41282
  6  18.6891
  7  1.09492e-06
  8  2.2703e-05
  9  5.6998e-07
  10  5.88593e-05
  11  4.7903
  12  4.74726e-06
  13  7.68373
  14  3.38641e-06
  15  23.4318
  16  0.716092
  17  1.21915e-06
  18  1.59994e-07
  19  8.64001e-06
  20  21.6751
  21  7.54734e-07
  22  0.284919
  23  0.182148
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.000e-04  2.270e-05  1.000e-04  1.000e+04 ( 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.044e+00  1.821e-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:  8.912e-01  2.849e-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: 1.36e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.07e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/213613/likelihoodResults_338601601_338860801_4FGL_J2211.2-1325_daily_bin383.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) = 5985.11424474
delta logL = -9.47201951931e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5985.1141509
delta logL = -8.85638655745e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6622       1.0000          .0000       10.000    
     3 'Normalizat'    .89102       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0444       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=   5985.114     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      260 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10424E-03    64.197        .90712E-01** at limit **
   2  Index         2.8007        5.5689        .50000       -.42465E-04
   3  Normalizat    .89123        .13972E-01    .75570E-01   -.46911E-04
   4  Prefactor     1.0443        .93774E-02    .40248E-01   -.82192E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000104239
  Index      = 2.80068
  Normalizat = 0.891228
  Prefactor  = 1.04427
 **********
 **   18 **HESSE 
 **********

 FCN=   5985.114     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      301 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10424E-03    119.81        .71795E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8007        6.4798        .50000       -.45545    
   3  Normalizat    .89123        .16083E-01    .33446E-03   -.96769    
   4  Prefactor     1.0443        .10799E-01    .20816E-03   -.91268    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.49404e-10
Minuit parameter uncertainties:
  1  0.0451649
  2  12.7471
  3  0.0160829
  4  0.0107989
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/213613': 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): 102
logL (Free Index) = 5985.11414936
delta logL = 6.60960722598e-07

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.042e-04  4.516e-02  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.801e+00  1.275e+01  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.044e+00  1.080e-02  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:  8.912e-01  1.608e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/213613/cmap_HighResolution_338601601_338860801_4FGL_J2211.2-1325_daily_bin383.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.07e-02', job_status='DONE', photon_flux_upper_limit='1.36e-07', time_completed='2021-09-28 06:49:14.332117', job_id='213613', GAL2='1.04', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1632836954.33', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='6.61e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='383' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:49:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 213613: <4FGL_J2211.2-1325_daily_bin383> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin383> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 06:35:51 2021
Job was executed on host(s) <bullet0115>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:35:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 06:35:53 2021
Terminated at Tue Sep 28 06:49:15 2021
Results reported at Tue Sep 28 06:49:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin383 332.817 -13.4189 338601601 338860801 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 :                                   591.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             273.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   801 sec.
    Turnaround time :                            804 sec.

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

