/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 95 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 = 7386
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2212.9-2526_daily_bin1424
RA = 333.226, Dec = -25.4335
tmin = 608428801, tmax = 608688001
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='225870', job_status='RUN', time_executed='2021-09-28 07:17:25.350284', time_epoch_executed='1632838645.35' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='1424'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/225870

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/225870/ft1_4FGL_J2212.9-2526_daily_bin1424.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/225870/ft2_4FGL_J2212.9-2526_daily_bin1424.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/225870/ft1_4FGL_J2212.9-2526_daily_bin1424.fits outfile=/scratch/kocevski/225870/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin1424.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=608428801.0 tmax=608688001.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 4.97
user 4.71
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/225870/ft2_4FGL_J2212.9-2526_daily_bin1424.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/225870/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin1424.fits evtable="EVENTS" outfile="/scratch/kocevski/225870/ft1_filtered_4FGL_J2212.9-2526_daily_bin1424.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.52
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/225870/ft1_filtered_4FGL_J2212.9-2526_daily_bin1424.fits" evtable="EVENTS" scfile=/scratch/kocevski/225870/ft2_4FGL_J2212.9-2526_daily_bin1424.fits sctable="SC_DATA" outfile=/scratch/kocevski/225870/ltcube_608428801_608688001_4FGL_J2212.9-2526_daily_bin1424.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/225870/ft2_4FGL_J2212.9-2526_daily_bin1424.fits
.....................!
real 11.54
user 11.17
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/225870/ft1_filtered_4FGL_J2212.9-2526_daily_bin1424.fits evtable="EVENTS" scfile=/scratch/kocevski/225870/ft2_4FGL_J2212.9-2526_daily_bin1424.fits sctable="SC_DATA" expcube=/scratch/kocevski/225870/ltcube_608428801_608688001_4FGL_J2212.9-2526_daily_bin1424.fits outfile=/scratch/kocevski/225870/expmap_608428801_608688001_4FGL_J2212.9-2526_daily_bin1424.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/225870/ltcube_608428801_608688001_4FGL_J2212.9-2526_daily_bin1424.fits
.....................!
real 191.31
user 185.97
sys 5.01

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/225870/ft1_filtered_4FGL_J2212.9-2526_daily_bin1424.fits scfile=/scratch/kocevski/225870/ft2_4FGL_J2212.9-2526_daily_bin1424.fits outfile=/scratch/kocevski/225870/cmap_608428801_608688001_4FGL_J2212.9-2526_daily_bin1424.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/225870/ft1_filtered_4FGL_J2212.9-2526_daily_bin1424.fits scfile=/scratch/kocevski/225870/ft2_4FGL_J2212.9-2526_daily_bin1424.fits outfile=/scratch/kocevski/225870/cmap_HighResolution_608428801_608688001_4FGL_J2212.9-2526_daily_bin1424.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.59
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/225870/ft1_filtered_4FGL_J2212.9-2526_daily_bin1424.fits evtable="EVENTS" scfile=/scratch/kocevski/225870/ft2_4FGL_J2212.9-2526_daily_bin1424.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/225870/Model_4FGL_J2212.9-2526_daily_bin1424.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/225870/ft1_filtered_4FGL_J2212.9-2526_daily_bin1424.fits.....................!
real 56.69
user 55.29
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.8874       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    28.031       1.0000         .10000E-03   10000.    
     4 'norm      '    .99726E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12287E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.7608       1.0000         .10000E-03   10000.    
     8 'norm      '    2.8607       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.9946       1.0000         .10000E-03   10000.    
    10 'norm      '    1.4058       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.4439       1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.187       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.8315       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.2077       1.0000         .10000E-03   10000.    
    17 'norm      '    .22382       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10460E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.0728       1.0000         .10000E-03   10000.    
    20 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    1.1019       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0499       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .86697       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=   6924.598     FROM MIGRAD    STATUS=CONVERGED    622 CALLS     2673 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.8881        5.7674        .71482E-07   -.28032E-04
   2  Prefactor     .10000E-03    2.7305        .13821E-06** at limit **
   3  Prefactor     28.034        14.497       -.11420E-05   -.30191E-03
   4  norm          .10000E-03    4.1755        .45805E-06** at limit **
   5  Prefactor     .10000E-03    4.7898        .95138E-07** at limit **
   6  Prefactor     .10002E-03    17.313       -.64393E-05** at limit **
   7  Prefactor     4.6834        142.63        .30853E-04    .14637E-05
   8  norm          2.8586        3.9261        .17826E-05   -.11579E-02
   9  Prefactor     6.9957        9.0794        .90158E-06   -.23887E-04
  10  norm          1.4059        .42278       -.20465E-06   -.21125E-02
  11  Prefactor     2.4438        5.2438        .62315E-05   -.33546E-03
  12  Prefactor     21.189        15.055       -.19691E-06   -.75876E-04
  13  Prefactor     4.8315        5.4086        .11188E-05   -.96680E-04
  14  Prefactor     .10000E-03    122.80       -.12863E-05** at limit **
  15  norm          .10000E-03    6.2904        .50332E-07** at limit **
  16  Prefactor     8.2086        9.6401        .43862E-06   -.64596E-04
  17  norm          .22664        1.9392        .11293E-05   -.46222E-04
  18  Prefactor     .10000E-03    43.743        .37675E-06** at limit **
  19  Prefactor     3.0734        11.686        .72453E-05   -.60152E-04
  20  norm          .10000E-03    1.6358        .63328E-07** at limit **
  21  Prefactor     .10000E-03    3.7413        .80001E-07** at limit **
  22  Prefactor     .10000E-03    4.5781        .15471E-06** at limit **
  23  norm          1.1020        .50934        .38412E-08   -.49911E-03
  24  Prefactor     .10000E-03    2.6935        .50320E-07** at limit **
  25  Normalizat    1.0501        .18552       -.24865E-05   -.27065E-03
  26  Prefactor     .86676        .14308       -.12140E-05   -.49314E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.88811
  Prefactor  = 0.0001
  Prefactor  = 28.0339
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100023
  Prefactor  = 4.68343
  norm       = 2.8586
  Prefactor  = 6.99565
  norm       = 1.4059
  Prefactor  = 2.44376
  Prefactor  = 21.1889
  Prefactor  = 4.83148
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 8.20856
  norm       = 0.226642
  Prefactor  = 0.0001
  Prefactor  = 3.07336
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.10196
  Prefactor  = 0.0001
  Normalizat = 1.05008
  Prefactor  = 0.866761
 **********
 **   18 **HESSE 
 **********

 FCN=   6924.598     FROM HESSE     STATUS=OK           452 CALLS     3125 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.8881        5.7727        .15288E-03   -1.5183    
   2  Prefactor     .10000E-03    2.7612        .13427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     28.034        14.497        .75670E-04   -1.4649    
   4  norm          .10000E-03    17.833        .32864E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.8067        .17787E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10002E-03    17.938        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.6834        143.55        .18440E-03   -1.5275    
   8  norm          2.8586        3.9583        .84413E-03   -1.5370    
   9  Prefactor     6.9957        9.0775        .75844E-03   -1.5179    
  10  norm          1.4059        .42426        .26596E-04   -1.5471    
  11  Prefactor     2.4438        5.2442        .13085E-02   -1.5395    
  12  Prefactor     21.189        15.063        .87017E-04   -1.4787    
  13  Prefactor     4.8315        5.4115        .91509E-03   -1.5268    
  14  Prefactor     .10000E-03    123.40        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    6.2942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.2086        9.6534        .13994E-03   -1.5135    
  17  norm          .22664        1.9751        .22252E-03   -1.5613    
  18  Prefactor     .10000E-03    43.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.0734        11.777        .11570E-02   -1.5357    
  20  norm          .10000E-03    1.6571        .10385E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.7446        .15717E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    4.6242        .17351E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.1020        .50795        .38965E-04   -1.5498    
  24  Prefactor     .10000E-03    2.6974        .13335E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0501        .22080        .25189E-03   -.91371    
  26  Prefactor     .86676        .17059        .22279E-03   -.97312    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30749e-09
