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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1171
RA = 332.817, Dec = -13.4189
tmin = 542851201, tmax = 543110401
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='218034', job_status='RUN', time_executed='2021-09-28 06:53:51.129885', time_epoch_executed='1632837231.13' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1171'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/218034

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

Retrieving the FT1 file...

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

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

Retrieving 4 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/218034/ft1_4FGL_J2211.2-1325_daily_bin1171.fits


Retrieving the FT1 file...

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

Retrieving 4 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/218034/ft2_4FGL_J2211.2-1325_daily_bin1171.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/218034/ft1_4FGL_J2211.2-1325_daily_bin1171.fits outfile=/scratch/kocevski/218034/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1171.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=542851201.0 tmax=543110401.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 0.78
user 0.60
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/218034/ft1_filtered_4FGL_J2211.2-1325_daily_bin1171.fits" evtable="EVENTS" scfile=/scratch/kocevski/218034/ft2_4FGL_J2211.2-1325_daily_bin1171.fits sctable="SC_DATA" outfile=/scratch/kocevski/218034/ltcube_542851201_543110401_4FGL_J2211.2-1325_daily_bin1171.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/218034/ft2_4FGL_J2211.2-1325_daily_bin1171.fits
.....................!
real 1.88
user 1.51
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/218034/ft1_filtered_4FGL_J2211.2-1325_daily_bin1171.fits evtable="EVENTS" scfile=/scratch/kocevski/218034/ft2_4FGL_J2211.2-1325_daily_bin1171.fits sctable="SC_DATA" expcube=/scratch/kocevski/218034/ltcube_542851201_543110401_4FGL_J2211.2-1325_daily_bin1171.fits outfile=/scratch/kocevski/218034/expmap_542851201_543110401_4FGL_J2211.2-1325_daily_bin1171.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/218034/ltcube_542851201_543110401_4FGL_J2211.2-1325_daily_bin1171.fits
.....................!
real 191.04
user 185.70
sys 4.95

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/218034/ft1_filtered_4FGL_J2211.2-1325_daily_bin1171.fits scfile=/scratch/kocevski/218034/ft2_4FGL_J2211.2-1325_daily_bin1171.fits outfile=/scratch/kocevski/218034/cmap_542851201_543110401_4FGL_J2211.2-1325_daily_bin1171.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.50
user 0.35
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/218034/ft1_filtered_4FGL_J2211.2-1325_daily_bin1171.fits scfile=/scratch/kocevski/218034/ft2_4FGL_J2211.2-1325_daily_bin1171.fits outfile=/scratch/kocevski/218034/cmap_HighResolution_542851201_543110401_4FGL_J2211.2-1325_daily_bin1171.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.52
user 0.36
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/218034/ft1_filtered_4FGL_J2211.2-1325_daily_bin1171.fits evtable="EVENTS" scfile=/scratch/kocevski/218034/ft2_4FGL_J2211.2-1325_daily_bin1171.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/218034/Model_4FGL_J2211.2-1325_daily_bin1171.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/218034/ft1_filtered_4FGL_J2211.2-1325_daily_bin1171.fits.....................................!
real 16.31
user 15.02
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    69.982       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    264.30       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10282E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10071E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .18947E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    11.431       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1288.5       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11013E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.7202       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .15649       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.

 FCN=   362.9474     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2553 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.966        .29973E-07** at limit **
   2  Prefactor     .10000E-03    44.743        .23039E-06** at limit **
   3  Prefactor     70.017        72.495        .47256E-06    .23675E-04
   4  norm          .10000E-03    26.601        .52996E-07** at limit **
   5  Prefactor     .10000E-03    14.343       -.30324E-08** at limit **
   6  Prefactor     .10000E-03    38.163        .26143E-07** at limit **
   7  Prefactor     .10000E-03    32.154       -.49266E-07** at limit **
   8  Prefactor     .10000E-03    35.915       -.23896E-06** at limit **
   9  Prefactor     .10000E-03    94.162       -.19237E-06** at limit **
  10  Prefactor     263.89        647.51        .64327E-05    .77667E-05
  11  Prefactor     .10000E-03    27.431       -.20866E-06** at limit **
  12  Prefactor     .10000E-03    342.78       -.88762E-06** at limit **
  13  norm          .10000E-03    18.859       -.17218E-05** at limit **
  14  Prefactor     .10000E-03    324.33       -.44654E-06** at limit **
  15  Prefactor     .10000E-03    112.77        .83528E-06** at limit **
  16  norm          .10000E-03    8.7770       -.97809E-06** at limit **
  17  Prefactor     .10000E-03    270.47        .16020E-05** at limit **
  18  norm          11.421        18.062        .44745E-06    .18789E-04
  19  Prefactor     1288.8        558.90        .42255E-06    .15884E-04
  20  Prefactor     .10000E-03    211.44        .14227E-05** at limit **
  21  Prefactor     .10000E-03    119.01        .48523E-06** at limit **
  22  Normalizat    1.7206        1.2505        .14774E-04    .11753E-04
  23  Prefactor     .15604        .92542       -.30265E-04    .37988E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 70.0172
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 263.886
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 11.4211
  Prefactor  = 1288.84
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.72064
  Prefactor  = 0.156036
 **********
 **   18 **HESSE 
 **********

 FCN=   362.9474     FROM HESSE     STATUS=OK           352 CALLS     2905 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.971        .81104E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    44.754        .12463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     70.017        72.752        .23992E-03   -1.4032    
   4  norm          .10000E-03    26.600        .96063E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    14.344        .70524E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    38.162        .11508E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    32.157        .10563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    35.923        .11164E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    94.352        .18090E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     263.89        661.49        .12468E-03   -1.2445    
  11  Prefactor     .10000E-03    27.507        .97527E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    342.77        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    18.622        .80256E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    324.31        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    113.05        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    8.7780        .54810E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    269.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          11.421        18.023        .79642E-04   -1.5032    
  19  Prefactor     1288.8        559.34        .59695E-04   -.83640    
  20  Prefactor     .10000E-03    211.06        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    118.95        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.7206        1.2594        .25057E-03   -.71754    
  23  Prefactor     .15604        .92474        .46945E-03   -1.3203    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.96426e-11
