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


Performing analysis on: 4FGL_J2212.9-2526_daily_bin1490
RA = 333.226, Dec = -25.4335
tmin = 625536001, tmax = 625795201
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='225972', job_status='RUN', time_executed='2021-09-28 07:17:16.132273', time_epoch_executed='1632838636.13' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='1490'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/225972

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/225972/ft1_4FGL_J2212.9-2526_daily_bin1490.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/225972/ft2_4FGL_J2212.9-2526_daily_bin1490.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/225972/ft1_4FGL_J2212.9-2526_daily_bin1490.fits outfile=/scratch/kocevski/225972/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin1490.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=625536001.0 tmax=625795201.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 6.70
user 3.42
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/225972/ft2_4FGL_J2212.9-2526_daily_bin1490.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/225972/ft2_4FGL_J2212.9-2526_daily_bin1490.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/225972/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin1490.fits evtable="EVENTS" outfile="/scratch/kocevski/225972/ft1_filtered_4FGL_J2212.9-2526_daily_bin1490.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 1.15
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/225972/ft1_filtered_4FGL_J2212.9-2526_daily_bin1490.fits" evtable="EVENTS" scfile=/scratch/kocevski/225972/ft2_4FGL_J2212.9-2526_daily_bin1490.fits sctable="SC_DATA" outfile=/scratch/kocevski/225972/ltcube_625536001_625795201_4FGL_J2212.9-2526_daily_bin1490.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/225972/ft2_4FGL_J2212.9-2526_daily_bin1490.fits
.....................!
real 11.99
user 11.52
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/225972/ft1_filtered_4FGL_J2212.9-2526_daily_bin1490.fits evtable="EVENTS" scfile=/scratch/kocevski/225972/ft2_4FGL_J2212.9-2526_daily_bin1490.fits sctable="SC_DATA" expcube=/scratch/kocevski/225972/ltcube_625536001_625795201_4FGL_J2212.9-2526_daily_bin1490.fits outfile=/scratch/kocevski/225972/expmap_625536001_625795201_4FGL_J2212.9-2526_daily_bin1490.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/225972/ltcube_625536001_625795201_4FGL_J2212.9-2526_daily_bin1490.fits
.....................!
real 191.40
user 185.48
sys 5.46

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 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J2212.9-2526 @ 333.226 -25.4335

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/225972/ft1_filtered_4FGL_J2212.9-2526_daily_bin1490.fits scfile=/scratch/kocevski/225972/ft2_4FGL_J2212.9-2526_daily_bin1490.fits outfile=/scratch/kocevski/225972/cmap_625536001_625795201_4FGL_J2212.9-2526_daily_bin1490.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=333.226 yref=-25.4335 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/225972/ft1_filtered_4FGL_J2212.9-2526_daily_bin1490.fits scfile=/scratch/kocevski/225972/ft2_4FGL_J2212.9-2526_daily_bin1490.fits outfile=/scratch/kocevski/225972/cmap_HighResolution_625536001_625795201_4FGL_J2212.9-2526_daily_bin1490.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=333.226 yref=-25.4335 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/225972/ft1_filtered_4FGL_J2212.9-2526_daily_bin1490.fits evtable="EVENTS" scfile=/scratch/kocevski/225972/ft2_4FGL_J2212.9-2526_daily_bin1490.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/225972/Model_4FGL_J2212.9-2526_daily_bin1490.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/225972/ft1_filtered_4FGL_J2212.9-2526_daily_bin1490.fits....................!
real 59.66
user 57.59
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/225972/ft1_filtered_4FGL_J2212.9-2526_daily_bin1490.fits', '/scratch/kocevski/225972/ft2_4FGL_J2212.9-2526_daily_bin1490.fits', expMap='/scratch/kocevski/225972/expmap_625536001_625795201_4FGL_J2212.9-2526_daily_bin1490.fits', expCube='/scratch/kocevski/225972/ltcube_625536001_625795201_4FGL_J2212.9-2526_daily_bin1490.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/225972/Model_4FGL_J2212.9-2526_daily_bin1490.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2212.9-2526'

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  5.247e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.255e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/225972/ft1_filtered_4FGL_J2212.9-2526_daily_bin1490.fits
Spacecraft file(s): /scratch/kocevski/225972/ft2_4FGL_J2212.9-2526_daily_bin1490.fits
Exposure map: /scratch/kocevski/225972/expmap_625536001_625795201_4FGL_J2212.9-2526_daily_bin1490.fits
Exposure cube: /scratch/kocevski/225972/ltcube_625536001_625795201_4FGL_J2212.9-2526_daily_bin1490.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/225972/Model_4FGL_J2212.9-2526_daily_bin1490.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) = 7808.66199116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .50303       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.5225       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.5715       1.0000         .10000E-03   10000.    
     4 'norm      '    1.2327       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .28422E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10553E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .47989E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.661       1.0000         .10000E-03   10000.    
    10 'norm      '    .71259       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11808E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    24.044       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .44109       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .24873E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .11708E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .73372E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.0791       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .19255E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.5287       1.0000         .10000E-03   10000.    
    20 'norm      '    4.2823       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .60795E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    12.914       1.0000         .10000E-03   10000.    
    23 'norm      '    2.4475       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .72038E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .48542       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.2122       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7808.531     FROM MIGRAD    STATUS=CONVERGED    625 CALLS     2725 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .50695        3.4428        .81771E-06   -.60502E-03
   2  Prefactor     1.5253        4.8820        .50831E-06   -.32240E-03
   3  Prefactor     4.5456        12.967        .14908E-05    .89267E-04
   4  norm          1.2425        4.0196        .56077E-06   -.30221E-03
   5  Prefactor     .10000E-03    20.759       -.50878E-05** at limit **
   6  Prefactor     .10000E-03    5.3632        .26434E-06** at limit **
   7  Prefactor     .10000E-03    29.063       -.30105E-05** at limit **
   8  norm          .10000E-03    1.3678       -.17499E-06** at limit **
   9  Prefactor     16.652        12.043        .30567E-06    .14174E-03
  10  norm          .71263        .25917       -.68224E-08   -.10872E-03
  11  Prefactor     .10000E-03    4.2405        .16060E-07** at limit **
  12  Prefactor     24.014        13.560        .45790E-06    .14118E-03
  13  Prefactor     .43568        2.6588        .14751E-06   -.17415E-03
  14  Prefactor     .10000E-03    24.324        .24330E-05** at limit **
  15  norm          .10000E-03    6.3152       -.80298E-07** at limit **
  16  Prefactor     .10005E-03    4.5976        .85075E-06** at limit **
  17  norm          2.0787        1.5944        .24497E-07   -.60791E-04
  18  Prefactor     .10000E-03    11.576        .24451E-06** at limit **
  19  Prefactor     5.5391        8.0739        .63782E-06    .66394E-04
  20  norm          4.3083        3.4536        .19569E-06    .16322E-03
  21  Prefactor     .10002E-03    9.6907        .69064E-07** at limit **
  22  Prefactor     12.863        10.744       -.91274E-06    .17532E-03
  23  norm          2.4494        .87789        .18120E-06    .19221E-02
  24  Prefactor     .10033E-03    7.9273       -.12423E-05** at limit **
  25  Normalizat    .48562        .16848       -.63761E-06    .23460E-04
  26  Prefactor     1.2121        .13852       -.25186E-07    .86629E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.506949
  Prefactor  = 1.5253
  Prefactor  = 4.54555
  norm       = 1.24247
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 16.6517
  norm       = 0.712627
  Prefactor  = 0.0001
  Prefactor  = 24.0142
  Prefactor  = 0.435679
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100048
  norm       = 2.07874
  Prefactor  = 0.0001
  Prefactor  = 5.53913
  norm       = 4.30832
  Prefactor  = 0.000100016
  Prefactor  = 12.863
  norm       = 2.44944
  Prefactor  = 0.000100331
  Normalizat = 0.485625
  Prefactor  = 1.21207
 **********
 **   18 **HESSE 
 **********

 FCN=   7808.531     FROM HESSE     STATUS=OK           468 CALLS     3193 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .50695        5.5732        .40410E-03   -1.5566    
   2  Prefactor     1.5253        5.1621        .34620E-03   -1.5461    
   3  Prefactor     4.5456        12.976        .18827E-03   -1.5282    
   4  norm          1.2425        4.1638        .32128E-03   -1.5485    
   5  Prefactor     .10000E-03    21.627        .42825E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.3717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    29.539        .21178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.3985        .20152E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.652        12.073        .98124E-04   -1.4892    
  10  norm          .71263        .25904        .26219E-04   -1.5539    
  11  Prefactor     .10000E-03    4.2805        .17763E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     24.014        13.577        .81692E-04   -1.4727    
  13  Prefactor     .43568        14.231        .27189E-02   -1.5576    
  14  Prefactor     .10000E-03    24.567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    6.3259        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10005E-03    34.688        .35556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.0787        1.5902        .94268E-04   -1.5420    
  18  Prefactor     .10000E-03    11.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.5391        8.0862        .17087E-03   -1.5237    
  20  norm          4.3083        3.4221        .13432E-03   -1.5293    
  21  Prefactor     .10002E-03    31.179        .44718E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     12.863        10.203        .11146E-03   -1.4991    
  23  norm          2.4494        .89821        .36305E-04   -1.5395    
  24  Prefactor     .10033E-03    62.393        .41795E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .48562        .19279        .32619E-03   -1.1309    
  26  Prefactor     1.2121        .16112        .18474E-03   -.85961    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.36438e-09
