/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 157 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 = 7365
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2212.9-2526_daily_bin25
RA = 333.226, Dec = -25.4335
tmin = 245808001, tmax = 246067201
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='219629', job_status='RUN', time_executed='2021-09-28 06:58:12.886740', time_epoch_executed='1632837492.89' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='25'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/219629

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/219629/ft1_4FGL_J2212.9-2526_daily_bin25.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/219629/ft2_4FGL_J2212.9-2526_daily_bin25.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/219629/ft1_4FGL_J2212.9-2526_daily_bin25.fits outfile=/scratch/kocevski/219629/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin25.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=245808001.0 tmax=246067201.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 1.44
user 1.27
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/219629/ft1_filtered_4FGL_J2212.9-2526_daily_bin25.fits" evtable="EVENTS" scfile=/scratch/kocevski/219629/ft2_4FGL_J2212.9-2526_daily_bin25.fits sctable="SC_DATA" outfile=/scratch/kocevski/219629/ltcube_245808001_246067201_4FGL_J2212.9-2526_daily_bin25.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/219629/ft2_4FGL_J2212.9-2526_daily_bin25.fits
.....................!
real 12.76
user 12.37
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/219629/ft1_filtered_4FGL_J2212.9-2526_daily_bin25.fits evtable="EVENTS" scfile=/scratch/kocevski/219629/ft2_4FGL_J2212.9-2526_daily_bin25.fits sctable="SC_DATA" expcube=/scratch/kocevski/219629/ltcube_245808001_246067201_4FGL_J2212.9-2526_daily_bin25.fits outfile=/scratch/kocevski/219629/expmap_245808001_246067201_4FGL_J2212.9-2526_daily_bin25.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/219629/ltcube_245808001_246067201_4FGL_J2212.9-2526_daily_bin25.fits
.....................!
real 190.45
user 185.50
sys 4.65

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/219629/ft1_filtered_4FGL_J2212.9-2526_daily_bin25.fits scfile=/scratch/kocevski/219629/ft2_4FGL_J2212.9-2526_daily_bin25.fits outfile=/scratch/kocevski/219629/cmap_245808001_246067201_4FGL_J2212.9-2526_daily_bin25.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/219629/ft1_filtered_4FGL_J2212.9-2526_daily_bin25.fits scfile=/scratch/kocevski/219629/ft2_4FGL_J2212.9-2526_daily_bin25.fits outfile=/scratch/kocevski/219629/cmap_HighResolution_245808001_246067201_4FGL_J2212.9-2526_daily_bin25.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/219629/ft1_filtered_4FGL_J2212.9-2526_daily_bin25.fits evtable="EVENTS" scfile=/scratch/kocevski/219629/ft2_4FGL_J2212.9-2526_daily_bin25.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/219629/Model_4FGL_J2212.9-2526_daily_bin25.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/219629/ft1_filtered_4FGL_J2212.9-2526_daily_bin25.fits.....................!
real 58.70
user 57.34
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3254       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.093       1.0000         .10000E-03   10000.    
     4 'norm      '    .10085E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.3449       1.0000         .10000E-03   10000.    
     7 'Prefactor '    38.024       1.0000         .10000E-03   10000.    
     8 'norm      '    1.1644       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .81509       1.0000         .10000E-03   10000.    
    10 'norm      '    2.2438       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    15.298       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.0180       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.8925       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .54358       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    10.311       1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    20.715       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .84173       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0284       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=   7297.941     FROM MIGRAD    STATUS=CONVERGED    659 CALLS     3193 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 19.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3236        1.2207       -.67550E-08   -.17640E-02
   2  Prefactor     .10000E-03    1.7701        .33003E-08** at limit **
   3  Prefactor     11.091        9.5123        .21593E-07   -.50477E-05
   4  norm          .10000E-03    7.0141       -.18899E-07** at limit **
   5  Prefactor     .10000E-03    14.832       -.12945E-07** at limit **
   6  Prefactor     1.1901        189.16        .14356E-04   -.12136E-05
   7  Prefactor     38.314        80.673       -.68760E-05   -.79023E-05
   8  norm          1.1615        6.0366        .17696E-06   -.91115E-04
   9  Prefactor     .80719        6.8102        .90563E-07   -.65998E-04
  10  norm          2.2441        .54463       -.16843E-07   -.11658E-03
  11  Prefactor     .10000E-03    11.389        .76419E-07** at limit **
  12  Prefactor     .10000E-03    7.7645        .23932E-07** at limit **
  13  Prefactor     .10000E-03    3.6662       -.41368E-08** at limit **
  14  Prefactor     .10000E-03    21.088       -.34077E-07** at limit **
  15  norm          15.294        19.582        .84079E-06    .23666E-04
  16  Prefactor     .10000E-03    1.8915        .48247E-08** at limit **
  17  norm          3.0175        2.2196        .57277E-09   -.43946E-04
  18  Prefactor     7.8961        33.866       -.21749E-06   -.57361E-05
  19  Prefactor     .10000E-03    5.3519        .30056E-08** at limit **
  20  norm          .54371        3.6476        .10296E-07   -.11788E-03
  21  Prefactor     .10000E-03    24.647       -.62547E-07** at limit **
  22  Prefactor     10.314        11.075        .17710E-06   -.29410E-04
  23  norm          .10000E-03    .25744       -.61889E-07** at limit **
  24  Prefactor     20.714        13.513       -.15547E-06   -.33994E-04
  25  Normalizat    .84162        .17638        .16984E-06   -.18620E-04
  26  Prefactor     1.0286        .13914       -.20486E-06   -.40250E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.32355
  Prefactor  = 0.0001
  Prefactor  = 11.0909
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.19006
  Prefactor  = 38.3135
  norm       = 1.16154
  Prefactor  = 0.80719
  norm       = 2.24413
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 15.2938
  Prefactor  = 0.0001
  norm       = 3.01749
  Prefactor  = 7.89609
  Prefactor  = 0.0001
  norm       = 0.543712
  Prefactor  = 0.0001
  Prefactor  = 10.3141
  norm       = 0.0001
  Prefactor  = 20.7137
  Normalizat = 0.841624
  Prefactor  = 1.02858
 **********
 **   18 **HESSE 
 **********

 FCN=   7297.941     FROM HESSE     STATUS=OK           464 CALLS     3657 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3236        7.4823        .19092E-02   -1.5478    
   2  Prefactor     .10000E-03    1.7768        .11099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.091        9.5123        .12029E-03   -1.5042    
   4  norm          .10000E-03    7.1283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    15.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.1901        194.90        .37765E-03   -1.5490    
   7  Prefactor     38.314        81.598        .64998E-04   -1.4469    
   8  norm          1.1615        5.6103        .32406E-03   -1.5492    
   9  Prefactor     .80719        47.005        .42689E-02   -1.5528    
  10  norm          2.2441        .53533        .26124E-04   -1.5408    
  11  Prefactor     .10000E-03    11.741        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.7860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.7049        .15970E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    21.106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          15.294        19.555        .10240E-03   -1.4926    
  16  Prefactor     .10000E-03    1.8932        .11473E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.0175        2.2123        .94875E-04   -1.5361    
  18  Prefactor     7.8961        33.759        .14273E-03   -1.5146    
  19  Prefactor     .10000E-03    5.3785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .54371        6.7318        .26943E-02   -1.5561    
  21  Prefactor     .10000E-03    25.026        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     10.314        10.521        .12478E-03   -1.5066    
  23  norm          .10000E-03    .31897        .77135E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     20.714        13.506        .88003E-04   -1.4797    
  25  Normalizat    .84162        .20699        .27678E-03   -.98543    
  26  Prefactor     1.0286        .16610        .20746E-03   -.91783    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.17185e-08
