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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1661
RA = 332.817, Dec = -13.4189
tmin = 669859201, tmax = 670118401
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='85242', job_status='RUN', time_executed='2022-03-28 00:41:39.606828', time_epoch_executed='1648453299.61' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1661'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/85242

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/85242/ft1_4FGL_J2211.2-1325_daily_bin1661.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/85242/ft2_4FGL_J2211.2-1325_daily_bin1661.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/85242/ft1_4FGL_J2211.2-1325_daily_bin1661.fits outfile=/scratch/kocevski/85242/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1661.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=669859201.0 tmax=670118401.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 3.84
user 3.41
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/85242/ft2_4FGL_J2211.2-1325_daily_bin1661.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/85242/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1661.fits evtable="EVENTS" outfile="/scratch/kocevski/85242/ft1_filtered_4FGL_J2211.2-1325_daily_bin1661.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.57
user 0.34
sys 0.13

Number of photons that the gtmktime cut: 512

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/85242/ft1_filtered_4FGL_J2211.2-1325_daily_bin1661.fits" evtable="EVENTS" scfile=/scratch/kocevski/85242/ft2_4FGL_J2211.2-1325_daily_bin1661.fits sctable="SC_DATA" outfile=/scratch/kocevski/85242/ltcube_669859201_670118401_4FGL_J2211.2-1325_daily_bin1661.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/85242/ft2_4FGL_J2211.2-1325_daily_bin1661.fits
.....................!
real 11.98
user 11.65
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/85242/ft1_filtered_4FGL_J2211.2-1325_daily_bin1661.fits evtable="EVENTS" scfile=/scratch/kocevski/85242/ft2_4FGL_J2211.2-1325_daily_bin1661.fits sctable="SC_DATA" expcube=/scratch/kocevski/85242/ltcube_669859201_670118401_4FGL_J2211.2-1325_daily_bin1661.fits outfile=/scratch/kocevski/85242/expmap_669859201_670118401_4FGL_J2211.2-1325_daily_bin1661.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/85242/ltcube_669859201_670118401_4FGL_J2211.2-1325_daily_bin1661.fits
.....................!
real 190.86
user 185.28
sys 4.97

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/85242/ft1_filtered_4FGL_J2211.2-1325_daily_bin1661.fits scfile=/scratch/kocevski/85242/ft2_4FGL_J2211.2-1325_daily_bin1661.fits outfile=/scratch/kocevski/85242/cmap_669859201_670118401_4FGL_J2211.2-1325_daily_bin1661.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.55
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/85242/ft1_filtered_4FGL_J2211.2-1325_daily_bin1661.fits scfile=/scratch/kocevski/85242/ft2_4FGL_J2211.2-1325_daily_bin1661.fits outfile=/scratch/kocevski/85242/cmap_HighResolution_669859201_670118401_4FGL_J2211.2-1325_daily_bin1661.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9974       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.1436       1.0000         .10000E-03   10000.    
     3 'Prefactor '    29.716       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.8258       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.122       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.8703       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10642E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    36.175       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.7175       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.409       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .69048       1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.551       1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2565       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .80548       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=   5755.813     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2552 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9960        5.3202        .60443E-09   -.80778E-05
   2  Prefactor     9.1442        10.716        .62963E-06   -.11362E-04
   3  Prefactor     29.725        22.205       -.83694E-06    .70054E-04
   4  norm          .10000E-03    2.3241        .71317E-08** at limit **
   5  Prefactor     2.8264        7.1230        .59254E-05   -.12360E-03
   6  Prefactor     16.119        21.123        .10613E-06    .52271E-04
   7  Prefactor     2.8711        11.116        .54185E-05   -.68060E-04
   8  Prefactor     .10000E-03    21.188       -.16726E-05** at limit **
   9  Prefactor     36.175        15.872       -.50782E-06   -.23801E-03
  10  Prefactor     .10000E-03    53.594        .77720E-06** at limit **
  11  Prefactor     1.7171        5.7461        .34772E-05    .26793E-03
  12  Prefactor     .10000E-03    12.900       -.17459E-05** at limit **
  13  norm          .10000E-03    2.7619        .59875E-06** at limit **
  14  Prefactor     24.494        140.75       -.22269E-04   -.48526E-05
  15  Prefactor     .10000E-03    10.143        .13469E-06** at limit **
  16  norm          .69049        .69228        .14716E-07   -.10242E-04
  17  Prefactor     18.556        16.776        .49550E-06    .70301E-04
  18  norm          .10000E-03    .55831       -.10395E-06** at limit **
  19  Prefactor     .10000E-03    15.011        .87242E-06** at limit **
  20  Prefactor     .10000E-03    4.0940        .69454E-08** at limit **
  21  Prefactor     .10000E-03    16.460        .15099E-05** at limit **
  22  Normalizat    1.2564        .22043       -.15336E-05    .72537E-05
  23  Prefactor     .80555        .14068        .91484E-07   -.39236E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.99598
  Prefactor  = 9.14418
  Prefactor  = 29.7251
  norm       = 0.0001
  Prefactor  = 2.82639
  Prefactor  = 16.1195
  Prefactor  = 2.8711
  Prefactor  = 0.0001
  Prefactor  = 36.1748
  Prefactor  = 0.0001
  Prefactor  = 1.71712
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 24.4943
  Prefactor  = 0.0001
  norm       = 0.690487
  Prefactor  = 18.5559
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.25641
  Prefactor  = 0.805547
 **********
 **   18 **HESSE 
 **********

 FCN=   5755.813     FROM HESSE     STATUS=OK           370 CALLS     2922 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9960        5.3011        .27429E-03   -1.5425    
   2  Prefactor     9.1442        10.714        .66271E-03   -1.5103    
   3  Prefactor     29.725        22.213        .73497E-04   -1.4617    
   4  norm          .10000E-03    2.3249        .11295E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.8264        7.1251        .12097E-02   -1.5372    
   6  Prefactor     16.119        21.109        .99750E-04   -1.4905    
   7  Prefactor     2.8711        11.135        .11996E-02   -1.5369    
   8  Prefactor     .10000E-03    22.041        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     36.175        15.726        .66633E-04   -1.4504    
  10  Prefactor     .10000E-03    53.620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.7171        5.7027        .28712E-03   -1.5446    
  12  Prefactor     .10000E-03    12.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.8166        .12311E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     24.494        141.36        .81079E-04   -1.4718    
  15  Prefactor     .10000E-03    10.211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .69049        .68073        .60554E-04   -1.5542    
  17  Prefactor     18.556        15.351        .92991E-04   -1.4846    
  18  norm          .10000E-03    .64324        .10011E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    15.012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.0960        .14992E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    16.558        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2564        .26171        .27065E-03   -.84877    
  23  Prefactor     .80555        .16685        .21748E-03   -.99524    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.96142e-10
