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


Performing analysis on: 4FGL_J2212.9-2526_daily_bin701
RA = 333.226, Dec = -25.4335
tmin = 421027201, tmax = 421286401
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='222745', job_status='RUN', time_executed='2021-09-28 07:07:05.565471', time_epoch_executed='1632838025.57' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='701'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/222745

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/222745/ft1_4FGL_J2212.9-2526_daily_bin701.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/222745/ft2_4FGL_J2212.9-2526_daily_bin701.fits


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

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

Done.
real 3.74
user 3.52
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/222745/ft1_filtered_4FGL_J2212.9-2526_daily_bin701.fits" evtable="EVENTS" scfile=/scratch/kocevski/222745/ft2_4FGL_J2212.9-2526_daily_bin701.fits sctable="SC_DATA" outfile=/scratch/kocevski/222745/ltcube_421027201_421286401_4FGL_J2212.9-2526_daily_bin701.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/222745/ft2_4FGL_J2212.9-2526_daily_bin701.fits
.....................!
real 15.28
user 14.90
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/222745/ft1_filtered_4FGL_J2212.9-2526_daily_bin701.fits evtable="EVENTS" scfile=/scratch/kocevski/222745/ft2_4FGL_J2212.9-2526_daily_bin701.fits sctable="SC_DATA" expcube=/scratch/kocevski/222745/ltcube_421027201_421286401_4FGL_J2212.9-2526_daily_bin701.fits outfile=/scratch/kocevski/222745/expmap_421027201_421286401_4FGL_J2212.9-2526_daily_bin701.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/222745/ltcube_421027201_421286401_4FGL_J2212.9-2526_daily_bin701.fits
.....................!
real 192.17
user 186.70
sys 5.11

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/222745/ft1_filtered_4FGL_J2212.9-2526_daily_bin701.fits scfile=/scratch/kocevski/222745/ft2_4FGL_J2212.9-2526_daily_bin701.fits outfile=/scratch/kocevski/222745/cmap_421027201_421286401_4FGL_J2212.9-2526_daily_bin701.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/222745/ft1_filtered_4FGL_J2212.9-2526_daily_bin701.fits scfile=/scratch/kocevski/222745/ft2_4FGL_J2212.9-2526_daily_bin701.fits outfile=/scratch/kocevski/222745/cmap_HighResolution_421027201_421286401_4FGL_J2212.9-2526_daily_bin701.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/222745/ft1_filtered_4FGL_J2212.9-2526_daily_bin701.fits evtable="EVENTS" scfile=/scratch/kocevski/222745/ft2_4FGL_J2212.9-2526_daily_bin701.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/222745/Model_4FGL_J2212.9-2526_daily_bin701.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/222745/ft1_filtered_4FGL_J2212.9-2526_daily_bin701.fits.....................!
real 58.82
user 57.46
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10309E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.3847       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .13501E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    36.380       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    17.717       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.4529       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.1055       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.9526       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10282E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    84.971       1.0000         .10000E-03   10000.    
    15 'norm      '    3.2313       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.3321       1.0000         .10000E-03   10000.    
    17 'norm      '    1.5466       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.6575       1.0000         .10000E-03   10000.    
    20 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .32162       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .82949E-02   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .98120       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .86268       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=   7173.379     FROM MIGRAD    STATUS=CONVERGED    620 CALLS     2691 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.7619        .48723E-06** at limit **
   2  Prefactor     3.3852        5.7856        .46776E-06    .11350E-04
   3  Prefactor     .10000E-03    2.9085        .25037E-07** at limit **
   4  norm          .10000E-03    4.0557        .97258E-07** at limit **
   5  Prefactor     36.376        18.538        .35432E-06   -.92827E-05
   6  Prefactor     .10000E-03    3.7279        .25737E-06** at limit **
   7  Prefactor     .10000E-03    9.6831       -.34396E-06** at limit **
   8  norm          17.716        5.3263        .80619E-07   -.13142E-03
   9  Prefactor     .10000E-03    3.5758       -.75194E-07** at limit **
  10  norm          2.4528        .49561        .84088E-08   -.31591E-03
  11  Prefactor     3.1052        6.1794        .31613E-06   -.13519E-04
  12  Prefactor     1.9489        51.526        .12018E-05   -.13682E-04
  13  Prefactor     .10000E-03    5.6185        .63626E-06** at limit **
  14  Prefactor     84.938        50.717        .36168E-05   -.53406E-05
  15  norm          3.1935        44.068        .68229E-05   -.11944E-04
  16  Prefactor     3.3287        7.5751        .28765E-05    .15695E-04
  17  norm          1.5458        1.5533       -.16873E-06   -.42315E-03
  18  Prefactor     .10000E-03    27.640        .26192E-06** at limit **
  19  Prefactor     2.6571        6.4824        .43736E-05    .12303E-03
  20  norm          .10000E-03    1.6740       -.60872E-07** at limit **
  21  Prefactor     .10000E-03    3.8494       -.19581E-06** at limit **
  22  Prefactor     .10000E-03    6.0135       -.55050E-06** at limit **
  23  norm          .32265        .47357        .89731E-07   -.95432E-03
  24  Prefactor     .10022E-03    6.0314        .19223E-05** at limit **
  25  Normalizat    .98146        .17833       -.83655E-06   -.21857E-03
  26  Prefactor     .86249        .13760       -.10240E-05   -.33884E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 3.38518
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 36.3759
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 17.7158
  Prefactor  = 0.0001
  norm       = 2.45283
  Prefactor  = 3.10516
  Prefactor  = 1.94893
  Prefactor  = 0.0001
  Prefactor  = 84.9377
  norm       = 3.19347
  Prefactor  = 3.32872
  norm       = 1.54576
  Prefactor  = 0.0001
  Prefactor  = 2.65707
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.322653
  Prefactor  = 0.000100219
  Normalizat = 0.98146
  Prefactor  = 0.862491
 **********
 **   18 **HESSE 
 **********

 FCN=   7173.379     FROM HESSE     STATUS=OK           462 CALLS     3153 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.0348        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.3852        5.7805        .21993E-03   -1.5340    
   3  Prefactor     .10000E-03    2.9119        .14106E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    20.513        .32992E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     36.376        18.537        .66445E-04   -1.4501    
   6  Prefactor     .10000E-03    3.7296        .15971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.6841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          17.716        5.3353        .95153E-04   -1.4866    
   9  Prefactor     .10000E-03    3.5780        .15641E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.4528        .49719        .24914E-04   -1.5395    
  11  Prefactor     3.1052        6.1486        .23011E-03   -1.5356    
  12  Prefactor     1.9489        51.161        .29695E-03   -1.5429    
  13  Prefactor     .10000E-03    5.6881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     84.938        50.720        .21790E-03   -1.3862    
  15  norm          3.1935        44.353        .22534E-03   -1.5351    
  16  Prefactor     3.3287        7.5883        .11087E-02   -1.5343    
  17  norm          1.5458        1.5534        .10197E-03   -1.5459    
  18  Prefactor     .10000E-03    27.698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.6571        6.4960        .12502E-02   -1.5382    
  20  norm          .10000E-03    1.6898        .10694E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.8519        .16223E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    6.0741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .32265        .40184        .62113E-03   -1.5594    
  24  Prefactor     .10022E-03    43.281        .34976E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .98146        .20981        .26081E-03   -.93654    
  26  Prefactor     .86249        .16267        .22338E-03   -.97464    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.07903e-09