Minuit parameter uncertainties:
  1  6.29485
  2  9.78269e-07
  3  9.51364
  4  6.7388e-06
  5  8.89696e-06
  6  30.5597
  7  81.8374
  8  5.10606
  9  12.3289
  10  0.535336
  11  1.65646e-05
  12  1.23116e-06
  13  1.84636e-06
  14  4.40078e-06
  15  19.5628
  16  6.17922e-07
  17  2.2124
  18  32.6847
  19  1.95267e-06
  20  3.82648
  21  5.29117e-05
  22  10.5226
  23  6.25838e-06
  24  13.5081
  25  0.207187
  26  0.166179
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  1.000e-04  1.231e-06  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.029e+00  1.662e-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:  8.416e-01  2.072e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 333.226 -25.433
Photon Flux Upper Limit: 5.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.26e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/219629/likelihoodResults_245808001_246067201_4FGL_J2212.9-2526_daily_bin25.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) = 7297.94147004
delta logL = -0.000612105496657

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7297.94085808
delta logL = -1.4154920791e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2552       1.0000          .0000       10.000    
     3 'Normalizat'    .84158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0286       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=   7297.941     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      196 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.8022        .90712E-02** at limit **
   2  Index         2.2553        5.9776        .50000       -.11025E-06
   3  Normalizat    .84162        .43619E-02    .44151E-01    .28978E-04
   4  Prefactor     1.0286        .35988E-02    .41373E-01    .10304E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.25528
  Normalizat = 0.841624
  Prefactor  = 1.02858
 **********
 **   18 **HESSE 
 **********

 FCN=   7297.941     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      229 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    193.75        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2553        5.8304        .50000       -.58110    
   3  Normalizat    .84162        .21032E-01    .27678E-03   -.98543    
   4  Prefactor     1.0286        .17347E-01    .20746E-03   -.91783    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.50565e-09
Minuit parameter uncertainties:
  1  2.13167e-05
  2  2864.34
  3  0.0210322
  4  0.0173467
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/219629': 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) = 7297.94085794
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  1.000e-04  2.132e-05  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.255e+00  2.864e+03  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.029e+00  1.735e-02  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:  8.416e-01  2.103e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 333.226 -25.433

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/219629/cmap_HighResolution_245808001_246067201_4FGL_J2212.9-2526_daily_bin25.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.26e-03', job_status='DONE', photon_flux_upper_limit='5.58e-08', time_completed='2021-09-28 07:10:16.969062', job_id='219629', GAL2='1.03', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1632838216.97', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='3.64e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='25' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:10:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 219629: <4FGL_J2212.9-2526_daily_bin25> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2212.9-2526_daily_bin25 333.226 -25.4335 245808001 246067201 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 :                                   723.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            892 sec.

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

