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


Performing analysis on: 4FGL_J2212.9-2526_daily_bin86
RA = 333.226, Dec = -25.4335
tmin = 261619201, tmax = 261878401
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='219726', job_status='RUN', time_executed='2021-09-28 06:58:52.613246', time_epoch_executed='1632837532.61' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='86'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/219726

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/219726/ft1_4FGL_J2212.9-2526_daily_bin86.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/219726/ft2_4FGL_J2212.9-2526_daily_bin86.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/219726/ft1_4FGL_J2212.9-2526_daily_bin86.fits outfile=/scratch/kocevski/219726/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin86.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=261619201.0 tmax=261878401.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.43
user 1.25
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/219726/ft1_filtered_4FGL_J2212.9-2526_daily_bin86.fits" evtable="EVENTS" scfile=/scratch/kocevski/219726/ft2_4FGL_J2212.9-2526_daily_bin86.fits sctable="SC_DATA" outfile=/scratch/kocevski/219726/ltcube_261619201_261878401_4FGL_J2212.9-2526_daily_bin86.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/219726/ft2_4FGL_J2212.9-2526_daily_bin86.fits
.....................!
real 16.95
user 16.57
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/219726/ft1_filtered_4FGL_J2212.9-2526_daily_bin86.fits evtable="EVENTS" scfile=/scratch/kocevski/219726/ft2_4FGL_J2212.9-2526_daily_bin86.fits sctable="SC_DATA" expcube=/scratch/kocevski/219726/ltcube_261619201_261878401_4FGL_J2212.9-2526_daily_bin86.fits outfile=/scratch/kocevski/219726/expmap_261619201_261878401_4FGL_J2212.9-2526_daily_bin86.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/219726/ltcube_261619201_261878401_4FGL_J2212.9-2526_daily_bin86.fits
.....................!
real 192.58
user 186.79
sys 5.31

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/219726/ft1_filtered_4FGL_J2212.9-2526_daily_bin86.fits scfile=/scratch/kocevski/219726/ft2_4FGL_J2212.9-2526_daily_bin86.fits outfile=/scratch/kocevski/219726/cmap_261619201_261878401_4FGL_J2212.9-2526_daily_bin86.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/219726/ft1_filtered_4FGL_J2212.9-2526_daily_bin86.fits scfile=/scratch/kocevski/219726/ft2_4FGL_J2212.9-2526_daily_bin86.fits outfile=/scratch/kocevski/219726/cmap_HighResolution_261619201_261878401_4FGL_J2212.9-2526_daily_bin86.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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/219726/ft1_filtered_4FGL_J2212.9-2526_daily_bin86.fits evtable="EVENTS" scfile=/scratch/kocevski/219726/ft2_4FGL_J2212.9-2526_daily_bin86.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/219726/Model_4FGL_J2212.9-2526_daily_bin86.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/219726/ft1_filtered_4FGL_J2212.9-2526_daily_bin86.fits.....................!
real 58.48
user 56.96
sys 1.36

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .23312E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.9697       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10865E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    13.827       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.102       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12829E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    62.741       1.0000         .10000E-03   10000.    
     8 'norm      '    .10576E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.8795       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10290E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.9601       1.0000         .10000E-03   10000.    
    17 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    28.897       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10529E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .82548E-02   1.0000         .10000E-03   10000.    
    23 'norm      '    .76651       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.5831       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .75791       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=   6997.402     FROM MIGRAD    STATUS=CONVERGED   1114 CALLS     3639 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10002E-03    4.7087        .64295E-01** at limit **
   2  Prefactor     3.9704        5.8137        .20244E-03   -.40995E-05
   3  Prefactor     .10000E-03    21.130        .18142E-02** at limit **
   4  norm          13.828        10.659        .10771E-03    .12982E-04
   5  Prefactor     10.066        19.689        .12607E-03   -.13166E-04
   6  Prefactor     .10000E-03    13.046        .18142E-02** at limit **
   7  Prefactor     62.712        66.128        .50660E-04   -.53814E-04
   8  norm          .10000E-03    5.8500        .36285E-03** at limit **
   9  Prefactor     .10000E-03    7.6085        .18142E-02** at limit **
  10  norm          1.8796        .45582        .26621E-04    .25452E-03
  11  Prefactor     .10000E-03    6.8261        .36285E-03** at limit **
  12  Prefactor     .10000E-03    15.538        .18142E-02** at limit **
  13  Prefactor     .10000E-03    11.270        .36285E-03** at limit **
  14  Prefactor     .10000E-03    29.559        .18142E-02** at limit **
  15  norm          .10000E-03    5.0154        .18142E-02** at limit **
  16  Prefactor     5.9575        9.4304        .82240E-03   -.48038E-04
  17  norm          .10000E-03    .60993        .63667E-03** at limit **
  18  Prefactor     28.882        37.844        .74529E-04   -.12356E-04
  19  Prefactor     .10000E-03    4.3244        .16968E-02** at limit **
  20  norm          .10170E-03    2.8168        .39024E-01** at limit **
  21  Prefactor     .10000E-03    6.2193        .18142E-02** at limit **
  22  Prefactor     .10022E-03    62.356        .37596E-02** at limit **
  23  norm          .76733        .55027        .51067E-03    .12429E-02
  24  Prefactor     .10000E-03    12.901        .36285E-03** at limit **
  25  Normalizat    1.5839        .24651        .24756E-03    .12996E-03
  26  Prefactor     .75738        .18600        .26602E-03    .43933E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100017
  Prefactor  = 3.97039
  Prefactor  = 0.0001
  norm       = 13.8281
  Prefactor  = 10.0664
  Prefactor  = 0.0001
  Prefactor  = 62.7123
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.87958
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.9575
  norm       = 0.0001
  Prefactor  = 28.8825
  Prefactor  = 0.0001
  norm       = 0.000101701
  Prefactor  = 0.0001
  Prefactor  = 0.000100221
  norm       = 0.767328
  Prefactor  = 0.0001
  Normalizat = 1.5839
  Prefactor  = 0.757381
 **********
 **   18 **HESSE 
 **********

 FCN=   6997.402     FROM HESSE     STATUS=OK           454 CALLS     4093 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10002E-03    4.6935        .64517E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.9704        5.8136        .80977E-05   -1.5309    
   3  Prefactor     .10000E-03    21.137        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          13.828        10.659        .43086E-05   -1.4964    
   5  Prefactor     10.066        19.688        .50427E-05   -1.5073    
   6  Prefactor     .10000E-03    13.046        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     62.712        66.126        .10132E-04   -1.4122    
   8  norm          .10000E-03    5.8502        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.6093        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.8796        .45582        .10648E-05   -1.5434    
  11  Prefactor     .10000E-03    6.8265        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.546        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.271        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    29.560        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    5.0154        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.9575        9.4271        .32896E-04   -1.5220    
  17  norm          .10000E-03    .60993        .12733E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     28.882        37.847        .29812E-05   -1.4633    
  19  Prefactor     .10000E-03    4.3248        .33936E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10170E-03    2.5792        .41868E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.2197        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10022E-03    63.434        .15038E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .76733        .54600        .20427E-04   -1.5533    
  24  Prefactor     .10000E-03    12.901        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.5839        .24665        .49511E-04   -.75447    
  26  Prefactor     .75738        .18615        .10641E-04   -1.0132    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.12759e-09