Minuit parameter uncertainties:
  1  6.61592e-06
  2  5.78149
  3  3.22522e-06
  4  0.000196235
  5  18.5399
  6  1.19803e-06
  7  2.90165e-06
  8  5.33548
  9  7.70094e-07
  10  0.497194
  11  6.14986
  12  19.9895
  13  1.82976e-05
  14  50.7459
  15  23.8237
  16  7.59046
  17  1.55345
  18  0.000110246
  19  6.49775
  20  5.35229e-06
  21  4.40724e-06
  22  2.78502e-05
  23  0.401844
  24  0.00616468
  25  0.209985
  26  0.162757
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  1.949e+00  1.999e+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.625e-01  1.628e-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:  9.815e-01  2.100e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/222745/likelihoodResults_421027201_421286401_4FGL_J2212.9-2526_daily_bin701.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) = 7172.76138393
delta logL = 0.617958606897

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7172.69928855
delta logL = 0.680053985016

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17915       1.0000         .10000E-03   10000.    
     2 'Index     '    4.8554       1.0000          .0000       10.000    
     3 'Normalizat'    .89926       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90588       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=   7172.699     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      254 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17853        2.3719        .69553E-02    .20049E-02
   2  Index         4.8571        2.4978        .10432        .17139E-03
   3  Normalizat    .89931        .36236E-01    .44892E-01   -.85870E-05
   4  Prefactor     .90583        .29460E-01    .45080E-01   -.10929E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.178533
  Index      = 4.85705
  Normalizat = 0.89931
  Prefactor  = 0.905833
 **********
 **   18 **HESSE 
 **********

 FCN=   7172.699     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      289 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17853        6.8915        .31775E-03   -1.5623    
   2  Index         4.8571        7.2128        .53985E-02   -.28594E-01
   3  Normalizat    .89931        .14074        .27109E-03   -.96484    
   4  Prefactor     .90583        .11186        .21853E-03   -.95938    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.26533e-07
Minuit parameter uncertainties:
  1  2.21809
  2  5.61613
  3  0.1408
  4  0.111889
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/222745': 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) = 7172.69928828
delta logL = 0.680054251802

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  1.785e-01  2.218e+00  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  4.857e+00  5.616e+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:  9.058e-01  1.119e-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.993e-01  1.408e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.51
Ra Dec: 333.226 -25.433
Photon Index (Free Index): 4.86 +/- 5.62
Photon Flux (Free Index): 5.90e-08 +/- 5.26e-08
Energy Flux (Free Index): 7.94e-06 +/- 9.14e-06

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/222745/cmap_HighResolution_421027201_421286401_4FGL_J2212.9-2526_daily_bin701.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.58e-03', comment='SUCCESS', energy_flux2='7.94e-06', dlogl='6.80e-01', photon_flux2='5.90e-08', job_status='DONE', time_completed='2021-09-28 07:19:06.117352', photon_index_error2='5.62', photon_index2='4.86', ts='0.01', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='8.60e-08', energy_flux_error2='9.14e-06', EG='0.98', time_epoch_completed='1632838746.12', return_code='0', job_id='222745', GAL2='0.91', EG2='0.90', return_code2='102', photon_flux_error2='5.26e-08', ts2='1.51', photon_index='2.26' WHERE bin_id='701' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:19:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 222745: <4FGL_J2212.9-2526_daily_bin701> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2212.9-2526_daily_bin701 333.226 -25.4335 421027201 421286401 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 :                                   714.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            821 sec.

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

