aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 65 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 = 7702
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0126.8+2412_daily_bin1672
RA = 21.7036, Dec = 24.21
tmin = 672710401, tmax = 672969601
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='153984', job_status='RUN', time_executed='2022-04-30 00:11:34.971235', time_epoch_executed='1651302694.97' WHERE source_name='4FGL J0126.8+2412' and cadence='daily' and bin_id='1672'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/153984

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/153984/ft1_4FGL_J0126.8+2412_daily_bin1672.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/153984/ft2_4FGL_J0126.8+2412_daily_bin1672.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/153984/ft1_4FGL_J0126.8+2412_daily_bin1672.fits outfile=/scratch/kocevski/153984/ft1_filteredMKT_4FGL_J0126.8+2412_daily_bin1672.fits ra=21.7036 dec=24.21 rad=12.0 tmin=672710401.0 tmax=672969601.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.18
user 2.89
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/153984/ft2_4FGL_J0126.8+2412_daily_bin1672.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/153984/ft1_filteredMKT_4FGL_J0126.8+2412_daily_bin1672.fits evtable="EVENTS" outfile="/scratch/kocevski/153984/ft1_filtered_4FGL_J0126.8+2412_daily_bin1672.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.52
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 190

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/153984/ft1_filtered_4FGL_J0126.8+2412_daily_bin1672.fits" evtable="EVENTS" scfile=/scratch/kocevski/153984/ft2_4FGL_J0126.8+2412_daily_bin1672.fits sctable="SC_DATA" outfile=/scratch/kocevski/153984/ltcube_672710401_672969601_4FGL_J0126.8+2412_daily_bin1672.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/153984/ft2_4FGL_J0126.8+2412_daily_bin1672.fits
.....................!
real 17.43
user 17.00
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/153984/ft1_filtered_4FGL_J0126.8+2412_daily_bin1672.fits evtable="EVENTS" scfile=/scratch/kocevski/153984/ft2_4FGL_J0126.8+2412_daily_bin1672.fits sctable="SC_DATA" expcube=/scratch/kocevski/153984/ltcube_672710401_672969601_4FGL_J0126.8+2412_daily_bin1672.fits outfile=/scratch/kocevski/153984/expmap_672710401_672969601_4FGL_J0126.8+2412_daily_bin1672.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/153984/ltcube_672710401_672969601_4FGL_J0126.8+2412_daily_bin1672.fits
.....................!
real 190.96
user 186.31
sys 4.20

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/153984/ft1_filtered_4FGL_J0126.8+2412_daily_bin1672.fits scfile=/scratch/kocevski/153984/ft2_4FGL_J0126.8+2412_daily_bin1672.fits outfile=/scratch/kocevski/153984/cmap_672710401_672969601_4FGL_J0126.8+2412_daily_bin1672.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 0.54
user 0.40
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/153984/ft1_filtered_4FGL_J0126.8+2412_daily_bin1672.fits scfile=/scratch/kocevski/153984/ft2_4FGL_J0126.8+2412_daily_bin1672.fits outfile=/scratch/kocevski/153984/cmap_HighResolution_672710401_672969601_4FGL_J0126.8+2412_daily_bin1672.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 0.62
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/153984/ft1_filtered_4FGL_J0126.8+2412_daily_bin1672.fits', '/scratch/kocevski/153984/ft2_4FGL_J0126.8+2412_daily_bin1672.fits', expMap='/scratch/kocevski/153984/expmap_672710401_672969601_4FGL_J0126.8+2412_daily_bin1672.fits', expCube='/scratch/kocevski/153984/ltcube_672710401_672969601_4FGL_J0126.8+2412_daily_bin1672.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/153984/Model_4FGL_J0126.8+2412_daily_bin1672.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/153984/ft1_filtered_4FGL_J0126.8+2412_daily_bin1672.fits
Spacecraft file(s): /scratch/kocevski/153984/ft2_4FGL_J0126.8+2412_daily_bin1672.fits
Exposure map: /scratch/kocevski/153984/expmap_672710401_672969601_4FGL_J0126.8+2412_daily_bin1672.fits
Exposure cube: /scratch/kocevski/153984/ltcube_672710401_672969601_4FGL_J0126.8+2412_daily_bin1672.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/153984/Model_4FGL_J0126.8+2412_daily_bin1672.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) = 2236.97594865

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10112E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.5183       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.0803       1.0000         .10000E-03   10000.    
     6 'norm      '    .23723E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    42.764       1.0000         .10000E-03   10000.    
     8 'Prefactor '    117.00       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.6535       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .52850E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.663       1.0000         .10000E-03   10000.    
    13 'Prefactor '    185.48       1.0000         .10000E-03   10000.    
    14 'norm      '    .85056       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10431E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10197E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    55.037       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13102E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .31709E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.9018       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.4940       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=   2236.958     FROM MIGRAD    STATUS=CONVERGED    490 CALLS     2422 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.3789        .11679E-06** at limit **
   2  Prefactor     .10000E-03    24.286        .30810E-06** at limit **
   3  Prefactor     8.5109        16.832       -.67374E-07    .13695E-03
   4  Prefactor     .10000E-03    27.465        .30988E-07** at limit **
   5  norm          1.0800        .94932        .64647E-07    .66128E-04
   6  norm          .10000E-03    1.9253       -.38176E-06** at limit **
   7  Prefactor     42.750        30.360       -.17148E-07    .63442E-04
   8  Prefactor     116.98        91.100        .10992E-05    .12477E-04
   9  Prefactor     .10000E-03    4.3484       -.93168E-07** at limit **
  10  Prefactor     8.6432        13.101        .20947E-05    .33281E-05
  11  Prefactor     .10000E-03    136.29        .13023E-05** at limit **
  12  Prefactor     22.575        85.453        .97139E-06   -.21321E-04
  13  Prefactor     185.60        304.96        .62754E-05   -.19399E-04
  14  norm          .84816        1.9329       -.13197E-06   -.82599E-04
  15  Prefactor     .10000E-03    20.440       -.29620E-06** at limit **
  16  Prefactor     .10000E-03    57.065       -.13693E-06** at limit **
  17  norm          55.058        27.069        .28942E-06   -.25959E-05
  18  Prefactor     .10000E-03    302.34       -.23786E-06** at limit **
  19  Prefactor     .10000E-03    101.56       -.28235E-05** at limit **
  20  Prefactor     2.8294        269.80       -.17869E-05    .18146E-05
  21  Normalizat    .10000E-01    .35853       -.52605E-05** at limit **
  22  Prefactor     1.4939        .18325        .53209E-08    .41753E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.51089
  Prefactor  = 0.0001
  norm       = 1.07998
  norm       = 0.0001
  Prefactor  = 42.7504
  Prefactor  = 116.98
  Prefactor  = 0.0001
  Prefactor  = 8.64317
  Prefactor  = 0.000100002
  Prefactor  = 22.5751
  Prefactor  = 185.602
  norm       = 0.848156
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 55.0584
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 2.82939
  Normalizat = 0.01
  Prefactor  = 1.49387
 **********
 **   18 **HESSE 
 **********

 FCN=   2236.958     FROM HESSE     STATUS=OK           338 CALLS     2760 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.4173        .13369E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    24.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.5109        16.536        .13735E-03   -1.5124    
   4  Prefactor     .10000E-03    27.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.0800        .96072        .41373E-04   -1.5500    
   6  norm          .10000E-03    8.9025        .11925E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     42.750        30.357        .61303E-04   -1.4399    
   8  Prefactor     116.98        91.058        .37199E-04   -1.3541    
   9  Prefactor     .10000E-03    4.3518        .96292E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.6432        12.834        .68132E-03   -1.5120    
  11  Prefactor     .10000E-03    139.65        .42259E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     22.575        85.716        .84139E-04   -1.4757    
  13  Prefactor     185.60        297.84        .14823E-03   -1.2975    
  14  norm          .84816        1.7922        .84388E-03   -1.5524    
  15  Prefactor     .10000E-03    20.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    57.103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          55.058        27.004        .27034E-03   -1.4223    
  18  Prefactor     .10000E-03    302.34        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    101.22        .21366E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.8294        275.21        .23854E-03   -1.5372    
  21  Normalizat    .10000E-01    1.0222        .13344E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.4939        .15093        .17057E-03   -.77711    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63794e-09