Minuit parameter uncertainties:
  1  5.30232
  2  10.7166
  3  22.2195
  4  3.1579e-07
  5  7.12728
  6  21.1192
  7  11.1432
  8  0.000108963
  9  15.7278
  10  5.25578e-05
  11  5.70447
  12  4.64946e-05
  13  4.51249e-05
  14  118.11
  15  3.62714e-05
  16  0.680742
  17  15.3545
  18  2.95698e-06
  19  3.54519e-05
  20  6.50619e-08
  21  0.00012042
  22  0.261982
  23  0.166952
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.000e-04  1.090e-04  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:  8.055e-01  1.670e-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.256e+00  2.620e-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.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.33e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/85242/likelihoodResults_669859201_670118401_4FGL_J2211.2-1325_daily_bin1661.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) = 5755.81341755
delta logL = -0.000216591331991

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5755.81320089
delta logL = 7.23330231267e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11285E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8078       1.0000          .0000       10.000    
     3 'Normalizat'    1.2566       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80542       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=   5755.813     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      228 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10072E-03    36.390        .90712E-01** at limit **
   2  Index         2.9343        5.3935        .50000       -.40247E-04
   3  Normalizat    1.2564        .13340E-01    .61194E-01    .25942E-03
   4  Prefactor     .80555        .88292E-02    .43788E-01    .16818E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100718
  Index      = 2.93435
  Normalizat = 1.25641
  Prefactor  = 0.805546
 **********
 **   18 **HESSE 
 **********

 FCN=   5755.813     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      263 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10072E-03    7717.4        .36447E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9343        5.4060        .50000       -.42589    
   3  Normalizat    1.2564        .52437E-01    .27065E-03   -.84877    
   4  Prefactor     .80555        .34462E-01    .21748E-03   -.99524    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.15483e-06
Minuit parameter uncertainties:
  1  0.140503
  2  39.8211
  3  0.0524394
  4  0.0344633
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/85242': 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) = 5755.81319921
delta logL = 1.74914475792e-06

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.007e-04  1.405e-01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.934e+00  3.982e+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:  8.055e-01  3.446e-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:  1.256e+00  5.244e-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/85242/cmap_HighResolution_669859201_670118401_4FGL_J2211.2-1325_daily_bin1661.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.33e-03', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2022-03-28 00:51:23.639863', job_id='85242', GAL2='0.81', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1648453883.64', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='1.75e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='1661' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 28 00:51:23 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 85242: <4FGL_J2211.2-1325_daily_bin1661> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin1661> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Mar 28 00:40:30 2022
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 28 00:40:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 28 00:40:31 2022
Terminated at Mon Mar 28 00:51:24 2022
Results reported at Mon Mar 28 00:51:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1661 332.817 -13.4189 669859201 670118401 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 :                                   584.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             332.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   652 sec.
    Turnaround time :                            654 sec.

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

