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


Performing analysis on: 4FGL_J2212.9-2526_daily_bin545
RA = 333.226, Dec = -25.4335
tmin = 380592001, tmax = 380851201
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='221481', job_status='RUN', time_executed='2021-09-28 07:02:28.678376', time_epoch_executed='1632837748.68' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='545'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/221481

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/221481/ft1_4FGL_J2212.9-2526_daily_bin545.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/221481/ft2_4FGL_J2212.9-2526_daily_bin545.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/221481/ft1_4FGL_J2212.9-2526_daily_bin545.fits outfile=/scratch/kocevski/221481/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin545.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=380592001.0 tmax=380851201.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.85
user 4.56
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/221481/ft1_filtered_4FGL_J2212.9-2526_daily_bin545.fits" evtable="EVENTS" scfile=/scratch/kocevski/221481/ft2_4FGL_J2212.9-2526_daily_bin545.fits sctable="SC_DATA" outfile=/scratch/kocevski/221481/ltcube_380592001_380851201_4FGL_J2212.9-2526_daily_bin545.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/221481/ft2_4FGL_J2212.9-2526_daily_bin545.fits
.....................!
real 12.08
user 11.25
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/221481/ft1_filtered_4FGL_J2212.9-2526_daily_bin545.fits evtable="EVENTS" scfile=/scratch/kocevski/221481/ft2_4FGL_J2212.9-2526_daily_bin545.fits sctable="SC_DATA" expcube=/scratch/kocevski/221481/ltcube_380592001_380851201_4FGL_J2212.9-2526_daily_bin545.fits outfile=/scratch/kocevski/221481/expmap_380592001_380851201_4FGL_J2212.9-2526_daily_bin545.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/221481/ltcube_380592001_380851201_4FGL_J2212.9-2526_daily_bin545.fits
.....................!
real 189.85
user 185.35
sys 4.04

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/221481/ft1_filtered_4FGL_J2212.9-2526_daily_bin545.fits scfile=/scratch/kocevski/221481/ft2_4FGL_J2212.9-2526_daily_bin545.fits outfile=/scratch/kocevski/221481/cmap_380592001_380851201_4FGL_J2212.9-2526_daily_bin545.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.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/221481/ft1_filtered_4FGL_J2212.9-2526_daily_bin545.fits scfile=/scratch/kocevski/221481/ft2_4FGL_J2212.9-2526_daily_bin545.fits outfile=/scratch/kocevski/221481/cmap_HighResolution_380592001_380851201_4FGL_J2212.9-2526_daily_bin545.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/221481/ft1_filtered_4FGL_J2212.9-2526_daily_bin545.fits evtable="EVENTS" scfile=/scratch/kocevski/221481/ft2_4FGL_J2212.9-2526_daily_bin545.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/221481/Model_4FGL_J2212.9-2526_daily_bin545.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/221481/ft1_filtered_4FGL_J2212.9-2526_daily_bin545.fits.....................!
real 45.67
user 44.27
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.798       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.6934       1.0000         .10000E-03   10000.    
     4 'norm      '    9.6172       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    65.089       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.579       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.0506       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.023       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    15.563       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10211E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11020E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .12518E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    47.934       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.2133       1.0000         .10000E-03   10000.    
    23 'norm      '    .11387E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .64773       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.4485       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=   5028.104     FROM MIGRAD    STATUS=CONVERGED    631 CALLS     3122 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.798        10.153       -.26995E-06    .55386E-04
   2  Prefactor     .10000E-03    6.3499        .48275E-07** at limit **
   3  Prefactor     5.6935        10.542        .84935E-07   -.57895E-05
   4  norm          9.6173        9.9385        .81672E-07   -.52667E-05
   5  Prefactor     .10000E-03    9.0715       -.65171E-07** at limit **
   6  Prefactor     .10000E-03    13.330       -.17541E-06** at limit **
   7  Prefactor     .10000E-03    48.719        .10102E-04** at limit **
   8  norm          65.091        10.933        .13913E-07   -.39019E-04
   9  Prefactor     11.579        18.472        .81949E-06   -.35940E-04
  10  norm          .10000E-03    .16553        .11574E-08** at limit **
  11  Prefactor     8.0517        13.859        .34087E-07    .23519E-05
  12  Prefactor     .10000E-03    13.205       -.48734E-06** at limit **
  13  Prefactor     11.028        13.446        .18688E-06    .28444E-04
  14  Prefactor     .10000E-03    20.576        .11464E-05** at limit **
  15  norm          15.557        18.959       -.20820E-07    .34537E-04
  16  Prefactor     .10000E-03    5.9989        .41468E-07** at limit **
  17  norm          .10000E-03    1.9541       -.17142E-06** at limit **
  18  Prefactor     .10000E-03    87.922       -.13046E-04** at limit **
  19  Prefactor     .10000E-03    33.545       -.40827E-05** at limit **
  20  norm          .10000E-03    11.247       -.16674E-05** at limit **
  21  Prefactor     47.832        36.875        .32238E-05    .27530E-03
  22  Prefactor     3.2413        22.652        .37001E-05    .72098E-04
  23  norm          .10000E-03    .55847       -.94406E-06** at limit **
  24  Prefactor     .10000E-03    4.4290       -.45752E-08** at limit **
  25  Normalizat    .64747        .27477       -.20861E-05    .14468E-03
  26  Prefactor     1.4487        .21359        .63912E-06    .14768E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.7977
  Prefactor  = 0.0001
  Prefactor  = 5.69347
  norm       = 9.61725
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 65.091
  Prefactor  = 11.5787
  norm       = 0.0001
  Prefactor  = 8.05168
  Prefactor  = 0.0001
  Prefactor  = 11.0277
  Prefactor  = 0.0001
  norm       = 15.5572
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.000100001
  norm       = 0.000100001
  Prefactor  = 47.8319
  Prefactor  = 3.24132
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.647466
  Prefactor  = 1.44867
 **********
 **   18 **HESSE 
 **********

 FCN=   5028.104     FROM HESSE     STATUS=OK           450 CALLS     3572 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.798        10.158        .52060E-03   -1.4938    
   2  Prefactor     .10000E-03    6.3853        .17448E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.6935        10.537        .16834E-03   -1.5231    
   4  norm          9.6173        9.9526        .12922E-03   -1.5088    
   5  Prefactor     .10000E-03    9.0771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    13.342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    47.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          65.091        10.864        .49744E-04   -1.4093    
   9  Prefactor     11.579        18.473        .58864E-03   -1.5027    
  10  norm          .10000E-03    .17401        .56025E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.0517        13.848        .14131E-03   -1.5140    
  12  Prefactor     .10000E-03    13.233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.028        13.494        .12067E-03   -1.5044    
  14  Prefactor     .10000E-03    20.566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          15.557        18.958        .10153E-03   -1.4919    
  16  Prefactor     .10000E-03    6.0066        .16961E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.9978        .96746E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    86.916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    33.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    11.768        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     47.832        36.884        .57917E-04   -1.4324    
  22  Prefactor     3.2413        23.673        .11300E-02   -1.5348    
  23  norm          .10000E-03    5.2234        .89700E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    4.4317        .14575E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .64747        .31841        .39775E-03   -1.0600    
  26  Prefactor     1.4487        .25147        .22393E-03   -.78987    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.68452e-10