Minuit parameter uncertainties:
  1  4.63303e-06
  2  3.10967e-05
  3  16.5452
  4  4.96381e-06
  5  0.960729
  6  7.80202e-05
  7  30.3682
  8  91.1673
  9  2.7051e-06
  10  12.838
  11  0.00108692
  12  86.189
  13  300.314
  14  1.79234
  15  2.86539e-05
  16  2.80686e-05
  17  27.0102
  18  7.80632e-05
  19  0.000615239
  20  56.0761
  21  4.15646e-05
  22  0.150975
Done.

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

Extracting fit parameters...

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  1.087e-03  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:  1.494e+00  1.510e-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.000e-02  4.156e-05  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/153984/likelihoodResults_672710401_672969601_4FGL_J0126.8+2412_daily_bin1672.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) = 2236.9581502
delta logL = -3.84538425351e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2236.95811622
delta logL = -4.47084130428e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7214       1.0000          .0000       10.000    
     3 'Normalizat'    .10009E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4939       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.

 FCN=   2236.618     FROM MIGRAD    STATUS=CONVERGED    182 CALLS      376 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .87610E-02    .16680E-01    .14249E-02    .24811E-01
   2  Index         8.8383        1.2382        .22827       -.10399E-03
   3  Normalizat    .10000E-01    .29704        .22368    ** at limit **
   4  Prefactor     1.4781        .16781        .29879E-01   -.22327E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00876104
  Index      = 8.83833
  Normalizat = 0.01
  Prefactor  = 1.47809
 **********
 **   18 **HESSE 
 **********

 FCN=   2236.618     FROM HESSE     STATUS=OK            31 CALLS      407 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .87610E-02    .41219E-01    .64681E-04   -1.5727    
   2  Index         8.8383        2.5626        .14173E-02    .87519    
   3  Normalizat    .10000E-01    .42231        .12349E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.4781        .13259        .17077E-03   -.78155    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.19801e-09
