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


Performing analysis on: 4FGL_J2212.9-2526_daily_bin54
RA = 333.226, Dec = -25.4335
tmin = 253324801, tmax = 253584001
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='219676', job_status='RUN', time_executed='2021-09-28 06:57:55.611497', time_epoch_executed='1632837475.61' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='54'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/219676

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/219676/ft1_4FGL_J2212.9-2526_daily_bin54.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/219676/ft2_4FGL_J2212.9-2526_daily_bin54.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/219676/ft1_4FGL_J2212.9-2526_daily_bin54.fits outfile=/scratch/kocevski/219676/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin54.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=253324801.0 tmax=253584001.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.42
user 1.24
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/219676/ft1_filtered_4FGL_J2212.9-2526_daily_bin54.fits" evtable="EVENTS" scfile=/scratch/kocevski/219676/ft2_4FGL_J2212.9-2526_daily_bin54.fits sctable="SC_DATA" outfile=/scratch/kocevski/219676/ltcube_253324801_253584001_4FGL_J2212.9-2526_daily_bin54.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/219676/ft2_4FGL_J2212.9-2526_daily_bin54.fits
.....................!
real 12.56
user 12.21
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/219676/ft1_filtered_4FGL_J2212.9-2526_daily_bin54.fits evtable="EVENTS" scfile=/scratch/kocevski/219676/ft2_4FGL_J2212.9-2526_daily_bin54.fits sctable="SC_DATA" expcube=/scratch/kocevski/219676/ltcube_253324801_253584001_4FGL_J2212.9-2526_daily_bin54.fits outfile=/scratch/kocevski/219676/expmap_253324801_253584001_4FGL_J2212.9-2526_daily_bin54.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/219676/ltcube_253324801_253584001_4FGL_J2212.9-2526_daily_bin54.fits
.....................!
real 189.91
user 185.36
sys 4.02

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/219676/ft1_filtered_4FGL_J2212.9-2526_daily_bin54.fits scfile=/scratch/kocevski/219676/ft2_4FGL_J2212.9-2526_daily_bin54.fits outfile=/scratch/kocevski/219676/cmap_253324801_253584001_4FGL_J2212.9-2526_daily_bin54.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/219676/ft1_filtered_4FGL_J2212.9-2526_daily_bin54.fits scfile=/scratch/kocevski/219676/ft2_4FGL_J2212.9-2526_daily_bin54.fits outfile=/scratch/kocevski/219676/cmap_HighResolution_253324801_253584001_4FGL_J2212.9-2526_daily_bin54.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.55
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/219676/ft1_filtered_4FGL_J2212.9-2526_daily_bin54.fits evtable="EVENTS" scfile=/scratch/kocevski/219676/ft2_4FGL_J2212.9-2526_daily_bin54.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/219676/Model_4FGL_J2212.9-2526_daily_bin54.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/219676/ft1_filtered_4FGL_J2212.9-2526_daily_bin54.fits.....................!
real 61.84
user 60.34
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10646E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .66287E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.2550       1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.506       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.9585       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .17856E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    .57125       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.2820       1.0000         .10000E-03   10000.    
    10 'norm      '    3.2496       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.1593       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.6537       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13733E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.933       1.0000         .10000E-03   10000.    
    15 'norm      '    10.604       1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.525       1.0000         .10000E-03   10000.    
    17 'norm      '    1.2993       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .34963E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .19368E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10090E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.9977       1.0000         .10000E-03   10000.    
    22 'Prefactor '    14.706       1.0000         .10000E-03   10000.    
    23 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .21707E-02   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1513       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .87733       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=   7889.990     FROM MIGRAD    STATUS=CONVERGED    655 CALLS     2727 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.8029       -.34662E-08** at limit **
   2  Prefactor     .10000E-03    9.1755        .49005E-06** at limit **
   3  Prefactor     .10000E-03    3.4351       -.50985E-08** at limit **
   4  norm          6.3162        6.5744        .38127E-07   -.11045E-03
   5  Prefactor     18.418        18.553        .51695E-06    .23153E-03
   6  Prefactor     9.9384        9.5348       -.18090E-06   -.15264E-03
   7  Prefactor     .10000E-03    15.722       -.77486E-07** at limit **
   8  norm          .59336        2.3629        .39512E-06   -.45904E-03
   9  Prefactor     2.2850        15.958        .55199E-06   -.10503E-03
  10  norm          3.2489        .54246       -.14430E-07   -.27415E-03
  11  Prefactor     5.2233        7.2175        .37949E-06    .19557E-03
  12  Prefactor     6.5991        13.112        .68836E-06    .17987E-03
  13  Prefactor     .10000E-03    9.0663       -.45990E-06** at limit **
  14  Prefactor     20.072        35.883        .12626E-06   -.79015E-05
  15  norm          10.570        11.599        .22934E-06    .17738E-03
  16  Prefactor     10.596        11.043        .23784E-06    .36519E-04
  17  norm          1.3005        1.2368       -.23235E-07    .90847E-04
  18  Prefactor     .10000E-03    18.725        .58744E-06** at limit **
  19  Prefactor     .10000E-03    24.511       -.55034E-06** at limit **
  20  norm          .10000E-03    1.4104       -.11817E-06** at limit **
  21  Prefactor     5.8571        13.800       -.14849E-05   -.68247E-04
  22  Prefactor     14.765        9.3862        .19512E-05   -.26641E-03
  23  norm          .10000E-03    .34951       -.42372E-06** at limit **
  24  Prefactor     .10012E-03    5.2368       -.41838E-06** at limit **
  25  Normalizat    1.1506        .18062       -.10336E-05    .12137E-03
  26  Prefactor     .87740        .13816        .48418E-06   -.96411E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.31625
  Prefactor  = 18.4181
  Prefactor  = 9.93841
  Prefactor  = 0.0001
  norm       = 0.593357
  Prefactor  = 2.28501
  norm       = 3.2489
  Prefactor  = 5.22327
  Prefactor  = 6.59909
  Prefactor  = 0.0001
  Prefactor  = 20.0725
  norm       = 10.5699
  Prefactor  = 10.5962
  norm       = 1.30055
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.85706
  Prefactor  = 14.7655
  norm       = 0.0001
  Prefactor  = 0.000100122
  Normalizat = 1.15058
  Prefactor  = 0.877396
 **********
 **   18 **HESSE 
 **********

 FCN=   7889.990     FROM HESSE     STATUS=OK           466 CALLS     3193 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.8036        .11648E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.4997        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.4405        .16077E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.3162        6.5690        .16050E-03   -1.5205    
   5  Prefactor     18.418        18.643        .93104E-04   -1.4849    
   6  Prefactor     9.9384        9.5355        .12698E-03   -1.5077    
   7  Prefactor     .10000E-03    15.738        .20328E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .59336        4.2549        .24552E-02   -1.5554    
   9  Prefactor     2.2850        16.023        .27179E-03   -1.5406    
  10  norm          3.2489        .54043        .24526E-04   -1.5347    
  11  Prefactor     5.2233        7.2000        .17699E-03   -1.5251    
  12  Prefactor     6.5991        13.126        .15557E-03   -1.5194    
  13  Prefactor     .10000E-03    9.3723        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     20.072        35.880        .92048E-04   -1.4812    
  15  norm          10.570        11.627        .12304E-03   -1.5058    
  16  Prefactor     10.596        11.074        .12350E-03   -1.5057    
  17  norm          1.3005        1.2611        .93493E-04   -1.5480    
  18  Prefactor     .10000E-03    18.862        .21324E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    25.543        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.4236        .10298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.8571        13.501        .16395E-03   -1.5224    
  22  Prefactor     14.765        9.5717        .52223E-03   -1.4939    
  23  norm          .10000E-03    1.3305        .93385E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10012E-03    32.744        .37389E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1506        .21381        .26049E-03   -.88144    
  26  Prefactor     .87740        .16548        .23581E-03   -.96935    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41995e-09
