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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin905
RA = 332.817, Dec = -13.4189
tmin = 473904001, tmax = 474163201
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='216605', job_status='RUN', time_executed='2021-09-28 06:49:16.466990', time_epoch_executed='1632836956.47' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='905'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/216605

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/216605/ft1_4FGL_J2211.2-1325_daily_bin905.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/216605/ft2_4FGL_J2211.2-1325_daily_bin905.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/216605/ft1_4FGL_J2211.2-1325_daily_bin905.fits outfile=/scratch/kocevski/216605/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin905.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=473904001.0 tmax=474163201.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.10
user 4.84
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/216605/ft1_filtered_4FGL_J2211.2-1325_daily_bin905.fits" evtable="EVENTS" scfile=/scratch/kocevski/216605/ft2_4FGL_J2211.2-1325_daily_bin905.fits sctable="SC_DATA" outfile=/scratch/kocevski/216605/ltcube_473904001_474163201_4FGL_J2211.2-1325_daily_bin905.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/216605/ft2_4FGL_J2211.2-1325_daily_bin905.fits
.....................!
real 11.99
user 11.64
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/216605/ft1_filtered_4FGL_J2211.2-1325_daily_bin905.fits evtable="EVENTS" scfile=/scratch/kocevski/216605/ft2_4FGL_J2211.2-1325_daily_bin905.fits sctable="SC_DATA" expcube=/scratch/kocevski/216605/ltcube_473904001_474163201_4FGL_J2211.2-1325_daily_bin905.fits outfile=/scratch/kocevski/216605/expmap_473904001_474163201_4FGL_J2211.2-1325_daily_bin905.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/216605/ltcube_473904001_474163201_4FGL_J2211.2-1325_daily_bin905.fits
.....................!
real 191.05
user 185.53
sys 5.12

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/216605/ft1_filtered_4FGL_J2211.2-1325_daily_bin905.fits scfile=/scratch/kocevski/216605/ft2_4FGL_J2211.2-1325_daily_bin905.fits outfile=/scratch/kocevski/216605/cmap_473904001_474163201_4FGL_J2211.2-1325_daily_bin905.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/216605/ft1_filtered_4FGL_J2211.2-1325_daily_bin905.fits scfile=/scratch/kocevski/216605/ft2_4FGL_J2211.2-1325_daily_bin905.fits outfile=/scratch/kocevski/216605/cmap_HighResolution_473904001_474163201_4FGL_J2211.2-1325_daily_bin905.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/216605/ft1_filtered_4FGL_J2211.2-1325_daily_bin905.fits evtable="EVENTS" scfile=/scratch/kocevski/216605/ft2_4FGL_J2211.2-1325_daily_bin905.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/216605/Model_4FGL_J2211.2-1325_daily_bin905.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/216605/ft1_filtered_4FGL_J2211.2-1325_daily_bin905.fits.....................!
real 54.84
user 53.21
sys 1.35

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3890       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.5700       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .85084       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    21.936       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .28269E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .19499E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.930       1.0000         .10000E-03   10000.    
    10 'Prefactor '    159.97       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.3760       1.0000         .10000E-03   10000.    
    12 'Prefactor '    39.975       1.0000         .10000E-03   10000.    
    13 'norm      '    6.5814       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10276E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.974       1.0000         .10000E-03   10000.    
    18 'norm      '    .10116E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.6783       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.6048       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .64486       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=   5699.874     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     3020 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3891        4.1056        .59474E-07   -.36044E-04
   2  Prefactor     5.5701        10.328        .13836E-06   -.35214E-04
   3  Prefactor     .86779        12.809        .37874E-06   -.59085E-04
   4  norm          .10000E-03    3.2186        .44173E-08** at limit **
   5  Prefactor     .10000E-03    2.5693        .73832E-08** at limit **
   6  Prefactor     21.938        22.174        .38106E-06   -.13140E-04
   7  Prefactor     .10144E-03    6.7474       -.61537E-06** at limit **
   8  Prefactor     .10035E-03    12.266        .32292E-06** at limit **
   9  Prefactor     13.927        15.471       -.69781E-06   -.32603E-04
  10  Prefactor     159.99        101.05        .10384E-04    .22931E-03
  11  Prefactor     5.3759        3.9661        .11301E-05   -.26632E-02
  12  Prefactor     39.969        54.080       -.29690E-05   -.66745E-04
  13  norm          6.5808        4.2582       -.38649E-06   -.97213E-04
  14  Prefactor     .10000E-03    61.033       -.40628E-06** at limit **
  15  Prefactor     .10000E-03    37.607        .17786E-06** at limit **
  16  norm          .10000E-03    .29522       -.37611E-08** at limit **
  17  Prefactor     11.955        14.078        .46351E-06    .95605E-04
  18  norm          .10000E-03    .60171       -.40274E-07** at limit **
  19  Prefactor     .10000E-03    25.432        .64128E-08** at limit **
  20  Prefactor     4.6770        12.201        .60879E-08   -.26986E-04
  21  Prefactor     .10000E-03    20.498       -.99358E-08** at limit **
  22  Normalizat    1.6052        .23320       -.95911E-06    .34014E-04
  23  Prefactor     .64465        .14635       -.21780E-06   -.40673E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.38912
  Prefactor  = 5.57012
  Prefactor  = 0.867785
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.9377
  Prefactor  = 0.000101437
  Prefactor  = 0.000100353
  Prefactor  = 13.9272
  Prefactor  = 159.993
  Prefactor  = 5.37589
  Prefactor  = 39.9695
  norm       = 6.58077
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.9551
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.67702
  Prefactor  = 0.0001
  Normalizat = 1.6052
  Prefactor  = 0.644653
 **********
 **   18 **HESSE 
 **********

 FCN=   5699.874     FROM HESSE     STATUS=OK           384 CALLS     3404 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3891        4.1020        .16353E-03   -1.5340    
   2  Prefactor     5.5701        10.327        .17023E-03   -1.5236    
   3  Prefactor     .86779        108.45        .48755E-02   -1.5522    
   4  norm          .10000E-03    3.2284        .13226E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.5788        .11814E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     21.938        21.994        .85521E-04   -1.4771    
   7  Prefactor     .10144E-03    12.000        .64570E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10035E-03    139.46        .49224E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.927        16.078        .10732E-03   -1.4961    
  10  Prefactor     159.99        103.83        .15941E-03   -1.3171    
  11  Prefactor     5.3759        6.1327        .86661E-03   -1.5244    
  12  Prefactor     39.969        54.334        .63397E-04   -1.4443    
  13  norm          6.5808        4.2600        .11809E-03   -1.5195    
  14  Prefactor     .10000E-03    61.085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    39.161        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .30135        .40002E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.955        12.525        .11577E-03   -1.5016    
  18  norm          .10000E-03    .81660        .10036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    25.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.6770        12.179        .18606E-03   -1.5275    
  21  Prefactor     .10000E-03    20.772        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.6052        .27255        .25338E-03   -.74864    
  23  Prefactor     .64465        .17195        .24627E-03   -1.0574    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.14122e-09