Minuit parameter uncertainties:
  1  3.36181
  2  5.1636
  3  12.9845
  4  4.16481
  5  0.000597094
  6  1.47119e-05
  7  0.000475105
  8  5.05914e-06
  9  12.0744
  10  0.259039
  11  1.74261e-06
  12  13.5787
  13  4.9807
  14  0.000334174
  15  4.97627e-06
  16  0.00259319
  17  1.59021
  18  2.73003e-05
  19  8.08782
  20  3.42227
  21  0.00141715
  22  10.2045
  23  0.898215
  24  0.00910479
  25  0.193057
  26  0.161188
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  2.401e+01  1.358e+01  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.255e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.212e+00  1.612e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  4.856e-01  1.931e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.62
Ra Dec: 333.226 -25.433
Photon Index (Fixed Index): 2.26 +/- 0.00
Photon Flux (Fixed Index): 4.48e-08 +/- 2.53e-08
Energy Flux (Fixed Index): 1.82e-05 +/- 1.03e-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) = 7808.37670598
delta logL = 0.154757827381

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7808.34973651
delta logL = 0.181727292374

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.021       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5799       1.0000          .0000       10.000    
     3 'Normalizat'    .46739       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2228       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+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=   7808.350     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      274 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.025        17.454        .97080E-04    .36596E-03
   2  Index         2.5799        .64054        .51553E-02    .15023E-03
   3  Normalizat    .46747        .18174        .33221E-03    .62727E-03
   4  Prefactor     1.2227        .15602        .18404E-03    .13864E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.0247
  Index      = 2.57987
  Normalizat = 0.467471
  Prefactor  = 1.22269
 **********
 **   18 **HESSE 
 **********

 FCN=   7808.350     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.025        15.635        .38832E-05   -1.4883    
   2  Index         2.5799        .57364        .20621E-03   -.50525    
   3  Normalizat    .46747        .18138        .13288E-04   -1.1395    
   4  Prefactor     1.2227        .15583        .36807E-04   -.85636    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.35472e-10
