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


Performing analysis on: 4FGL_J2212.9-2526_daily_bin1163
RA = 333.226, Dec = -25.4335
tmin = 540777601, tmax = 541036801
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='224521', job_status='RUN', time_executed='2021-09-28 07:14:15.545804', time_epoch_executed='1632838455.55' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='1163'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/224521

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/224521/ft1_4FGL_J2212.9-2526_daily_bin1163.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/224521/ft2_4FGL_J2212.9-2526_daily_bin1163.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/224521/ft1_4FGL_J2212.9-2526_daily_bin1163.fits outfile=/scratch/kocevski/224521/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin1163.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=540777601.0 tmax=541036801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.62
user 3.40
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/224521/ft1_filtered_4FGL_J2212.9-2526_daily_bin1163.fits" evtable="EVENTS" scfile=/scratch/kocevski/224521/ft2_4FGL_J2212.9-2526_daily_bin1163.fits sctable="SC_DATA" outfile=/scratch/kocevski/224521/ltcube_540777601_541036801_4FGL_J2212.9-2526_daily_bin1163.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/224521/ft2_4FGL_J2212.9-2526_daily_bin1163.fits
.....................!
real 12.10
user 11.73
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/224521/ft1_filtered_4FGL_J2212.9-2526_daily_bin1163.fits evtable="EVENTS" scfile=/scratch/kocevski/224521/ft2_4FGL_J2212.9-2526_daily_bin1163.fits sctable="SC_DATA" expcube=/scratch/kocevski/224521/ltcube_540777601_541036801_4FGL_J2212.9-2526_daily_bin1163.fits outfile=/scratch/kocevski/224521/expmap_540777601_541036801_4FGL_J2212.9-2526_daily_bin1163.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/224521/ltcube_540777601_541036801_4FGL_J2212.9-2526_daily_bin1163.fits
.....................!
real 190.18
user 185.83
sys 3.98

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/224521/ft1_filtered_4FGL_J2212.9-2526_daily_bin1163.fits scfile=/scratch/kocevski/224521/ft2_4FGL_J2212.9-2526_daily_bin1163.fits outfile=/scratch/kocevski/224521/cmap_540777601_541036801_4FGL_J2212.9-2526_daily_bin1163.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/224521/ft1_filtered_4FGL_J2212.9-2526_daily_bin1163.fits scfile=/scratch/kocevski/224521/ft2_4FGL_J2212.9-2526_daily_bin1163.fits outfile=/scratch/kocevski/224521/cmap_HighResolution_540777601_541036801_4FGL_J2212.9-2526_daily_bin1163.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.62
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/224521/ft1_filtered_4FGL_J2212.9-2526_daily_bin1163.fits evtable="EVENTS" scfile=/scratch/kocevski/224521/ft2_4FGL_J2212.9-2526_daily_bin1163.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/224521/Model_4FGL_J2212.9-2526_daily_bin1163.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/224521/ft1_filtered_4FGL_J2212.9-2526_daily_bin1163.fits.....................!
real 46.92
user 45.45
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/224521/ft1_filtered_4FGL_J2212.9-2526_daily_bin1163.fits', '/scratch/kocevski/224521/ft2_4FGL_J2212.9-2526_daily_bin1163.fits', expMap='/scratch/kocevski/224521/expmap_540777601_541036801_4FGL_J2212.9-2526_daily_bin1163.fits', expCube='/scratch/kocevski/224521/ltcube_540777601_541036801_4FGL_J2212.9-2526_daily_bin1163.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/224521/Model_4FGL_J2212.9-2526_daily_bin1163.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/224521/ft1_filtered_4FGL_J2212.9-2526_daily_bin1163.fits
Spacecraft file(s): /scratch/kocevski/224521/ft2_4FGL_J2212.9-2526_daily_bin1163.fits
Exposure map: /scratch/kocevski/224521/expmap_540777601_541036801_4FGL_J2212.9-2526_daily_bin1163.fits
Exposure cube: /scratch/kocevski/224521/ltcube_540777601_541036801_4FGL_J2212.9-2526_daily_bin1163.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/224521/Model_4FGL_J2212.9-2526_daily_bin1163.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) = 4920.61960065

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.3732       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.4283       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10319E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.7967       1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.739       1.0000         .10000E-03   10000.    
    10 'norm      '    1.3452       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10262E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.684       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10533E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.492       1.0000         .10000E-03   10000.    
    15 'norm      '    7.5441       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .96689       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11089E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    5.2566       1.0000         .10000E-03   10000.    
    21 'Prefactor '    19.620       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .73774E-01   1.0000         .10000E-03   10000.    
    23 'norm      '    1.7886       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .24815E-02   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.8112       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .69232       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=   4920.599     FROM MIGRAD    STATUS=CONVERGED    656 CALLS     3183 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.3730        6.3157        .98782E-08    .33398E-04
   2  Prefactor     3.4275        5.5318        .30364E-05   -.35286E-03
   3  Prefactor     .10000E-03    11.898       -.23695E-07** at limit **
   4  norm          .10000E-03    24.225       -.12431E-05** at limit **
   5  Prefactor     .10000E-03    67.781        .33486E-05** at limit **
   6  Prefactor     .10000E-03    23.783        .97556E-06** at limit **
   7  Prefactor     .10004E-03    122.35        .10179E-04** at limit **
   8  norm          3.7954        5.6747        .30120E-06   -.50995E-04
   9  Prefactor     16.743        25.812        .24622E-06   -.54000E-05
  10  norm          1.3452        .54120        .20362E-08   -.13857E-04
  11  Prefactor     .10000E-03    14.890        .27228E-06** at limit **
  12  Prefactor     13.655        29.162        .16018E-05    .10742E-03
  13  Prefactor     .10074E-03    7.3987       -.10390E-05** at limit **
  14  Prefactor     18.503        62.527        .12402E-05    .21371E-04
  15  norm          7.5488        25.653        .42243E-07    .19481E-04
  16  Prefactor     .10000E-03    6.9956       -.14505E-08** at limit **
  17  norm          .96672        2.4476       -.10489E-07    .18093E-03
  18  Prefactor     .10005E-03    89.137       -.10918E-04** at limit **
  19  Prefactor     .10000E-03    15.880       -.16373E-06** at limit **
  20  norm          5.2596        6.0784        .42326E-06    .56021E-03
  21  Prefactor     19.646        25.083        .22858E-07    .31105E-03
  22  Prefactor     .10448E-03    17.398       -.41197E-05** at limit **
  23  norm          1.7906        1.1609        .44369E-06    .28514E-02
  24  Prefactor     .10163E-03    14.946        .23703E-05** at limit **
  25  Normalizat    1.8111        .26559        .55238E-06    .28433E-03
  26  Prefactor     .69243        .19364       -.89943E-06    .16637E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.37296
  Prefactor  = 3.42754
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.000100041
  norm       = 3.79543
  Prefactor  = 16.7429
  norm       = 1.34521
  Prefactor  = 0.0001
  Prefactor  = 13.655
  Prefactor  = 0.00010074
  Prefactor  = 18.5035
  norm       = 7.54877
  Prefactor  = 0.0001
  norm       = 0.966724
  Prefactor  = 0.000100047
  Prefactor  = 0.0001
  norm       = 5.25956
  Prefactor  = 19.6458
  Prefactor  = 0.000104476
  norm       = 1.79062
  Prefactor  = 0.000101633
  Normalizat = 1.81114
  Prefactor  = 0.692427
 **********
 **   18 **HESSE 
 **********

 FCN=   4920.599     FROM HESSE     STATUS=OK           474 CALLS     3657 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.3730        6.3218        .15899E-03   -1.5203    
   2  Prefactor     3.4275        5.5345        .10190E-02   -1.5338    
   3  Prefactor     .10000E-03    11.950        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    25.099        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    68.649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    23.921        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10004E-03    126.36        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.7954        5.6733        .18805E-03   -1.5318    
   9  Prefactor     16.743        25.791        .97894E-04   -1.4889    
  10  norm          1.3452        .54080        .30559E-04   -1.5476    
  11  Prefactor     .10000E-03    15.025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.655        29.243        .10828E-03   -1.4969    
  13  Prefactor     .10074E-03    124.08        .36139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.503        62.504        .93139E-04   -1.4847    
  15  norm          7.5488        25.570        .14601E-03   -1.5158    
  16  Prefactor     .10000E-03    7.0084        .18119E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .96672        1.9805        .16678E-02   -1.5511    
  18  Prefactor     .10005E-03    93.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.2596        6.0853        .16754E-03   -1.5249    
  21  Prefactor     19.646        25.737        .90423E-04   -1.4821    
  22  Prefactor     .10448E-03    37.831        .61788E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.7906        1.2454        .50828E-04   -1.5440    
  24  Prefactor     .10163E-03    148.84        .47441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.8111        .32022        .25720E-03   -.69373    
  26  Prefactor     .69243        .23314        .29318E-03   -1.0382    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79015e-08
