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 129 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7341
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0124.8-0625_daily_bin1752
RA = 21.2178, Dec = -6.4328
tmin = 693446401, tmax = 693705601
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='248331', job_status='RUN', time_executed='2022-12-26 00:11:12.135521', time_epoch_executed='1672042272.14' WHERE source_name='4FGL J0124.8-0625' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/248331

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/248331/ft1_4FGL_J0124.8-0625_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/248331/ft2_4FGL_J0124.8-0625_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/248331/ft1_4FGL_J0124.8-0625_daily_bin1752.fits outfile=/scratch/kocevski/248331/ft1_filteredMKT_4FGL_J0124.8-0625_daily_bin1752.fits ra=21.2178 dec=-6.4328 rad=12.0 tmin=693446401.0 tmax=693705601.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 4.10
user 3.25
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/248331/ft2_4FGL_J0124.8-0625_daily_bin1752.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/248331/ft2_4FGL_J0124.8-0625_daily_bin1752.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/248331/ft1_filteredMKT_4FGL_J0124.8-0625_daily_bin1752.fits evtable="EVENTS" outfile="/scratch/kocevski/248331/ft1_filtered_4FGL_J0124.8-0625_daily_bin1752.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.53
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 716

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/248331/ft1_filtered_4FGL_J0124.8-0625_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/248331/ft2_4FGL_J0124.8-0625_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/248331/ltcube_693446401_693705601_4FGL_J0124.8-0625_daily_bin1752.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/248331/ft2_4FGL_J0124.8-0625_daily_bin1752.fits
.....................!
real 13.83
user 13.24
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/248331/ft1_filtered_4FGL_J0124.8-0625_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/248331/ft2_4FGL_J0124.8-0625_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/248331/ltcube_693446401_693705601_4FGL_J0124.8-0625_daily_bin1752.fits outfile=/scratch/kocevski/248331/expmap_693446401_693705601_4FGL_J0124.8-0625_daily_bin1752.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/248331/ltcube_693446401_693705601_4FGL_J0124.8-0625_daily_bin1752.fits
.....................!
real 191.16
user 185.62
sys 5.09

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

Setting source of interest to:
4FGL J0124.8-0625 @ 21.2178 -6.4328

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/248331/ft1_filtered_4FGL_J0124.8-0625_daily_bin1752.fits scfile=/scratch/kocevski/248331/ft2_4FGL_J0124.8-0625_daily_bin1752.fits outfile=/scratch/kocevski/248331/cmap_693446401_693705601_4FGL_J0124.8-0625_daily_bin1752.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.2178 yref=-6.4328 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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/248331/ft1_filtered_4FGL_J0124.8-0625_daily_bin1752.fits scfile=/scratch/kocevski/248331/ft2_4FGL_J0124.8-0625_daily_bin1752.fits outfile=/scratch/kocevski/248331/cmap_HighResolution_693446401_693705601_4FGL_J0124.8-0625_daily_bin1752.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.2178 yref=-6.4328 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.57
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/248331/ft1_filtered_4FGL_J0124.8-0625_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/248331/ft2_4FGL_J0124.8-0625_daily_bin1752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/248331/Model_4FGL_J0124.8-0625_daily_bin1752.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/248331/ft1_filtered_4FGL_J0124.8-0625_daily_bin1752.fits.....................!
real 75.82
user 74.30
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/248331/ft1_filtered_4FGL_J0124.8-0625_daily_bin1752.fits', '/scratch/kocevski/248331/ft2_4FGL_J0124.8-0625_daily_bin1752.fits', expMap='/scratch/kocevski/248331/expmap_693446401_693705601_4FGL_J0124.8-0625_daily_bin1752.fits', expCube='/scratch/kocevski/248331/ltcube_693446401_693705601_4FGL_J0124.8-0625_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/248331/Model_4FGL_J0124.8-0625_daily_bin1752.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0124.8-0625'

4FGL J0124.8-0625
   Spectrum: PowerLaw
