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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1445
RA = 332.817, Dec = -13.4189
tmin = 613872001, tmax = 614131201
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='218486', job_status='RUN', time_executed='2021-09-28 06:51:37.898953', time_epoch_executed='1632837097.9' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1445'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/218486

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/218486/ft1_4FGL_J2211.2-1325_daily_bin1445.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/218486/ft2_4FGL_J2211.2-1325_daily_bin1445.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/218486/ft1_4FGL_J2211.2-1325_daily_bin1445.fits outfile=/scratch/kocevski/218486/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1445.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=613872001.0 tmax=614131201.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 2.30
user 2.11
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/218486/ft1_filtered_4FGL_J2211.2-1325_daily_bin1445.fits" evtable="EVENTS" scfile=/scratch/kocevski/218486/ft2_4FGL_J2211.2-1325_daily_bin1445.fits sctable="SC_DATA" outfile=/scratch/kocevski/218486/ltcube_613872001_614131201_4FGL_J2211.2-1325_daily_bin1445.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/218486/ft2_4FGL_J2211.2-1325_daily_bin1445.fits
.....................!
real 12.14
user 11.78
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/218486/ft1_filtered_4FGL_J2211.2-1325_daily_bin1445.fits evtable="EVENTS" scfile=/scratch/kocevski/218486/ft2_4FGL_J2211.2-1325_daily_bin1445.fits sctable="SC_DATA" expcube=/scratch/kocevski/218486/ltcube_613872001_614131201_4FGL_J2211.2-1325_daily_bin1445.fits outfile=/scratch/kocevski/218486/expmap_613872001_614131201_4FGL_J2211.2-1325_daily_bin1445.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/218486/ltcube_613872001_614131201_4FGL_J2211.2-1325_daily_bin1445.fits
.....................!
real 190.73
user 185.50
sys 4.83

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/218486/ft1_filtered_4FGL_J2211.2-1325_daily_bin1445.fits scfile=/scratch/kocevski/218486/ft2_4FGL_J2211.2-1325_daily_bin1445.fits outfile=/scratch/kocevski/218486/cmap_613872001_614131201_4FGL_J2211.2-1325_daily_bin1445.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/218486/ft1_filtered_4FGL_J2211.2-1325_daily_bin1445.fits scfile=/scratch/kocevski/218486/ft2_4FGL_J2211.2-1325_daily_bin1445.fits outfile=/scratch/kocevski/218486/cmap_HighResolution_613872001_614131201_4FGL_J2211.2-1325_daily_bin1445.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.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/218486/ft1_filtered_4FGL_J2211.2-1325_daily_bin1445.fits evtable="EVENTS" scfile=/scratch/kocevski/218486/ft2_4FGL_J2211.2-1325_daily_bin1445.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/218486/Model_4FGL_J2211.2-1325_daily_bin1445.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/218486/ft1_filtered_4FGL_J2211.2-1325_daily_bin1445.fits.....................!
real 62.10
user 60.73
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22155E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    38.923       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.7081       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.367       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.8451       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.043       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .65373E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.1767       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.1540       1.0000         .10000E-03   10000.    
    15 'Prefactor '    21.913       1.0000         .10000E-03   10000.    
    16 'norm      '    1.1002       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .70001       1.0000         .10000E-03   10000.    
    18 'norm      '    2.1728       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.0648       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.4101       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .89432       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95499       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=   6802.663     FROM MIGRAD    STATUS=CONVERGED    905 CALLS     3826 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10004E-03    32.243        .34040E-02** at limit **
   2  Prefactor     .10000E-03    4.5942        .18084E-02** at limit **
   3  Prefactor     38.936        18.357        .64245E-04    .42335E-03
   4  norm          .10000E-03    1.5403        .10481E-02** at limit **
   5  Prefactor     3.7095        5.8403        .20971E-03    .26634E-03
   6  Prefactor     .10000E-03    5.2938        .18142E-02** at limit **
   7  Prefactor     25.369        13.403        .79535E-04    .48742E-04
   8  Prefactor     4.8451        8.9228        .91377E-03    .47663E-04
   9  Prefactor     14.045        9.5691        .10688E-03   -.11402E-03
  10  Prefactor     .10000E-03    13.294        .18142E-02** at limit **
  11  Prefactor     .10000E-03    1.0290        .85437E-03** at limit **
  12  Prefactor     .10013E-03    276.46        .42035E-03** at limit **
  13  norm          7.1765        3.3867        .51614E-03    .14077E-03
  14  Prefactor     7.1449        76.196        .14997E-03    .20467E-04
  15  Prefactor     21.915        15.611        .85565E-04    .17233E-03
  16  norm          1.1008        .77333        .57915E-04    .13168E-02
  17  Prefactor     .62491        8946.7        .48864E-02    .10357E-03
  18  norm          2.1773        16.733        .27935E-04    .88924E-03
  19  Prefactor     8.0553        166.72        .14118E-03    .22780E-03
  20  Prefactor     .10000E-03    3.4650        .15714E-02** at limit **
  21  Prefactor     7.4112        10.613        .14734E-03   -.28936E-04
  22  Normalizat    .89444        .21410        .30357E-03   -.11613E-03
  23  Prefactor     .95496        .11840        .19845E-03    .17652E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100044
  Prefactor  = 0.0001
  Prefactor  = 38.9356
  norm       = 0.0001
  Prefactor  = 3.70954
  Prefactor  = 0.000100001
  Prefactor  = 25.3694
  Prefactor  = 4.84514
  Prefactor  = 14.0447
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010013
  norm       = 7.17645
  Prefactor  = 7.14489
  Prefactor  = 21.9154
  norm       = 1.10078
  Prefactor  = 0.624905
  norm       = 2.17734
  Prefactor  = 8.05533
  Prefactor  = 0.000100001
  Prefactor  = 7.41121
  Normalizat = 0.894439
  Prefactor  = 0.95496
 **********
 **   18 **HESSE 
 **********

 FCN=   6802.663     FROM HESSE     STATUS=OK           352 CALLS     4178 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10004E-03    36.559        .13616E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.0515        .36168E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     38.936        19.256        .12849E-04   -1.4459    
   4  norm          .10000E-03    1.6935        .20962E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.7095        6.1275        .83886E-05   -1.5323    
   6  Prefactor     .10000E-03    5.8207        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.369        14.045        .31814E-05   -1.4700    
   8  Prefactor     4.8451        9.4000        .36551E-04   -1.5268    
   9  Prefactor     14.045        10.024        .42754E-05   -1.4958    
  10  Prefactor     .10000E-03    14.615        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.1314        .17087E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10013E-03    303.70        .84071E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.1765        3.5665        .20646E-04   -1.5172    
  14  Prefactor     7.1449        84.314        .59989E-05   -1.5173    
  15  Prefactor     21.915        16.468        .34226E-05   -1.4771    
  16  norm          1.1008        .75562        .23166E-05   -1.5498    
  17  Prefactor     .62491        916.73        .19546E-03   -1.5550    
  18  norm          2.1773        3.5787        .11174E-05   -1.5413    
  19  Prefactor     8.0553        31.587        .56473E-05   -1.5140    
  20  Prefactor     .10000E-03    3.8098        .31427E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.4112        10.972        .58934E-05   -1.5163    
  22  Normalizat    .89444        .24720        .12143E-04   -.96656    
  23  Prefactor     .95496        .15470        .39691E-04   -.94246    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49654e-09
