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


Performing analysis on: 4FGL_J0126.8+2412_daily_bin723
RA = 21.7036, Dec = 24.21
tmin = 426729601, tmax = 426988801
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='575551', job_status='RUN', time_executed='2021-08-14 00:49:33.229094', time_epoch_executed='1628927373.23' WHERE source_name='4FGL J0126.8+2412' and cadence='daily' and bin_id='723'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/575551

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/575551/ft1_4FGL_J0126.8+2412_daily_bin723.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/575551/ft2_4FGL_J0126.8+2412_daily_bin723.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/575551/ft1_4FGL_J0126.8+2412_daily_bin723.fits outfile=/scratch/kocevski/575551/ft1_filteredMKT_4FGL_J0126.8+2412_daily_bin723.fits ra=21.7036 dec=24.21 rad=12.0 tmin=426729601.0 tmax=426988801.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 6.29
user 5.26
sys 0.92

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/575551/ft2_4FGL_J0126.8+2412_daily_bin723.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/575551/ft2_4FGL_J0126.8+2412_daily_bin723.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/575551/ft1_filteredMKT_4FGL_J0126.8+2412_daily_bin723.fits evtable="EVENTS" outfile="/scratch/kocevski/575551/ft1_filtered_4FGL_J0126.8+2412_daily_bin723.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 1.25
user 0.35
sys 0.81

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/575551/ft1_filtered_4FGL_J0126.8+2412_daily_bin723.fits" evtable="EVENTS" scfile=/scratch/kocevski/575551/ft2_4FGL_J0126.8+2412_daily_bin723.fits sctable="SC_DATA" outfile=/scratch/kocevski/575551/ltcube_426729601_426988801_4FGL_J0126.8+2412_daily_bin723.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/575551/ft2_4FGL_J0126.8+2412_daily_bin723.fits
.....................!
real 15.03
user 13.79
sys 1.08

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/575551/ft1_filtered_4FGL_J0126.8+2412_daily_bin723.fits evtable="EVENTS" scfile=/scratch/kocevski/575551/ft2_4FGL_J0126.8+2412_daily_bin723.fits sctable="SC_DATA" expcube=/scratch/kocevski/575551/ltcube_426729601_426988801_4FGL_J0126.8+2412_daily_bin723.fits outfile=/scratch/kocevski/575551/expmap_426729601_426988801_4FGL_J0126.8+2412_daily_bin723.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/575551/ltcube_426729601_426988801_4FGL_J0126.8+2412_daily_bin723.fits
.....................!
real 195.79
user 185.78
sys 6.23

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 171 point sources and 0 extended sources

