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


Performing analysis on: 4FGL_J2212.9-2526_daily_bin1162
RA = 333.226, Dec = -25.4335
tmin = 540518401, tmax = 540777601
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='224519', job_status='RUN', time_executed='2021-09-28 07:13:56.463968', time_epoch_executed='1632838436.46' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='1162'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/224519

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/224519/ft1_4FGL_J2212.9-2526_daily_bin1162.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/224519/ft2_4FGL_J2212.9-2526_daily_bin1162.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/224519/ft1_4FGL_J2212.9-2526_daily_bin1162.fits outfile=/scratch/kocevski/224519/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin1162.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=540518401.0 tmax=540777601.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.76
user 3.50
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/224519/ft1_filtered_4FGL_J2212.9-2526_daily_bin1162.fits" evtable="EVENTS" scfile=/scratch/kocevski/224519/ft2_4FGL_J2212.9-2526_daily_bin1162.fits sctable="SC_DATA" outfile=/scratch/kocevski/224519/ltcube_540518401_540777601_4FGL_J2212.9-2526_daily_bin1162.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/224519/ft2_4FGL_J2212.9-2526_daily_bin1162.fits
.....................!
real 11.79
user 11.44
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/224519/ft1_filtered_4FGL_J2212.9-2526_daily_bin1162.fits evtable="EVENTS" scfile=/scratch/kocevski/224519/ft2_4FGL_J2212.9-2526_daily_bin1162.fits sctable="SC_DATA" expcube=/scratch/kocevski/224519/ltcube_540518401_540777601_4FGL_J2212.9-2526_daily_bin1162.fits outfile=/scratch/kocevski/224519/expmap_540518401_540777601_4FGL_J2212.9-2526_daily_bin1162.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/224519/ltcube_540518401_540777601_4FGL_J2212.9-2526_daily_bin1162.fits
.....................!
real 193.74
user 188.17
sys 5.18

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/224519/ft1_filtered_4FGL_J2212.9-2526_daily_bin1162.fits scfile=/scratch/kocevski/224519/ft2_4FGL_J2212.9-2526_daily_bin1162.fits outfile=/scratch/kocevski/224519/cmap_540518401_540777601_4FGL_J2212.9-2526_daily_bin1162.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/224519/ft1_filtered_4FGL_J2212.9-2526_daily_bin1162.fits scfile=/scratch/kocevski/224519/ft2_4FGL_J2212.9-2526_daily_bin1162.fits outfile=/scratch/kocevski/224519/cmap_HighResolution_540518401_540777601_4FGL_J2212.9-2526_daily_bin1162.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10348E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.2146       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .35983E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.7229       1.0000         .10000E-03   10000.    
     7 'Prefactor '    38.727       1.0000         .10000E-03   10000.    
     8 'norm      '    1.3969       1.0000         .10000E-03   10000.    
     9 'Prefactor '    29.043       1.0000         .10000E-03   10000.    
    10 'norm      '    1.0229       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .38940E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.6791       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    44.884       1.0000         .10000E-03   10000.    
    15 'norm      '    .17222E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .44453       1.0000         .10000E-03   10000.    
    17 'norm      '    2.6695       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .21328       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .17637E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    22.168       1.0000         .10000E-03   10000.    
    23 'norm      '    1.5644       1.0000         .10000E-03   10000.    
    24 'Prefactor '    13.413       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1118       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1955       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5774.953     FROM MIGRAD    STATUS=CONVERGED    218 CALLS     2366 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.0401        .10470E-05** at limit **
   2  Prefactor     .10000E-03    3.1263       -.38636E-05** at limit **
   3  Prefactor     5.8867        14.667        .18605E-07    .25222E-05
   4  norm          .10000E-03    4.6183        .57244E-06** at limit **
   5  Prefactor     .10000E-03    28.319       -.14407E-04** at limit **
   6  Prefactor     11.873        53.079       -.10369E-04    .13379E-04
   7  Prefactor     31.182        105.96        .87774E-05    .55459E-05
   8  norm          1.3917        4.1987        .49950E-05    .13903E-04
   9  Prefactor     29.137        30.373        .77118E-05    .18468E-05
  10  norm          1.0223        .45558       -.24083E-06   -.20701E-03
  11  Prefactor     .10000E-03    14.007       -.37384E-05** at limit **
  12  Prefactor     7.3540        22.975       -.35247E-06   -.37854E-05
  13  Prefactor     .10000E-03    3.7700       -.37818E-06** at limit **
  14  Prefactor     46.902        65.635       -.13333E-04    .22966E-04
  15  norm          .10000E-03    7.0060        .17609E-05** at limit **
  16  Prefactor     .83569        107.45        .31991E-04    .68972E-05
  17  norm          2.6668        2.2327        .14709E-06    .82648E-05
  18  Prefactor     .10000E-03    61.436        .63033E-05** at limit **
  19  Prefactor     .10000E-03    7.8419       -.23703E-05** at limit **
  20  norm          .10000E-03    2.0027       -.20372E-06** at limit **
  21  Prefactor     .10000E-03    8.5350       -.57591E-05** at limit **
  22  Prefactor     22.398        17.263        .23061E-05    .28743E-04
  23  norm          1.5662        1.0796       -.10620E-06   -.21053E-04
  24  Prefactor     12.811        16.397       -.37609E-05    .20037E-04
  25  Normalizat    1.1136        .29605       -.34314E-05    .14702E-06
  26  Prefactor     1.1942        .22632        .41355E-05   -.48779E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.88666
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.8725
  Prefactor  = 31.1819
  norm       = 1.39171
  Prefactor  = 29.1369
  norm       = 1.02225
  Prefactor  = 0.0001
  Prefactor  = 7.35403
  Prefactor  = 0.0001
  Prefactor  = 46.9018
  norm       = 0.0001
  Prefactor  = 0.83569
  norm       = 2.66676
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.3984
  norm       = 1.56621
  Prefactor  = 12.8112
  Normalizat = 1.11361
  Prefactor  = 1.19424
 **********
 **   18 **HESSE 
 **********

 FCN=   5774.953     FROM HESSE     STATUS=OK           514 CALLS     2880 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.0007        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.1169        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.8867        14.660        .40258E-02   -1.5223    
   4  norm          .10000E-03    4.5734        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    28.069        .98113E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.873        57.063        .33930E-02   -1.5019    
   7  Prefactor     31.182        109.44        .16102E-02   -1.4591    
   8  norm          1.3917        4.2728        .91829E-02   -1.5472    
   9  Prefactor     29.137        30.375        .18586E-02   -1.4628    
  10  norm          1.0223        .45804        .70403E-02   -1.5506    
  11  Prefactor     .10000E-03    13.802        .97638E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.3540        22.894        .36178E-02   -1.5166    
  13  Prefactor     .10000E-03    3.7481        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     46.902        65.832        .14961E-02   -1.4337    
  15  norm          .10000E-03    7.0045        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .83569        15.318        .11042       -1.5525    
  17  norm          2.6668        2.2347        .62360E-02   -1.5381    
  18  Prefactor     .10000E-03    61.387        .10038E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.7846        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.9887        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    8.5218        .10169E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     22.398        16.944        .21268E-02   -1.4761    
  23  norm          1.5662        1.0653        .85020E-02   -1.5458    
  24  Prefactor     12.811        16.421        .27342E-02   -1.4992    
  25  Normalizat    1.1136        .24268        .68733E-01   -.89316    
  26  Prefactor     1.1942        .18369        .53019E-01   -.86509    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.82073e-09