Minuit parameter uncertainties:
  1  15.6388
  2  0.575293
  3  0.181605
  4  0.155893
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/225972': 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) = 7808.34973634
delta logL = 0.18172746312

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  1.702e+01  1.564e+01  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.580e+00  5.753e-01  0.000e+00  1.000e+01 (-1.000e+00)
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.223e+00  1.559e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  4.675e-01  1.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.00
Ra Dec: 333.226 -25.433
Photon Index (Free Index): 2.58 +/- 0.58
Photon Flux (Free Index): 5.53e-08 +/- 3.32e-08
Energy Flux (Free Index): 1.48e-05 +/- 8.87e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/225972/cmap_HighResolution_625536001_625795201_4FGL_J2212.9-2526_daily_bin1490.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.48e-08', energy_flux2='1.48e-05', photon_flux_error='2.53e-08', dlogl='1.82e-01', energy_flux='1.82e-05', photon_flux2='5.53e-08', job_status='DONE', time_completed='2021-09-28 07:29:32.366089', photon_index_error2='0.58', photon_index2='2.58', ts='6.62', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', energy_flux_error2='8.87e-06', EG='0.49', time_epoch_completed='1632839372.37', return_code='0', job_id='225972', GAL2='1.22', EG2='0.47', return_code2='0', energy_flux_error='1.03e-05', photon_flux_error2='3.32e-08', ts2='7.00', photon_index='2.26' WHERE bin_id='1490' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:29:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 225972: <4FGL_J2212.9-2526_daily_bin1490> in cluster <slac> Done

Job <4FGL_J2212.9-2526_daily_bin1490> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 07:15:42 2021
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 07:15: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 07:15:43 2021
Terminated at Tue Sep 28 07:29:32 2021
Results reported at Tue Sep 28 07:29:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2212.9-2526_daily_bin1490 333.226 -25.4335 625536001 625795201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2212.9-2526 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   654.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            830 sec.

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

