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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin739
RA = 332.817, Dec = -13.4189
tmin = 430876801, tmax = 431136001
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='216337', job_status='RUN', time_executed='2021-09-28 06:48:32.069080', time_epoch_executed='1632836912.07' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='739'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/216337

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/216337/ft1_4FGL_J2211.2-1325_daily_bin739.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/216337/ft2_4FGL_J2211.2-1325_daily_bin739.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/216337/ft1_4FGL_J2211.2-1325_daily_bin739.fits outfile=/scratch/kocevski/216337/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin739.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=430876801.0 tmax=431136001.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.37
user 5.09
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/216337/ft2_4FGL_J2211.2-1325_daily_bin739.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/216337/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin739.fits evtable="EVENTS" outfile="/scratch/kocevski/216337/ft1_filtered_4FGL_J2211.2-1325_daily_bin739.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/216337/ft1_filtered_4FGL_J2211.2-1325_daily_bin739.fits" evtable="EVENTS" scfile=/scratch/kocevski/216337/ft2_4FGL_J2211.2-1325_daily_bin739.fits sctable="SC_DATA" outfile=/scratch/kocevski/216337/ltcube_430876801_431136001_4FGL_J2211.2-1325_daily_bin739.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/216337/ft2_4FGL_J2211.2-1325_daily_bin739.fits
.....................!
real 12.21
user 11.85
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/216337/ft1_filtered_4FGL_J2211.2-1325_daily_bin739.fits evtable="EVENTS" scfile=/scratch/kocevski/216337/ft2_4FGL_J2211.2-1325_daily_bin739.fits sctable="SC_DATA" expcube=/scratch/kocevski/216337/ltcube_430876801_431136001_4FGL_J2211.2-1325_daily_bin739.fits outfile=/scratch/kocevski/216337/expmap_430876801_431136001_4FGL_J2211.2-1325_daily_bin739.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/216337/ltcube_430876801_431136001_4FGL_J2211.2-1325_daily_bin739.fits
.....................!
real 190.95
user 184.99
sys 5.60

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/216337/ft1_filtered_4FGL_J2211.2-1325_daily_bin739.fits scfile=/scratch/kocevski/216337/ft2_4FGL_J2211.2-1325_daily_bin739.fits outfile=/scratch/kocevski/216337/cmap_430876801_431136001_4FGL_J2211.2-1325_daily_bin739.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/216337/ft1_filtered_4FGL_J2211.2-1325_daily_bin739.fits scfile=/scratch/kocevski/216337/ft2_4FGL_J2211.2-1325_daily_bin739.fits outfile=/scratch/kocevski/216337/cmap_HighResolution_430876801_431136001_4FGL_J2211.2-1325_daily_bin739.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/216337/ft1_filtered_4FGL_J2211.2-1325_daily_bin739.fits evtable="EVENTS" scfile=/scratch/kocevski/216337/ft2_4FGL_J2211.2-1325_daily_bin739.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/216337/Model_4FGL_J2211.2-1325_daily_bin739.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/216337/ft1_filtered_4FGL_J2211.2-1325_daily_bin739.fits....................!
real 63.84
user 62.39
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3198       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.0977       1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.622       1.0000         .10000E-03   10000.    
     4 'norm      '    3.3948       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.333       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.9645       1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.548       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.144       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    38.518       1.0000         .10000E-03   10000.    
    13 'norm      '    8.1626       1.0000         .10000E-03   10000.    
    14 'Prefactor '    51.316       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.3975       1.0000         .10000E-03   10000.    
    16 'norm      '    .10120E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    39.975       1.0000         .10000E-03   10000.    
    20 'Prefactor '    16.048       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .74871       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0430       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=   6843.847     FROM MIGRAD    STATUS=CONVERGED    508 CALLS     2572 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3193        4.1984        .88727E-07   -.19468E-04
   2  Prefactor     7.0966        7.4270        .14791E-06   -.40028E-05
   3  Prefactor     17.622        17.884        .55108E-06   -.97153E-05
   4  norm          3.3948        3.3828       -.71751E-07   -.10304E-04
   5  Prefactor     11.332        6.7356        .22949E-06    .15754E-04
   6  Prefactor     .10000E-03    6.7586        .82425E-08** at limit **
   7  Prefactor     8.9616        11.102        .19699E-06   -.60913E-04
   8  Prefactor     21.547        13.455        .77137E-07   -.13256E-03
   9  Prefactor     11.143        11.032        .30071E-06   -.11421E-04
  10  Prefactor     .10000E-03    51.142       -.18713E-07** at limit **
  11  Prefactor     .10000E-03    3.9271       -.19972E-06** at limit **
  12  Prefactor     38.565        75.002       -.12077E-05   -.20749E-04
  13  norm          8.1630        4.4153        .39523E-07   -.28785E-03
  14  Prefactor     51.308        52.462       -.10283E-06   -.40057E-04
  15  Prefactor     1.3958        88.652        .38167E-05   -.68442E-05
  16  norm          .10000E-03    .60062        .10537E-05** at limit **
  17  Prefactor     .10000E-03    11.870        .13534E-05** at limit **
  18  norm          .10000E-03    .70873        .12683E-05** at limit **
  19  Prefactor     40.003        37.378       -.16791E-05   -.22005E-03
  20  Prefactor     16.050        13.386       -.28443E-07   -.55614E-04
  21  Prefactor     .10000E-03    61.121        .13754E-05** at limit **
  22  Normalizat    .74874        .22851       -.24152E-05   -.32216E-03
  23  Prefactor     1.0430        .13579        .38387E-06   -.63397E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.31933
  Prefactor  = 7.09658
  Prefactor  = 17.6224
  norm       = 3.39477
  Prefactor  = 11.3319
  Prefactor  = 0.0001
  Prefactor  = 8.9616
  Prefactor  = 21.5467
  Prefactor  = 11.143
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 38.5649
  norm       = 8.16297
  Prefactor  = 51.3075
  Prefactor  = 1.39575
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 40.0035
  Prefactor  = 16.0502
  Prefactor  = 0.0001
  Normalizat = 0.748735
  Prefactor  = 1.04303
 **********
 **   18 **HESSE 
 **********

 FCN=   6843.847     FROM HESSE     STATUS=OK           372 CALLS     2944 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3193        4.1993        .12377E-03   -1.5167    
   2  Prefactor     7.0966        7.4265        .15057E-03   -1.5175    
   3  Prefactor     17.622        17.988        .95408E-04   -1.4868    
   4  norm          3.3948        3.3902        .14814E-03   -1.5339    
   5  Prefactor     11.332        6.7425        .11900E-03   -1.5035    
   6  Prefactor     .10000E-03    6.7728        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.9616        11.107        .13387E-03   -1.5109    
   8  Prefactor     21.547        13.473        .86286E-04   -1.4779    
   9  Prefactor     11.143        11.020        .12001E-03   -1.5040    
  10  Prefactor     .10000E-03    51.176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.9844        .15951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     38.565        74.363        .64581E-04   -1.4465    
  13  norm          8.1630        4.4128        .12108E-03   -1.5136    
  14  Prefactor     51.308        52.436        .55985E-04   -1.4274    
  15  Prefactor     1.3958        90.648        .36721E-03   -1.5472    
  16  norm          .10000E-03    .72642        .11184E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    11.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .73638        .13624E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     40.003        38.141        .63397E-04   -1.4442    
  20  Prefactor     16.050        13.386        .99979E-04   -1.4906    
  21  Prefactor     .10000E-03    61.495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .74874        .26813        .34139E-03   -1.0200    
  23  Prefactor     1.0430        .16088        .19104E-03   -.91309    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.01879e-10