309    Prefactor:  1.169e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.214e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/248331/ft1_filtered_4FGL_J0124.8-0625_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/248331/ft2_4FGL_J0124.8-0625_daily_bin1752.fits
Exposure map: /scratch/kocevski/248331/expmap_693446401_693705601_4FGL_J0124.8-0625_daily_bin1752.fits
Exposure cube: /scratch/kocevski/248331/ltcube_693446401_693705601_4FGL_J0124.8-0625_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/248331/Model_4FGL_J0124.8-0625_daily_bin1752.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) = 7369.16098476

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7165       1.0000          .0000       .10000E+07
     2 'norm      '    .18043E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .19050E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .99793E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    17.356       1.0000          .0000       .10000E+07
     6 'Prefactor '    .19892E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .30390E-01   1.0000          .0000       .10000E+07
     8 'norm      '    45.410       1.0000          .0000       .10000E+07
     9 'Prefactor '    .17233E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .76716E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .25812E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .13393E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    5.2515       1.0000          .0000       .10000E+07
    14 'norm      '    22.734       1.0000          .0000       .10000E+07
    15 'norm      '    .37592       1.0000          .0000       .10000E+07
    16 'norm      '    21.496       1.0000          .0000       .10000E+07
    17 'Prefactor '    .22378E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .39107E-04   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.2113       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .47596       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7369.118     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1225 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7129        2.4484       -.50902E-07   -.96507E-03
   2  norm           .0000        2.2297        .98360E-07** at limit **
   3  norm           .0000        1.2653       -.16074E-06** at limit **
   4  Prefactor     .61062E-09    4.6554       -.23508E-07** at limit **
   5  Prefactor     17.189        1.1123       -.31836E-08    .13233E-02
   6  Prefactor     .11985E-06    12.094        .15725E-07** at limit **
   7  Prefactor     .21594E-07    25.045        .77677E-07** at limit **
   8  norm          45.405        3.6474        .14496E-07    .49032E-02
   9  Prefactor     .55511E-10    2.8742        .55994E-07** at limit **
  10  Prefactor      .0000        .76273        .13292E-06** at limit **
  11  Prefactor     .19723E-06    51.321       -.32605E-06** at limit **
  12  Prefactor     .47184E-08    14.438       -.12539E-06** at limit **
  13  Prefactor     5.2743        1.1836       -.16472E-07    .29663E-02
  14  norm          22.524        5.1821       -.75810E-07    .18002    
  15  norm          .37574        .66501        .45606E-07    .26023E-02
  16  norm          21.513        6.6658       -.27455E-07   -.20543E-01
  17  Prefactor     .12510E-05    34.504       -.88084E-06** at limit **
  18  Prefactor      .0000        1.3340       -.90068E-07** at limit **
  19  Normalizat    1.2121        .17879        .15823E-06    .10787E-03
  20  Prefactor     .47560        .16006        .21352E-05    .87316E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.71286
  norm       = 0
  norm       = 0
  Prefactor  = 6.10623e-10
  Prefactor  = 17.1888
  Prefactor  = 1.19849e-07
  Prefactor  = 2.15938e-08
  norm       = 45.4051
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 1.97231e-07
  Prefactor  = 4.71845e-09
  Prefactor  = 5.27434
  norm       = 22.5238
  norm       = 0.375743
  norm       = 21.5129
  Prefactor  = 1.251e-06
  Prefactor  = 0
  Normalizat = 1.2121
  Prefactor  = 0.475603
 **********
 **   18 **HESSE 
 **********

 FCN=   7369.118     FROM HESSE     STATUS=OK           345 CALLS     1570 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7129        2.4878        .61767E-03   -1.5675    
   2  norm           .0000        2.1948        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        1.2680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .61062E-09    4.6678        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.189        16.726        .24014E-03   -1.5625    
   6  Prefactor     .11985E-06    13.729        .11180E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .21594E-07    35.604        .16430E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          45.405        3.6608        .14841E-03   -1.5573    
   9  Prefactor     .55511E-10    2.8782        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        .76469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .19723E-06    51.599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .47184E-08    14.387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.2743        24.303        .43838E-03   -1.5662    
  14  norm          22.524        22.762        .20979E-03   -1.5613    
  15  norm          .37574        .74299        .21259E-02   -1.5696    
  16  norm          21.513        6.8401        .21575E-03   -1.5615    
  17  Prefactor     .12510E-05    3.1743        .54494E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        1.3332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2121        .15608        .51990E-01   -.86230    
  20  Prefactor     .47560        .13970        .72144E-01   -1.1311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.65201e-07
Minuit parameter uncertainties:
  1  2.48781
  2  5.90792e-06
  3  1.08329e-05
  4  0.00010881
  5  16.7261
  6  0.00256566
  7  0.00175453
  8  3.66078
  9  2.70875e-05
  10  7.04364e-06
  11  0.00638053
  12  0.000522569
  13  22.6437
  14  22.7619
  15  0.742988
  16  6.84012
  17  0.00398551
  18  5.82831e-06
  19  0.156141
  20  0.139804
Done.

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

Extracting fit parameters...

4FGL J0124.8-0625
   Spectrum: PowerLaw