Minuit parameter uncertainties:
  1  4.79038e-07
  2  5.06329e-06
  3  14.6691
  4  3.35791e-08
  5  3.02395e-05
  6  52.1376
  7  110.159
  8  4.27376
  9  30.3912
  10  0.45804
  11  8.30711e-06
  12  22.921
  13  1.11112e-06
  14  65.9348
  15  6.65824e-07
  16  7.1574
  17  2.23474
  18  0.000306681
  19  1.13277e-06
  20  4.15563e-07
  21  3.27763e-06
  22  16.9481
  23  1.06534
  24  16.4268
  25  0.242924
  26  0.183786
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  7.354e+00  2.292e+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:  1.194e+00  1.838e-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.114e+00  2.429e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.12
Ra Dec: 333.226 -25.433
Photon Flux Upper Limit: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/224519/likelihoodResults_540518401_540777601_4FGL_J2212.9-2526_daily_bin1162.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) = 5774.88207931
delta logL = 0.0705901965675

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5774.73390579
delta logL = 0.218763721403

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .69989E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    6.1810       1.0000          .0000       10.000    
     3 'Normalizat'    1.0640       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2267       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=   5774.734     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      289 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .69501E-02    .19466        .20990E-02    .48567E-02
   2  Index         6.1840        3.0721        .13383        .78312E-04
   3  Normalizat    1.0640        .40319E-01    .70135E-01   -.38650E-04
   4  Prefactor     1.2267        .32171E-01    .52419E-01   -.38759E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00695009
  Index      = 6.184
  Normalizat = 1.06401
  Prefactor  = 1.22669
 **********
 **   18 **HESSE 
 **********

 FCN=   5774.734     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      324 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .69501E-02    .76370        .98100E-04   -1.5691    
   2  Index         6.1840        8.0834        .76119E-02    .23907    
   3  Normalizat    1.0640        .17263        .31032E-03   -.90916    
   4  Prefactor     1.2267        .13604        .23176E-03   -.85514    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.36329e-10
Minuit parameter uncertainties:
  1  0.144659
  2  9.19548
  3  0.172718
  4  0.136075
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/224519': 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) = 5774.73390561
delta logL = 0.218763904571

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  6.950e-03  1.447e-01  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  6.184e+00  9.195e+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:  1.227e+00  1.361e-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.064e+00  1.727e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
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/224519/cmap_HighResolution_540518401_540777601_4FGL_J2212.9-2526_daily_bin1162.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.09e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2021-09-28 07:27:12.785225', job_id='224519', GAL2='1.23', fit_tolerance='1e-08', EG2='1.06', EG='1.11', time_epoch_completed='1632839232.79', return_code2='102', ts='0.12', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='2.19e-01', ts2='0.60', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='1162' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:27:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 224519: <4FGL_J2212.9-2526_daily_bin1162> in cluster <slac> Done

Job <4FGL_J2212.9-2526_daily_bin1162> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 07:11:00 2021
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 07:11:02 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:11:02 2021
Terminated at Tue Sep 28 07:27:13 2021
Results reported at Tue Sep 28 07:27:13 2021

Your job looked like:

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

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