Setting source of interest to:
4FGL J0126.8+2412 @ 21.7036 24.21

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/575551/ft1_filtered_4FGL_J0126.8+2412_daily_bin723.fits scfile=/scratch/kocevski/575551/ft2_4FGL_J0126.8+2412_daily_bin723.fits outfile=/scratch/kocevski/575551/cmap_426729601_426988801_4FGL_J0126.8+2412_daily_bin723.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=21.7036 yref=24.21 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 1.24
user 0.37
sys 0.80

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/575551/ft1_filtered_4FGL_J0126.8+2412_daily_bin723.fits scfile=/scratch/kocevski/575551/ft2_4FGL_J0126.8+2412_daily_bin723.fits outfile=/scratch/kocevski/575551/cmap_HighResolution_426729601_426988801_4FGL_J0126.8+2412_daily_bin723.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=21.7036 yref=24.21 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 1.19
user 0.39
sys 0.79

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/575551/ft1_filtered_4FGL_J0126.8+2412_daily_bin723.fits evtable="EVENTS" scfile=/scratch/kocevski/575551/ft2_4FGL_J0126.8+2412_daily_bin723.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/575551/Model_4FGL_J0126.8+2412_daily_bin723.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/575551/ft1_filtered_4FGL_J0126.8+2412_daily_bin723.fits.....................!
real 58.53
user 55.39
sys 2.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/575551/ft1_filtered_4FGL_J0126.8+2412_daily_bin723.fits', '/scratch/kocevski/575551/ft2_4FGL_J0126.8+2412_daily_bin723.fits', expMap='/scratch/kocevski/575551/expmap_426729601_426988801_4FGL_J0126.8+2412_daily_bin723.fits', expCube='/scratch/kocevski/575551/ltcube_426729601_426988801_4FGL_J0126.8+2412_daily_bin723.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/575551/Model_4FGL_J0126.8+2412_daily_bin723.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0126.8+2412'

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  2.716e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
258        Index:  2.760e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  4.731e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/575551/ft1_filtered_4FGL_J0126.8+2412_daily_bin723.fits
Spacecraft file(s): /scratch/kocevski/575551/ft2_4FGL_J0126.8+2412_daily_bin723.fits
Exposure map: /scratch/kocevski/575551/expmap_426729601_426988801_4FGL_J0126.8+2412_daily_bin723.fits
Exposure cube: /scratch/kocevski/575551/ltcube_426729601_426988801_4FGL_J0126.8+2412_daily_bin723.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/575551/Model_4FGL_J0126.8+2412_daily_bin723.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) = 5013.88692209

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .79551E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .34924       1.0000         .10000E-03   10000.    
     4 'Prefactor '    59.419       1.0000         .10000E-03   10000.    
     5 'norm      '    2.2393       1.0000         .10000E-03   10000.    
     6 'norm      '    .40382       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.0298       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10311E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.5270       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12098E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    97.987       1.0000         .10000E-03   10000.    
    14 'norm      '    .93582       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.696       1.0000         .10000E-03   10000.    
    19 'Prefactor '    37.470       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.5520       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1742       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5013.876     FROM MIGRAD    STATUS=CONVERGED    499 CALLS     2458 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.321       -.16215E-06** at limit **
   2  Prefactor     .34980        12.777       -.47160E-06    .18850E-03
   3  Prefactor     .30031        9.3644       -.90113E-06    .25192E-03
   4  Prefactor     59.441        56.586        .51503E-06   -.15793E-04
   5  norm          2.2391        1.0109        .16041E-07   -.16991E-03
   6  norm          .40394        1.2994        .60803E-06    .14370E-03
   7  Prefactor     6.0365        18.878        .61618E-05   -.35544E-04
   8  Prefactor     .10000E-03    34.549        .40654E-06** at limit **
   9  Prefactor     .10000E-03    2.5919        .16038E-06** at limit **
  10  Prefactor     4.5312        7.4911        .47950E-06   -.65036E-04
  11  Prefactor     .10000E-03    27.672        .54733E-05** at limit **
  12  Prefactor     .10000E-03    322.67        .53203E-05** at limit **
  13  Prefactor     98.189        127.31       -.30399E-05    .23667E-04
  14  norm          .93545        .74323        .27891E-06   -.10026E-03
  15  Prefactor     .10000E-03    7.7788        .23959E-06** at limit **
  16  Prefactor     .10000E-03    12.939       -.83852E-07** at limit **
  17  norm          .10000E-03    2.5439       -.11664E-06** at limit **
  18  Prefactor     11.729        686.73        .24037E-05    .50082E-06
  19  Prefactor     37.476        13.146        .14005E-06   -.23820E-04
  20  Prefactor     6.5561        8.6959        .51233E-06   -.11990E-04
  21  Normalizat    1.1738        .24693       -.21005E-05   -.37896E-04
  22  Prefactor     .97416        .15219       -.31357E-06   -.11968E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.349798
  Prefactor  = 0.300309
  Prefactor  = 59.4405
  norm       = 2.23905
  norm       = 0.403939
  Prefactor  = 6.03649
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.53117
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 98.1889
  norm       = 0.935455
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.7286
  Prefactor  = 37.4756
  Prefactor  = 6.55613
  Normalizat = 1.17375
  Prefactor  = 0.974157
 **********
 **   18 **HESSE 
 **********

 FCN=   5013.876     FROM HESSE     STATUS=OK           346 CALLS     2804 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.385        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .34980        127.30        .47946E-02   -1.5590    
   3  Prefactor     .30031        103.08        .40613E-02   -1.5598    
   4  Prefactor     59.441        56.819        .52049E-04   -1.4164    
   5  norm          2.2391        1.0148        .43896E-04   -1.5409    
   6  norm          .40394        1.2647        .13323E-03   -1.5581    
   7  Prefactor     6.0365        18.794        .81757E-03   -1.5217    
   8  Prefactor     .10000E-03    34.636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.5991        .11132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.5312        7.4032        .18922E-03   -1.5282    
  11  Prefactor     .10000E-03    28.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    330.03        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     98.189        126.24        .20304E-03   -1.3723    
  14  norm          .93545        .74037        .49763E-04   -1.5515    
  15  Prefactor     .10000E-03    7.8366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.5821        .11015E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.729        686.47        .11714E-03   -1.5023    
  19  Prefactor     37.476        13.156        .65474E-04   -1.4483    
  20  Prefactor     6.5561        8.6932        .15678E-03   -1.5196    
  21  Normalizat    1.1738        .28989        .29604E-03   -.87418    
  22  Prefactor     .97416        .18000        .20610E-03   -.93596    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.98693e-09