Minuit parameter uncertainties:
  1  0.000563585
  2  5.81441
  3  0.000126971
  4  10.6601
  5  19.701
  6  7.59641e-05
  7  66.2039
  8  4.35424e-05
  9  1.00805e-05
  10  0.455816
  11  3.34854e-06
  12  4.48283e-05
  13  7.44608e-06
  14  0.000125939
  15  1.66339e-06
  16  9.42948
  17  3.29865e-06
  18  37.8786
  19  1.6349e-07
  20  0.00418875
  21  3.30436e-05
  22  0.00749514
  23  0.546002
  24  1.76988e-05
  25  0.246842
  26  0.186303
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  1.000e-04  4.483e-05  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:  7.574e-01  1.863e-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.584e+00  2.468e-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: 6.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/219726/likelihoodResults_261619201_261878401_4FGL_J2212.9-2526_daily_bin86.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): 102
logL (Free Index) = 6997.40234424
delta logL = -0.000306711935082

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6997.4020379
delta logL = -3.65726918972e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1514       1.0000          .0000       10.000    
     3 'Normalizat'    1.5839       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75739       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=   6997.402     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      277 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6175.6        .18142E-02** at limit **
   2  Index         2.1753        6.0656        .50000       -.14115E-04
   3  Normalizat    1.5839        .94669E-01    .24756E-03   -.18829E-05
   4  Prefactor     .75738        .73920E-01    .26602E-03   -.56412E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 2.17527
  Normalizat = 1.58389
  Prefactor  = 0.757382
 **********
 **   18 **HESSE 
 **********

 FCN=   6997.402     FROM HESSE     STATUS=OK            29 CALLS      306 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.445        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1753        6.0743        .50000       -.60037    
   3  Normalizat    1.5839        .23201        .99022E-05   -.75447    
   4  Prefactor     .75738        .18118        .10641E-04   -1.0132    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.92927e-10
Minuit parameter uncertainties:
  1  0.000436262
  2  4.43009
  3  0.232164
  4  0.181324
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/219726': 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) = 6997.4020378
delta logL = -2.69121301244e-07

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  1.000e-04  4.363e-04  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.175e+00  4.430e+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.574e-01  1.813e-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.584e+00  2.322e-01  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/219726/cmap_HighResolution_261619201_261878401_4FGL_J2212.9-2526_daily_bin86.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.97e-03', job_status='DONE', photon_flux_upper_limit='6.50e-08', time_completed='2021-09-28 07:11:45.331546', job_id='219726', GAL2='0.76', fit_tolerance='1e-08', EG2='1.58', EG='1.58', time_epoch_completed='1632838305.33', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='-2.69e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='86' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:11:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 219726: <4FGL_J2212.9-2526_daily_bin86> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2212.9-2526_daily_bin86 333.226 -25.4335 261619201 261878401 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 :                                   771.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             270.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   970 sec.
    Turnaround time :                            973 sec.

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