Minuit parameter uncertainties:
  1  5.77317
  2  1.22606e-05
  3  14.499
  4  7.15561e-05
  5  9.86864e-06
  6  0.00129013
  7  51.9938
  8  3.95865
  9  9.07927
  10  0.424261
  11  5.24516
  12  15.0654
  13  5.41206
  14  0.000777402
  15  6.23708e-06
  16  9.6552
  17  1.33789
  18  0.000139679
  19  11.7857
  20  4.23795e-06
  21  2.70875e-06
  22  1.31377e-05
  23  0.507953
  24  3.06095e-06
  25  0.220994
  26  0.170694
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  2.119e+01  1.507e+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:  8.668e-01  1.707e-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.050e+00  2.210e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.29
Ra Dec: 333.226 -25.433
Photon Index (Fixed Index): 2.26 +/- 0.00
Photon Flux (Fixed Index): 3.95e-08 +/- 2.81e-08
Energy Flux (Fixed Index): 1.61e-05 +/- 1.14e-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) = 6924.37431064
delta logL = 0.223779190104

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6924.37405255
delta logL = 0.224037281009

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.465       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9129       1.0000          .0000       10.000    
     3 'Normalizat'    1.0653       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85924       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=   6924.374     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      269 TOTAL
                     EDM=   .90E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.401        723.87        .19846E-02    .26970E-04
   2  Index         1.9108        5.4558        .16725        .75816E-04
   3  Normalizat    1.0649        .14982        .56651E-01    .26851E-03
   4  Prefactor     .85963        .99092E-01    .44483E-01    .24066E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.4015
  Index      = 1.91082
  Normalizat = 1.06493
  Prefactor  = 0.859628
 **********
 **   18 **HESSE 
 **********

 FCN=   6924.374     FROM HESSE     STATUS=OK            33 CALLS      302 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.401        19.422        .79382E-04   -1.4700    
   2  Index         1.9108        .51282        .87450E-02   -.66599    
   3  Normalizat    1.0649        .20474        .12526E-02   -.90886    
   4  Prefactor     .85963        .16599        .22363E-03   -.97566    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.98247e-11