Minuit parameter uncertainties:
  1  6.32248
  2  5.53528
  3  9.84242e-06
  4  0.000175287
  5  0.00108173
  6  0.000160996
  7  0.00455499
  8  5.67411
  9  25.8086
  10  0.540799
  11  1.15931e-05
  12  29.274
  13  0.0192086
  14  62.7267
  15  25.6069
  16  7.1255e-07
  17  1.98062
  18  0.00421397
  19  1.88539e-05
  20  6.086
  21  25.7512
  22  0.0260417
  23  1.24544
  24  0.0312612
  25  0.320596
  26  0.233465
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  1.366e+01  2.927e+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:  6.924e-01  2.335e-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:  1.811e+00  3.206e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 333.226 -25.433
Photon Flux Upper Limit: 1.50e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.15e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/224521/likelihoodResults_540777601_541036801_4FGL_J2212.9-2526_daily_bin1163.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) = 4920.0499723
delta logL = 0.548732063613

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4920.04426564
delta logL = 0.554438723737

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8719       1.0000         .10000E-03   10000.    
     2 'Index     '    3.9936       1.0000          .0000       10.000    
     3 'Normalizat'    1.7158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74282       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.

 FCN=   4920.044     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      321 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8752        39.992        .76101E-02    .37100E-03
   2  Index         3.9928        3.4024        .10434        .11655E-03
   3  Normalizat    1.7159        .76623E-01    .59375E-01   -.21000E-04
   4  Prefactor     .74274        .56895E-01    .64181E-01    .37587E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.87519
  Index      = 3.99279
  Normalizat = 1.71592
  Prefactor  = 0.742744
 **********
 **   18 **HESSE 
 **********

 FCN=   4920.044     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      352 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8752        79.268        .85951E-04   -1.5434    
   2  Index         3.9928        6.9915        .52113E-02   -.20283    
   3  Normalizat    1.7159        .27619        .26254E-03   -.71879    
   4  Prefactor     .74274        .20588        .28393E-03   -1.0187    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.01465e-07