Minuit parameter uncertainties:
  1  1.46691e-05
  2  1.57345e-05
  3  72.8445
  4  8.49699e-06
  5  1.64545e-06
  6  1.17547e-05
  7  3.32705e-05
  8  1.46637e-05
  9  0.000156659
  10  681.871
  11  1.41381e-05
  12  0.00061218
  13  0.000152041
  14  0.000425846
  15  0.000107209
  16  5.67626e-05
  17  0.000743952
  18  18.0314
  19  561.976
  20  0.000112849
  21  1.15437e-05
  22  1.28418
  23  0.778551
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.000e-04  1.466e-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.560e-01  7.786e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  1.721e+00  1.284e+00  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/218034/likelihoodResults_542851201_543110401_4FGL_J2211.2-1325_daily_bin1171.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) = 362.947534156
delta logL = -8.66973773554e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 362.947448913
delta logL = -1.4544567648e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.6620       1.0000          .0000       10.000    
     3 'Normalizat'    1.7203       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .15622       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=   362.9474     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      301 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10007E-03    666.62        .79584E-02** at limit **
   2  Index         2.1614        5.5108        .50000        .87365E-07
   3  Normalizat    1.7206        .92451E-01    .25058E-03    .36897E-04
   4  Prefactor     .15604        .57019E-01    .46938E-03    .20582E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100074
  Index      = 2.16143
  Normalizat = 1.72064
  Prefactor  = 0.156038
 **********
 **   18 **HESSE 
 **********

 FCN=   362.9474     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      330 TOTAL
                     EDM=   .93E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10007E-03    6667.1        .12101E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1614        7.3057        .50000       -.60373    
   3  Normalizat    1.7206        .24120        .50115E-04   -.71754    
   4  Prefactor     .15604        .14854        .18775E-04   -1.3203    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.26935e-08
Minuit parameter uncertainties:
  1  0.0334814
  2  4330.96
  3  0.241364
  4  0.148898
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/218034': 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) = 362.947447252
delta logL = 2.05893400107e-07

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.001e-04  3.348e-02  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.161e+00  4.331e+03  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.560e-01  1.489e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  1.721e+00  2.414e-01  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/218034/cmap_HighResolution_542851201_543110401_4FGL_J2211.2-1325_daily_bin1171.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.79e-02', job_status='DONE', photon_flux_upper_limit='7.34e-07', time_completed='2021-09-28 06:58:59.342737', job_id='218034', GAL2='0.16', fit_tolerance='1e-08', EG2='1.72', EG='1.72', time_epoch_completed='1632837539.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.16', dlogl='2.06e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='1171' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:58:59 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1171 332.817 -13.4189 542851201 543110401 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 :                                   305.05 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             306.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   503 sec.
    Turnaround time :                            505 sec.

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