Minuit parameter uncertainties:
  1  19.4271
  2  0.514289
  3  0.204892
  4  0.166082
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/225870': 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) = 6924.37403581
delta logL = 0.224054021554

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  2.540e+01  1.943e+01  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  1.911e+00  5.143e-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:  8.596e-01  1.661e-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.065e+00  2.049e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.72
Ra Dec: 333.226 -25.433
Photon Index (Free Index): 1.91 +/- 0.51
Photon Flux (Free Index): 2.83e-08 +/- 2.86e-08
Energy Flux (Free Index): 2.47e-05 +/- 2.62e-05

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/225870/cmap_HighResolution_608428801_608688001_4FGL_J2212.9-2526_daily_bin1424.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.95e-08', energy_flux2='2.47e-05', photon_flux_error='2.81e-08', dlogl='2.24e-01', energy_flux='1.61e-05', photon_flux2='2.83e-08', job_status='DONE', time_completed='2021-09-28 07:29:06.814411', photon_index_error2='0.51', photon_index2='1.91', ts='4.29', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='2.62e-05', EG='1.05', time_epoch_completed='1632839346.81', return_code='0', job_id='225870', GAL2='0.86', EG2='1.06', return_code2='0', energy_flux_error='1.14e-05', photon_flux_error2='2.86e-08', ts2='4.72', photon_index='2.26' WHERE bin_id='1424' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:29:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 225870: <4FGL_J2212.9-2526_daily_bin1424> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2212.9-2526_daily_bin1424 333.226 -25.4335 608428801 608688001 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 :                                   617.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            815 sec.

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