Minuit parameter uncertainties:
  1  4.19949
  2  7.42742
  3  17.9937
  4  3.3904
  5  6.74292
  6  1.67715e-06
  7  11.1094
  8  13.475
  9  11.0222
  10  4.40172e-05
  11  4.5665e-06
  12  74.5425
  13  4.413
  14  52.4833
  15  22.5313
  16  2.85001e-05
  17  2.23374e-05
  18  6.28728e-06
  19  38.1639
  20  13.3886
  21  0.000171262
  22  0.268605
  23  0.160957
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  2.155e+01  1.347e+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.043e+00  1.610e-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.487e-01  2.686e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.08
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 8.73e-08 +/- 5.46e-08
Energy Flux (Fixed Index): 2.06e-05 +/- 1.29e-05

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) = 6843.68759041
delta logL = 0.159615539789

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6843.68743605
delta logL = 0.159769904543

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.582       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4103       1.0000          .0000       10.000    
     3 'Normalizat'    .76829       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0325       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=   6843.687     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      265 TOTAL
                     EDM=   .97E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.548        455.11        .20198E-02    .18236E-04
   2  Index         2.4087        6.0155        .21856        .13174E-04
   3  Normalizat    .76849        .15211        .76210E-01    .23822E-04
   4  Prefactor     1.0325        .12976        .41066E-01   -.18508E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.5484
  Index      = 2.40873
  Normalizat = 0.768492
  Prefactor  = 1.03245
 **********
 **   18 **HESSE 
 **********

 FCN=   6843.687     FROM HESSE     STATUS=OK            33 CALLS      298 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.548        15.464        .80793E-04   -1.4717    
   2  Index         2.4087        .52543        .80321E-02   -.54481    
   3  Normalizat    .76849        .24629        .33734E-03   -1.0125    
   4  Prefactor     1.0325        .15938        .19187E-03   -.91655    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73371e-12
Minuit parameter uncertainties:
  1  15.4666
  2  0.526756
  3  0.246646
  4  0.159454
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/216337': 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) = 6843.68742854
delta logL = 0.159777409458

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  2.455e+01  1.547e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.409e+00  5.268e-01  0.000e+00  1.000e+01 (-1.000e+00)
246        Scale:  4.751e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  1.032e+00  1.595e-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.685e-01  2.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.36
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 2.41 +/- 0.53
Photon Flux (Free Index): 7.44e-08 +/- 5.36e-08
Energy Flux (Free Index): 2.41e-05 +/- 1.70e-05

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/216337/cmap_HighResolution_430876801_431136001_4FGL_J2211.2-1325_daily_bin739.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.73e-08', energy_flux2='2.41e-05', photon_flux_error='5.46e-08', dlogl='1.60e-01', energy_flux='2.06e-05', photon_flux2='7.44e-08', job_status='DONE', time_completed='2021-09-28 06:58:23.552897', photon_index_error2='0.53', photon_index2='2.41', ts='4.08', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.70e-05', EG='0.75', time_epoch_completed='1632837503.55', return_code='0', job_id='216337', GAL2='1.03', EG2='0.77', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='5.36e-08', ts2='4.36', photon_index='2.72' WHERE bin_id='739' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:58:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0141>
Subject: Job 216337: <4FGL_J2211.2-1325_daily_bin739> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin739> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:45:20 2021
Job was executed on host(s) <bullet0141>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:45:22 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:22 2021
Terminated at Tue Sep 28 06:58:24 2021
Results reported at Tue Sep 28 06:58:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin739 332.817 -13.4189 430876801 431136001 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 :                                   589.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             289.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   781 sec.
    Turnaround time :                            784 sec.

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

