/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 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 = 7445
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2211.2-1325_daily_bin841
RA = 332.817, Dec = -13.4189
tmin = 457315201, tmax = 457574401
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='216501', job_status='RUN', time_executed='2021-09-28 06:45:45.667677', time_epoch_executed='1632836745.67' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='841'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/216501

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/216501/ft1_4FGL_J2211.2-1325_daily_bin841.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/216501/ft2_4FGL_J2211.2-1325_daily_bin841.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/216501/ft1_4FGL_J2211.2-1325_daily_bin841.fits outfile=/scratch/kocevski/216501/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin841.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=457315201.0 tmax=457574401.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 4.96
user 4.75
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/216501/ft1_filtered_4FGL_J2211.2-1325_daily_bin841.fits" evtable="EVENTS" scfile=/scratch/kocevski/216501/ft2_4FGL_J2211.2-1325_daily_bin841.fits sctable="SC_DATA" outfile=/scratch/kocevski/216501/ltcube_457315201_457574401_4FGL_J2211.2-1325_daily_bin841.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/216501/ft2_4FGL_J2211.2-1325_daily_bin841.fits
.....................!
real 11.73
user 11.38
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/216501/ft1_filtered_4FGL_J2211.2-1325_daily_bin841.fits evtable="EVENTS" scfile=/scratch/kocevski/216501/ft2_4FGL_J2211.2-1325_daily_bin841.fits sctable="SC_DATA" expcube=/scratch/kocevski/216501/ltcube_457315201_457574401_4FGL_J2211.2-1325_daily_bin841.fits outfile=/scratch/kocevski/216501/expmap_457315201_457574401_4FGL_J2211.2-1325_daily_bin841.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/216501/ltcube_457315201_457574401_4FGL_J2211.2-1325_daily_bin841.fits
.....................!
real 190.35
user 184.94
sys 5.10

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/216501/ft1_filtered_4FGL_J2211.2-1325_daily_bin841.fits scfile=/scratch/kocevski/216501/ft2_4FGL_J2211.2-1325_daily_bin841.fits outfile=/scratch/kocevski/216501/cmap_457315201_457574401_4FGL_J2211.2-1325_daily_bin841.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/216501/ft1_filtered_4FGL_J2211.2-1325_daily_bin841.fits scfile=/scratch/kocevski/216501/ft2_4FGL_J2211.2-1325_daily_bin841.fits outfile=/scratch/kocevski/216501/cmap_HighResolution_457315201_457574401_4FGL_J2211.2-1325_daily_bin841.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/216501/ft1_filtered_4FGL_J2211.2-1325_daily_bin841.fits evtable="EVENTS" scfile=/scratch/kocevski/216501/ft2_4FGL_J2211.2-1325_daily_bin841.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/216501/Model_4FGL_J2211.2-1325_daily_bin841.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/216501/ft1_filtered_4FGL_J2211.2-1325_daily_bin841.fits.....................!
real 69.99
user 68.64
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14822E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.8297       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .87700       1.0000         .10000E-03   10000.    
     6 'Prefactor '    27.184       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .20218E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.026       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.7572       1.0000         .10000E-03   10000.    
    10 'Prefactor '    69.063       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.5960       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .92585E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    6.6294       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .58307       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.9174       1.0000         .10000E-03   10000.    
    18 'norm      '    .10102E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .82626E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.4760       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .77294       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0880       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=   8116.692     FROM MIGRAD    STATUS=CONVERGED    962 CALLS     3416 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.7978        .26024E-02** at limit **
   2  Prefactor     .10000E-03    1.7478        .11627E-02** at limit **
   3  Prefactor     8.8325        12.845        .13489E-03    .12819E-03
   4  norm          .10000E-03    2.0887        .12706E-02** at limit **
   5  Prefactor     .88562        6.7081        .30926E-02    .29860E-03
   6  Prefactor     27.184        16.312        .76837E-04    .64658E-04
   7  Prefactor     .10000E-03    28.173        .37327E-02** at limit **
   8  Prefactor     18.028        11.157        .94333E-04    .17897E-03
   9  Prefactor     9.7605        10.123        .64144E-03    .55617E-04
  10  Prefactor     69.060        60.013        .48301E-04    .88500E-05
  11  Prefactor     2.5965        3.3965        .17529E-03   -.14333E-04
  12  Prefactor     .10026E-03    21.046        .14370    ** at limit **
  13  norm          6.6303        3.5486        .57698E-03    .11235E-03
  14  Prefactor     .10000E-03    20.814        .18142E-02** at limit **
  15  Prefactor     .10000E-03    4.2229        .18051E-02** at limit **
  16  norm          .58309        .45956        .53723E-04    .16252E-03
  17  Prefactor     8.9100        7.4605        .13422E-03   -.13620E-03
  18  norm          .10000E-03    .40585        .88776E-03** at limit **
  19  Prefactor     .10105E-03    13.966        .88774E-01** at limit **
  20  Prefactor     .10000E-03    7.4250        .18142E-02** at limit **
  21  Prefactor     9.4758        13.746        .13019E-03   -.15457E-04
  22  Normalizat    .77280        .20846        .30993E-03    .27853E-03
  23  Prefactor     1.0880        .14210        .18858E-03    .49623E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.83248
  norm       = 0.0001
  Prefactor  = 0.88562
  Prefactor  = 27.1837
  Prefactor  = 0.000100003
  Prefactor  = 18.0283
  Prefactor  = 9.76054
  Prefactor  = 69.0604
  Prefactor  = 2.59646
  Prefactor  = 0.00010026
  norm       = 6.63032
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.583089
  Prefactor  = 8.90996
  norm       = 0.0001
  Prefactor  = 0.000101046
  Prefactor  = 0.0001
  Prefactor  = 9.47583
  Normalizat = 0.772796
  Prefactor  = 1.08799
 **********
 **   18 **HESSE 
 **********

 FCN=   8116.692     FROM HESSE     STATUS=OK           372 CALLS     3788 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.8790        .52048E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.7478        .23254E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.8325        12.839        .53956E-05   -1.5113    
   4  norm          .10000E-03    2.0887        .25412E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .88562        6.6606        .12370E-03   -1.5520    
   6  Prefactor     27.184        16.303        .30735E-05   -1.4665    
   7  Prefactor     .10000E-03    28.499        .74654E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     18.028        11.154        .37733E-05   -1.4859    
   9  Prefactor     9.7605        10.118        .25657E-04   -1.5083    
  10  Prefactor     69.060        60.010        .96601E-05   -1.4044    
  11  Prefactor     2.5965        3.3952        .70116E-05   -1.5386    
  12  Prefactor     .10026E-03    20.975        .14419       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.6303        3.5477        .23079E-04   -1.5193    
  14  Prefactor     .10000E-03    20.814        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.2234        .36101E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .58309        .45955        .21489E-05   -1.5555    
  17  Prefactor     8.9100        7.4560        .53689E-05   -1.5111    
  18  norm          .10000E-03    .40603        .17755E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10105E-03    12.578        .96474E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.4295        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.4758        13.746        .52074E-05   -1.5092    
  22  Normalizat    .77280        .20854        .12397E-04   -1.0109    
  23  Prefactor     1.0880        .14217        .37716E-04   -.89851    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.80153e-10