Minuit parameter uncertainties:
  1  1.85261e-05
  2  13.3729
  3  11.1449
  4  56.8709
  5  1.01478
  6  1.26475
  7  18.8128
  8  2.77254e-05
  9  1.58514e-06
  10  7.4047
  11  9.30822e-06
  12  0.00111664
  13  126.584
  14  0.740375
  15  1.61373e-05
  16  5.76498e-06
  17  4.40672e-06
  18  181.689
  19  13.157
  20  8.69483
  21  0.290288
  22  0.180109
Done.

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

Extracting fit parameters...

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  9.308e-06  1.000e-04  1.000e+04 ( 1.000e-12)
258        Index:  2.760e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  4.731e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  9.742e-01  1.801e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  1.174e+00  2.903e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 21.704 24.210
Photon Flux Upper Limit: 1.42e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.13e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/575551/likelihoodResults_426729601_426988801_4FGL_J0126.8+2412_daily_bin723.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) = 5013.87651711
delta logL = -0.000168366408616

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5013.87635097
delta logL = -2.22609105549e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10476E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9450       1.0000          .0000       10.000    
     3 'Normalizat'    1.1738       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97418       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+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=   5013.836     FROM MIGRAD    STATUS=CONVERGED    152 CALLS      338 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .86248E-01    2.0354        .11834E-01    .50384E-02
   2  Index         6.0607        2.5755        .47828        .59829E-04
   3  Normalizat    1.1466        .21267E-01    .29605E-03    .15652E-03
   4  Prefactor     .98480        .13707E-01    .20610E-03   -.77666E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0862484
  Index      = 6.0607
  Normalizat = 1.14664
  Prefactor  = 0.984802
 **********
 **   18 **HESSE 
 **********

 FCN=   5013.836     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      369 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .86248E-01    47.376        .57534E-03   -1.5649    
   2  Index         6.0607        5.8114        .11194E-01    .21376    
   3  Normalizat    1.1466        .16236        .11842E-04   -.88268    
   4  Prefactor     .98480        .10083        .82441E-05   -.93238    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.03633e-08
Minuit parameter uncertainties:
  1  4.04368
  2  32.2959
  3  0.162434
  4  0.100848
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/575551': 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) = 5013.83642354
delta logL = 0.0399251977196

Extracting fit parameters...

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  8.625e-02  4.044e+00  1.000e-04  1.000e+04 ( 1.000e-12)
258        Index:  6.061e+00  3.230e+01  0.000e+00  1.000e+01 (-1.000e+00)
259        Scale:  4.731e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  9.848e-01  1.008e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  1.147e+00  1.624e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 21.704 24.210

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/575551/cmap_HighResolution_426729601_426988801_4FGL_J0126.8+2412_daily_bin723.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', job_status='DONE', photon_flux_upper_limit='1.42e-07', time_completed='2021-08-14 01:00:14.887388', job_id='575551', GAL2='0.98', fit_tolerance='1e-08', EG2='1.15', EG='1.17', time_epoch_completed='1628928014.89', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='3.99e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='723' AND source_name='4FGL J0126.8+2412' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 01:00:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 575551: <4FGL_J0126.8+2412_daily_bin723> in cluster <slac> Done

Job <4FGL_J0126.8+2412_daily_bin723> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 14 00:45:33 2021
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 00:45:50 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 00:45:50 2021
Terminated at Sat Aug 14 01:00:15 2021
Results reported at Sat Aug 14 01:00:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0126.8+2412_daily_bin723 21.7036 24.21 426729601 426988801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0126.8+2412 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   637.31 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             282.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   865 sec.
    Turnaround time :                            882 sec.

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