Minuit parameter uncertainties:
  1  0.00254522
  2  4.76219e-05
  3  19.2588
  4  1.82187e-05
  5  6.12854
  6  0.000124259
  7  14.0469
  8  9.40284
  9  10.0252
  10  1.7525e-06
  11  2.00883e-05
  12  0.0126261
  13  3.56663
  14  49.1747
  15  16.4717
  16  0.755626
  17  48.6303
  18  3.57906
  19  31.6525
  20  8.83865e-05
  21  10.9745
  22  0.247511
  23  0.154767
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  4.845e+00  9.403e+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

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  9.550e-01  1.548e-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:  8.944e-01  2.475e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.35
Ra Dec: 332.817 -13.419
Photon Flux Upper Limit: 1.14e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/218486/likelihoodResults_613872001_614131201_4FGL_J2211.2-1325_daily_bin1445.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) = 6802.65006124
delta logL = 0.0130910605621

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6802.64937214
delta logL = 0.0137801603532

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.0959       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4977       1.0000          .0000       10.000    
     3 'Normalizat'    .89900       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95276       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=   6802.649     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      256 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0968        9.6728        .17811E-03   -.69556E-03
   2  Index         2.4958        1.3035        .12965E-01   -.15709E-03
   3  Normalizat    .89897        .22596        .30285E-03    .40358E-03
   4  Prefactor     .95281        .15170        .19864E-03    .60584E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.09675
  Index      = 2.49577
  Normalizat = 0.898972
  Prefactor  = 0.952815
 **********
 **   18 **HESSE 
 **********

 FCN=   6802.649     FROM HESSE     STATUS=OK            23 CALLS      279 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0968        9.6818        .71244E-05   -1.5256    
   2  Index         2.4958        1.3047        .51860E-03   -.52458    
   3  Normalizat    .89897        .22618        .60571E-04   -.96496    
   4  Prefactor     .95281        .15180        .39729E-04   -.94319    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.89047e-09
Minuit parameter uncertainties:
  1  9.68478
  2  1.32532
  3  0.22642
  4  0.151871
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/218486': 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) = 6802.64937101
delta logL = 0.0137812910034

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  9.528e-01  1.519e-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:  8.990e-01  2.264e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.35
Ra Dec: 332.817 -13.419

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/218486/cmap_HighResolution_613872001_614131201_4FGL_J2211.2-1325_daily_bin1445.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.97e-03', job_status='DONE', photon_flux_upper_limit='1.14e-07', time_completed='2021-09-28 07:03:52.957927', job_id='218486', GAL2='0.95', fit_tolerance='1e-08', EG2='0.90', EG='0.89', time_epoch_completed='1632837832.96', return_code2='0', ts='0.35', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.38e-02', ts2='0.38', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='1445' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:03:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 218486: <4FGL_J2211.2-1325_daily_bin1445> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin1445> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:51:16 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:51:18 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:51:18 2021
Terminated at Tue Sep 28 07:03:53 2021
Results reported at Tue Sep 28 07:03:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1445 332.817 -13.4189 613872001 614131201 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 :                                   710.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             322.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   755 sec.
    Turnaround time :                            757 sec.

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