Minuit parameter uncertainties:
  1  4.03652e-05
  2  3.94685e-07
  3  12.8432
  4  1.26196e-06
  5  4.85796
  6  16.3053
  7  0.000542513
  8  11.1554
  9  10.1201
  10  60.0623
  11  3.39545
  12  0.00467088
  13  3.5478
  14  1.29612e-05
  15  4.51784e-06
  16  0.459551
  17  7.45681
  18  6.51948e-06
  19  0.00725675
  20  6.72673e-06
  21  13.7503
  22  0.208752
  23  0.142216
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.803e+01  1.116e+01  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.088e+00  1.422e-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:  7.728e-01  2.088e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.61
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 7.31e-08 +/- 4.52e-08
Energy Flux (Fixed Index): 1.73e-05 +/- 1.07e-05

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

Saving results to:
/scratch/kocevski/216501/likelihoodResults_457315201_457574401_4FGL_J2211.2-1325_daily_bin841.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) = 8116.08506564
delta logL = 0.607064835229

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8116.07714562
delta logL = 0.614984855235

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.1877       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6285       1.0000          .0000       10.000    
     3 'Normalizat'    .72849       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1122       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8116.077     FROM MIGRAD    STATUS=FAILED        98 CALLS      309 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.1805        19.614        .66111E-03   -.54100E-04
   2  Index         3.6294        1.7325        .64405E-02    .51769E-03
   3  Normalizat    .72848        .20555        .31819E-03   -.72673E-04
   4  Prefactor     1.1123        .14481        .18675E-03   -.12691E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8116.077     FROM SIMPLEX   STATUS=UNCHANGED     74 CALLS      383 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.1805        19.614        .15845E-03   -1.5102    
   2  Index         3.6294        1.7325        .65743E-03   -.27767    
   3  Normalizat    .72848        .20555        .31338E-03   -1.0278    
   4  Prefactor     1.1123        .14481        .17448E-03   -.89075    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8116.077     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      423 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.1805        11.854        .26444E-04    .16766E-04
   2  Index         3.6294        1.0611        .12881E-02   -.24095E-05
   3  Normalizat    .72848        .20494        .12728E-04    .35729E-06
   4  Prefactor     1.1123        .14364        .37349E-04    .36526E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.18051
  Index      = 3.62941
  Normalizat = 0.728485
  Prefactor  = 1.11228
 **********
 **   18 **HESSE 
 **********

 FCN=   8116.077     FROM HESSE     STATUS=OK            23 CALLS      446 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.1805        11.287        .10578E-05   -1.5102    
   2  Index         3.6294        1.0106        .51524E-04   -.27767    
   3  Normalizat    .72848        .20483        .25455E-05   -1.0278    
   4  Prefactor     1.1123        .14353        .74699E-05   -.89075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71267e-12