Minuit parameter uncertainties:
  1  0.0377891
  2  2.96991
  3  2.10719e-05
  4  0.132619
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/153984': 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) = 2236.61779964
delta logL = 0.340312108161

Extracting fit parameters...

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  8.761e-03  3.779e-02  1.000e-04  1.000e+04 ( 1.000e-12)
258        Index:  8.838e+00  2.970e+00  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:  1.478e+00  1.326e-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.000e-02  2.107e-05  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/153984/cmap_HighResolution_672710401_672969601_4FGL_J0126.8+2412_daily_bin1672.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.34e-02', job_status='DONE', photon_flux_upper_limit='2.96e-07', time_completed='2022-04-30 00:18:53.560510', job_id='153984', GAL2='1.48', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1651303133.56', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.49', dlogl='3.40e-01', ts2='0.69', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1672' AND source_name='4FGL J0126.8+2412' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr 30 00:18:53 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 153905: <4FGL_J0126.8+2412_daily_bin1672> in cluster <slac> Done

Job <4FGL_J0126.8+2412_daily_bin1672> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Apr 30 00:05:45 2022
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr 30 00:09:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr 30 00:09:03 2022
Terminated at Sat Apr 30 00:17:50 2022
Results reported at Sat Apr 30 00:17:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0126.8+2412_daily_bin1672 21.7036 24.21 672710401 672969601 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 :                                   440.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             306.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   527 sec.
    Turnaround time :                            725 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 153984: <4FGL_J0126.8+2412_daily_bin1672> in cluster <slac> Done

Job <4FGL_J0126.8+2412_daily_bin1672> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Apr 30 00:05:49 2022
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr 30 00:10:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr 30 00:10:14 2022
Terminated at Sat Apr 30 00:18:54 2022
Results reported at Sat Apr 30 00:18:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0126.8+2412_daily_bin1672 21.7036 24.21 672710401 672969601 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 :                                   438.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             308.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   519 sec.
    Turnaround time :                            785 sec.

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