Minuit parameter uncertainties:
  1  4.10238
  2  10.3306
  3  19.4368
  4  4.59577e-07
  5  1.34359e-07
  6  22.0018
  7  0.0083077
  8  0.0140565
  9  16.0826
  10  103.946
  11  6.1334
  12  54.4019
  13  4.26017
  14  4.03494e-05
  15  9.07334e-05
  16  7.24425e-07
  17  12.528
  18  1.10644e-05
  19  1.83194e-05
  20  12.1859
  21  6.12065e-06
  22  0.2728
  23  0.172089
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.004e-04  1.406e-02  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:  6.447e-01  1.721e-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.605e+00  2.728e-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/216605/likelihoodResults_473904001_474163201_4FGL_J2211.2-1325_daily_bin905.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) = 5699.87355139
delta logL = -3.29590739057e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5699.85595243
delta logL = 0.0175659985907

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .48787       1.0000         .10000E-03   10000.    
     2 'Index     '    4.3855       1.0000          .0000       10.000    
     3 'Normalizat'    1.5891       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65105       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=   5699.856     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      284 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46420        13.816        .34598E-01    .13680E-02
   2  Index         4.4197        2.5910        .50000        .18072E-04
   3  Normalizat    1.5896        .16103E-01    .57528E-01   -.17855E-04
   4  Prefactor     .65076        .10504E-01    .41746E-01   -.39444E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.4642
  Index      = 4.4197
  Normalizat = 1.58959
  Prefactor  = 0.650757
 **********
 **   18 **HESSE 
 **********

 FCN=   5699.856     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      317 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46420        559.65        .19299E-02   -1.5572    
   2  Index         4.4197        7.2334        .14245E-01   -.11632    
   3  Normalizat    1.5896        .13992        .25438E-03   -.75291    
   4  Prefactor     .65076        .87077E-01    .24521E-03   -1.0549    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.55543e-08
Minuit parameter uncertainties:
  1  32.5418
  2  50.6494
  3  0.139957
  4  0.087095
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/216605': 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) = 5699.85594471
delta logL = 0.0175737248937

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  4.642e-01  3.254e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  4.420e+00  5.065e+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:  6.508e-01  8.709e-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.590e+00  1.400e-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/216605/cmap_HighResolution_473904001_474163201_4FGL_J2211.2-1325_daily_bin905.png

Cleaning up...

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

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:59:40.758665', job_id='216605', GAL2='0.65', fit_tolerance='1e-08', EG2='1.59', EG='1.61', time_epoch_completed='1632837580.76', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.64', dlogl='1.76e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='905' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:59:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 216605: <4FGL_J2211.2-1325_daily_bin905> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin905 332.817 -13.4189 473904001 474163201 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 :                                   623.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   838 sec.
    Turnaround time :                            839 sec.

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