Minuit parameter uncertainties:
  1  10.1588
  2  1.68744e-06
  3  10.5403
  4  9.95436
  5  2.50927e-06
  6  7.0256e-06
  7  0.000732914
  8  10.8648
  9  18.4819
  10  8.31381e-08
  11  13.8536
  12  2.34811e-05
  13  13.4975
  14  5.31154e-05
  15  18.9656
  16  5.84491e-07
  17  4.53758e-06
  18  0.00121812
  19  0.000345203
  20  0.000175201
  21  36.9021
  22  17.5287
  23  7.95005e-05
  24  8.91556e-06
  25  0.319322
  26  0.251688
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  1.000e-04  2.348e-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:  1.449e+00  2.517e-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:  6.475e-01  3.193e-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: 9.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.95e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/221481/likelihoodResults_380592001_380851201_4FGL_J2212.9-2526_daily_bin545.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) = 5028.10472876
delta logL = -0.0003594733098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5028.10436991
delta logL = -6.23676896794e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13024E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2039       1.0000          .0000       10.000    
     3 'Normalizat'    .64754       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4486       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=   5028.016     FROM MIGRAD    STATUS=CONVERGED    151 CALLS      308 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3708        19.803        .18142E-01    .30524E-03
   2  Index         1.1967        .84368        .35498       -.49376E-04
   3  Normalizat    .64893        .29885        .39776E-03    .18292E-05
   4  Prefactor     1.4434        .24423        .22393E-03    .46200E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.37081
  Index      = 1.19671
  Normalizat = 0.648928
  Prefactor  = 1.44343
 **********
 **   18 **HESSE 
 **********

 FCN=   5028.016     FROM HESSE     STATUS=OK            29 CALLS      337 TOTAL
                     EDM=   .43E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3708        15.871        .43938E-03   -1.5244    
   2  Index         1.1967        .88609        .13543E-01   -.86433    
   3  Normalizat    .64893        .29881        .15910E-04   -1.0595    
   4  Prefactor     1.4434        .24386        .89571E-05   -.79137    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.26974e-12
Minuit parameter uncertainties:
  1  15.8834
  2  0.897485
  3  0.299562
  4  0.244055
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/221481': 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) = 5028.01551098
delta logL = 0.0888583056631

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.443e+00  2.441e-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:  6.489e-01  2.996e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/221481/cmap_HighResolution_380592001_380851201_4FGL_J2212.9-2526_daily_bin545.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.95e-03', job_status='DONE', photon_flux_upper_limit='9.09e-08', time_completed='2021-09-28 07:12:38.309383', job_id='221481', GAL2='1.44', fit_tolerance='1e-08', EG2='0.65', EG='0.65', time_epoch_completed='1632838358.31', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.45', dlogl='8.89e-02', ts2='0.18', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='545' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:12:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 221481: <4FGL_J2212.9-2526_daily_bin545> in cluster <slac> Done

Job <4FGL_J2212.9-2526_daily_bin545> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Sep 28 07:00:48 2021
Job was executed on host(s) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 07:00:50 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:00:50 2021
Terminated at Tue Sep 28 07:12:39 2021
Results reported at Tue Sep 28 07:12:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2212.9-2526_daily_bin545 333.226 -25.4335 380592001 380851201 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 :                                   601.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             333.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   708 sec.
    Turnaround time :                            711 sec.

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