Minuit parameter uncertainties:
  1  24.4177
  2  6.39451
  3  0.276438
  4  0.206088
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/224521': 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) = 4920.04426549
delta logL = 0.554438867342

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  1.875e+00  2.442e+01  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  3.993e+00  6.395e+00  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:  7.427e-01  2.061e-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:  1.716e+00  2.764e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.44
Ra Dec: 333.226 -25.433
Photon Index (Free Index): 3.99 +/- 6.39
Photon Flux (Free Index): 9.84e-08 +/- 9.79e-08
Energy Flux (Free Index): 1.47e-05 +/- 1.75e-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/224521/cmap_HighResolution_540777601_541036801_4FGL_J2212.9-2526_daily_bin1163.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-02', comment='SUCCESS', energy_flux2='1.47e-05', dlogl='5.54e-01', photon_flux2='9.84e-08', job_status='DONE', time_completed='2021-09-28 07:27:05.787049', photon_index_error2='6.39', photon_index2='3.99', ts='0.25', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', photon_flux_upper_limit='1.50e-07', energy_flux_error2='1.75e-05', EG='1.81', time_epoch_completed='1632839225.79', return_code='0', job_id='224521', GAL2='0.74', EG2='1.72', return_code2='102', photon_flux_error2='9.79e-08', ts2='1.44', photon_index='2.26' WHERE bin_id='1163' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:27:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0304>
Subject: Job 224521: <4FGL_J2212.9-2526_daily_bin1163> in cluster <slac> Done

Job <4FGL_J2212.9-2526_daily_bin1163> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 07:11:00 2021
Job was executed on host(s) <bullet0304>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 07:11:02 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:11:02 2021
Terminated at Tue Sep 28 07:27:06 2021
Results reported at Tue Sep 28 07:27:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2212.9-2526_daily_bin1163 333.226 -25.4335 540777601 541036801 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 :                                   598.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             248.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   964 sec.
    Turnaround time :                            966 sec.

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