Minuit parameter uncertainties:
  1  4.39535e-07
  2  0.000115853
  3  1.13006e-06
  4  6.56979
  5  18.6488
  6  9.53696
  7  1.1903e-05
  8  3.17789
  9  12.1061
  10  0.540429
  11  7.20117
  12  13.1318
  13  4.9497e-05
  14  35.9184
  15  11.629
  16  11.0762
  17  1.26108
  18  0.000242115
  19  8.30056e-05
  20  1.7485e-07
  21  13.5076
  22  9.57267
  23  1.40216e-05
  24  0.00400304
  25  0.21397
  26  0.165579
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  6.599e+00  1.313e+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.774e-01  1.656e-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.151e+00  2.140e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/219676/likelihoodResults_253324801_253584001_4FGL_J2212.9-2526_daily_bin54.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) = 7889.98309933
delta logL = 0.00647134183782

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7889.98112929
delta logL = 0.00844137904733

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7589       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4081       1.0000          .0000       10.000    
     3 'Normalizat'    1.1482       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87877       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=   7889.981     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      239 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7559        15.152        .16737E-03    .90138E-04
   2  Index         2.4091        1.3395        .12693E-01    .26579E-04
   3  Normalizat    1.1484        .20159        .26071E-03   -.95824E-03
   4  Prefactor     .87859        .16178        .23566E-03   -.10782E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.75592
  Index      = 2.40914
  Normalizat = 1.14837
  Prefactor  = 0.878591
 **********
 **   18 **HESSE 
 **********

 FCN=   7889.981     FROM HESSE     STATUS=OK            25 CALLS      264 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7559        13.686        .66947E-05   -1.5228    
   2  Index         2.4091        1.2136        .50771E-03   -.54471    
   3  Normalizat    1.1484        .20167        .52142E-04   -.88213    
   4  Prefactor     .87859        .16180        .47132E-04   -.96893    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.96078e-10
Minuit parameter uncertainties:
  1  13.6934
  2  1.23048
  3  0.201807
  4  0.161887
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/219676': 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) = 7889.98112812
delta logL = 0.00844254651201

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  5.756e+00  1.369e+01  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.409e+00  1.230e+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:  8.786e-01  1.619e-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.148e+00  2.018e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.32
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/219676/cmap_HighResolution_253324801_253584001_4FGL_J2212.9-2526_daily_bin54.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.67e-03', job_status='DONE', photon_flux_upper_limit='7.41e-08', time_completed='2021-09-28 07:10:08.703149', job_id='219676', GAL2='0.88', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1632838208.7', return_code2='0', ts='0.32', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='8.44e-03', ts2='0.33', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='54' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:10:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 219676: <4FGL_J2212.9-2526_daily_bin54> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2212.9-2526_daily_bin54 333.226 -25.4335 253324801 253584001 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 :                                   730.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            881 sec.

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