Minuit parameter uncertainties:
  1  11.2895
  2  1.01822
  3  0.205048
  4  0.143575
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/216501': 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) = 8116.07714494
delta logL = 0.614985528867

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  9.181e+00  1.129e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  3.629e+00  1.018e+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.112e+00  1.436e-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:  7.285e-01  2.050e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.05
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 3.63 +/- 1.02
Photon Flux (Free Index): 1.00e-07 +/- 5.36e-08
Energy Flux (Free Index): 1.61e-05 +/- 8.86e-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/216501/cmap_HighResolution_457315201_457574401_4FGL_J2211.2-1325_daily_bin841.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.24e-02', comment='SUCCESS', photon_flux='7.31e-08', energy_flux2='1.61e-05', photon_flux_error='4.52e-08', dlogl='6.15e-01', energy_flux='1.73e-05', photon_flux2='1.00e-07', job_status='DONE', time_completed='2021-09-28 06:59:06.535745', photon_index_error2='1.02', photon_index2='3.63', ts='3.61', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.58e-07', energy_flux_error2='8.86e-06', EG='0.77', time_epoch_completed='1632837546.54', return_code='0', job_id='216501', GAL2='1.11', EG2='0.73', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='5.36e-08', ts2='5.05', photon_index='2.72' WHERE bin_id='841' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:59:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 216501: <4FGL_J2211.2-1325_daily_bin841> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin841> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:45:34 2021
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:45:36 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:45:36 2021
Terminated at Tue Sep 28 06:59:07 2021
Results reported at Tue Sep 28 06:59:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin841 332.817 -13.4189 457315201 457574401 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 :                                   796.06 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             350.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            813 sec.

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