309    Prefactor:  4.718e-09  5.226e-04  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.214e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
588    Prefactor:  4.756e-01  1.398e-01  0.000e+00  1.000e+01 ( 1.000e+00)
589        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
590        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
587   Normalization:  1.212e+00  1.561e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 21.218 -6.433
Photon Flux Upper Limit: 7.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/248331/likelihoodResults_693446401_693705601_4FGL_J0124.8-0625_daily_bin1752.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) = 7369.1546248
delta logL = -0.036219358818

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7366.80615047
delta logL = 2.31225497865

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74392E-01   1.0000          .0000       .10000E+07
     2 'Index     '    4.8302       1.0000          .0000       10.000    
     3 'Normalizat'    1.0970       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .53330       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7366.806     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      252 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .74410E-01    .52042        .27180E-03** at limit **
   2  Index         4.8302        1.7829        .78092E-01    .40802E-03
   3  Normalizat    1.0971        .45315E-01    .38123E-01    .52246E-05
   4  Prefactor     .53325        .41292E-01    .68295E-01    .29819E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0744095
  Index      = 4.83018
  Normalizat = 1.09711
  Prefactor  = 0.533254
 **********
 **   18 **HESSE 
 **********

 FCN=   7366.806     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      285 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .74410E-01    1.0649        .12192E-05   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.8302        2.8241        .30821E-02   -.33970E-01
   3  Normalizat    1.0971        .16111        .23875E-03   -.89845    
   4  Prefactor     .53325        .14418        .30232E-03   -1.1047    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.9399e-08
Minuit parameter uncertainties:
  1  0.562999
  2  3.00135
  3  0.161181
  4  0.14428
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/248331': 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) = 7366.80615003
delta logL = 2.31225541194

Extracting fit parameters...

4FGL J0124.8-0625
   Spectrum: PowerLaw
309    Prefactor:  7.441e-02  5.630e-01  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  4.830e+00  3.001e+00  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
588    Prefactor:  5.333e-01  1.443e-01  0.000e+00  1.000e+01 ( 1.000e+00)
589        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
590        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
587   Normalization:  1.097e+00  1.612e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.85
Ra Dec: 21.218 -6.433
Photon Index (Free Index): 4.83 +/- 3.00
Photon Flux (Free Index): 1.06e-07 +/- 5.79e-08
Energy Flux (Free Index): 1.43e-05 +/- 9.55e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/248331/cmap_HighResolution_693446401_693705601_4FGL_J0124.8-0625_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.84e-03', comment='SUCCESS', energy_flux2='1.43e-05', dlogl='2.31e+00', photon_flux2='1.06e-07', job_status='DONE', time_completed='2022-12-26 00:21:21.564590', photon_index_error2='3.00', photon_index2='4.83', ts='-0.00', fit_tolerance='1e-08', GAL='0.48', photon_index_error='0.00', photon_flux_upper_limit='7.66e-08', energy_flux_error2='9.55e-06', EG='1.21', time_epoch_completed='1672042881.56', return_code='0', job_id='248331', GAL2='0.53', EG2='1.10', return_code2='102', photon_flux_error2='5.79e-08', ts2='4.85', photon_index='2.21' WHERE bin_id='1752' AND source_name='4FGL J0124.8-0625' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 00:21:21 PST 2022

48332', GAL2='0.53', EG2='1.10', return_code2='102', photon_flux_error2='5.79e-08', ts2='4.85', photon_index='2.21' WHERE bin_id='1752' AND source_name='4FGL J0124.8-0625' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 00:20:02 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 248332: <4FGL_J0124.8-0625_daily_bin1752> in cluster <slac> Done

Job <4FGL_J0124.8-0625_daily_bin1752> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Dec 26 00:06:17 2022
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:08:52 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:08:52 2022
Terminated at Mon Dec 26 00:20:03 2022
Results reported at Mon Dec 26 00:20:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0124.8-0625_daily_bin1752 21.2178 -6.4328 693446401 693705601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0124.8-0625 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   617.00 sec.
    Max Memory :                                 618 MB
    Average Memory :                             308.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   670 sec.
    Turnaround time :                            826 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 248331: <4FGL_J0124.8-0625_daily_bin1752> in cluster <slac> Done

Job <4FGL_J0124.8-0625_daily_bin1752> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Dec 26 00:06:17 2022
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:08:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:08:51 2022
Terminated at Mon Dec 26 00:21:22 2022
Results reported at Mon Dec 26 00:21:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0124.8-0625_daily_bin1752 21.2178 -6.4328 693446401 693705601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0124.8-0625 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   610.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            905 sec.

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

