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


Performing analysis on: 4FGL_J0124.8-0625_daily_bin1773
RA = 21.2178, Dec = -6.4328
tmin = 698889601, tmax = 699148801
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='654933', job_status='RUN', time_executed='2023-02-27 08:56:34.695170', time_epoch_executed='1677516994.7' WHERE source_name='4FGL J0124.8-0625' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654933

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654933/ft1_4FGL_J0124.8-0625_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654933/ft2_4FGL_J0124.8-0625_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654933/ft1_4FGL_J0124.8-0625_daily_bin1773.fits outfile=/scratch/kocevski/654933/ft1_filteredMKT_4FGL_J0124.8-0625_daily_bin1773.fits ra=21.2178 dec=-6.4328 rad=12.0 tmin=698889601.0 tmax=699148801.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 2.95
user 2.75
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/654933/ft2_4FGL_J0124.8-0625_daily_bin1773.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/654933/ft1_filteredMKT_4FGL_J0124.8-0625_daily_bin1773.fits evtable="EVENTS" outfile="/scratch/kocevski/654933/ft1_filtered_4FGL_J0124.8-0625_daily_bin1773.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.35
sys 0.13

Number of photons that the gtmktime cut: 637

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/654933/ft1_filtered_4FGL_J0124.8-0625_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/654933/ft2_4FGL_J0124.8-0625_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/654933/ltcube_698889601_699148801_4FGL_J0124.8-0625_daily_bin1773.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/654933/ft2_4FGL_J0124.8-0625_daily_bin1773.fits
.....................!
real 13.16
user 12.81
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654933/ft1_filtered_4FGL_J0124.8-0625_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/654933/ft2_4FGL_J0124.8-0625_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/654933/ltcube_698889601_699148801_4FGL_J0124.8-0625_daily_bin1773.fits outfile=/scratch/kocevski/654933/expmap_698889601_699148801_4FGL_J0124.8-0625_daily_bin1773.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/654933/ltcube_698889601_699148801_4FGL_J0124.8-0625_daily_bin1773.fits
.....................!
real 189.81
user 184.78
sys 4.64

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/654933/ft1_filtered_4FGL_J0124.8-0625_daily_bin1773.fits scfile=/scratch/kocevski/654933/ft2_4FGL_J0124.8-0625_daily_bin1773.fits outfile=/scratch/kocevski/654933/cmap_698889601_699148801_4FGL_J0124.8-0625_daily_bin1773.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654933/ft1_filtered_4FGL_J0124.8-0625_daily_bin1773.fits scfile=/scratch/kocevski/654933/ft2_4FGL_J0124.8-0625_daily_bin1773.fits outfile=/scratch/kocevski/654933/cmap_HighResolution_698889601_699148801_4FGL_J0124.8-0625_daily_bin1773.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/654933/ft1_filtered_4FGL_J0124.8-0625_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/654933/ft2_4FGL_J0124.8-0625_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/654933/Model_4FGL_J0124.8-0625_daily_bin1773.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/654933/ft1_filtered_4FGL_J0124.8-0625_daily_bin1773.fits.....................!
real 70.18
user 68.89
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/654933/ft1_filtered_4FGL_J0124.8-0625_daily_bin1773.fits', '/scratch/kocevski/654933/ft2_4FGL_J0124.8-0625_daily_bin1773.fits', expMap='/scratch/kocevski/654933/expmap_698889601_699148801_4FGL_J0124.8-0625_daily_bin1773.fits', expCube='/scratch/kocevski/654933/ltcube_698889601_699148801_4FGL_J0124.8-0625_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/654933/Model_4FGL_J0124.8-0625_daily_bin1773.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/654933/ft1_filtered_4FGL_J0124.8-0625_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/654933/ft2_4FGL_J0124.8-0625_daily_bin1773.fits
Exposure map: /scratch/kocevski/654933/expmap_698889601_699148801_4FGL_J0124.8-0625_daily_bin1773.fits
Exposure cube: /scratch/kocevski/654933/ltcube_698889601_699148801_4FGL_J0124.8-0625_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/654933/Model_4FGL_J0124.8-0625_daily_bin1773.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) = 6965.0315117

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7918       1.0000          .0000       .10000E+07
     2 'norm      '    1.5968       1.0000          .0000       .10000E+07
     3 'norm      '    .26362E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.7838       1.0000          .0000       .10000E+07
     5 'Prefactor '    .32149E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    27.058       1.0000          .0000       .10000E+07
     7 'Prefactor '    95.165       1.0000          .0000       .10000E+07
     8 'norm      '    28.597       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.6116       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.3065       1.0000          .0000       .10000E+07
    11 'Prefactor '    38.947       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.9515       1.0000          .0000       .10000E+07
    13 'Prefactor '    24.440       1.0000          .0000       .10000E+07
    14 'norm      '    2.4913       1.0000          .0000       .10000E+07
    15 'norm      '    .16620E-01   1.0000          .0000       .10000E+07
    16 'norm      '    22.088       1.0000          .0000       .10000E+07
    17 'Prefactor '    6.0451       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.0971       1.0000          .0000       .10000E+07
    19 'Normalizat'    .76151       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1340       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=   6965.003     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1550 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7514        4.1633       -.10327E-06    .48908E-03
   2  norm          1.5948        2.3000       -.12997E-06   -.45476E-05
   3  norm           .0000        2.5197        .45823E-07** at limit **
   4  Prefactor     3.9208        28.399       -.46931E-06    .69265E-04
   5  Prefactor      .0000        12.756       -.10873E-06** at limit **
   6  Prefactor     28.219        31.490       -.38065E-06   -.37428E-01
   7  Prefactor     96.599        94.644       -.26977E-06   -.81800E-02
   8  norm          28.585        3.3934       -.20988E-08    .30977E-03
   9  Prefactor     1.5863        6.8423       -.23801E-06    .12601E-04
  10  Prefactor     3.3032        3.5989       -.79466E-08   -.25370E-03
  11  Prefactor     39.330        39.833       -.15101E-06    .43082E-01
  12  Prefactor     2.9646        6.3607       -.14245E-06   -.17982E-03
  13  Prefactor     24.107        15.871        .10302E-06   -.10447    
  14  norm          2.2107        56.212        .74765E-06    .19520E-03
  15  norm          .20607E-01    12.891        .52964E-06** at limit **
  16  norm          22.106        8.0076       -.13948E-06   -.77660E-03
  17  Prefactor     6.0562        4.0992       -.47805E-07    .33181E-06
  18  Prefactor     1.0988        2.6742       -.17439E-06    .10501E-03
  19  Normalizat    .76137        .22591       -.42875E-05    .13994E-05
  20  Prefactor     1.1335        .20786        .49729E-05    .10117E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.75135
  norm       = 1.59482
  norm       = 0
  Prefactor  = 3.92078
  Prefactor  = 0
  Prefactor  = 28.2189
  Prefactor  = 96.5993
  norm       = 28.5847
  Prefactor  = 1.58631
  Prefactor  = 3.30318
  Prefactor  = 39.33
  Prefactor  = 2.96463
  Prefactor  = 24.107
  norm       = 2.21071
  norm       = 0.0206069
  norm       = 22.1062
  Prefactor  = 6.05616
  Prefactor  = 1.09879
  Normalizat = 0.761366
  Prefactor  = 1.13351
 **********
 **   18 **HESSE 
 **********

 FCN=   6965.003     FROM HESSE     STATUS=OK           351 CALLS     1901 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7514        4.2245        .60867E-03   -1.5675    
   2  norm          1.5948        2.3256        .83892E-03   -1.5683    
   3  norm           .0000        2.5135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.9208        28.487        .51872E-03   -1.5668    
   5  Prefactor      .0000        12.758        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     28.219        33.391        .19228E-03   -1.5602    
   7  Prefactor     96.599        94.875        .10251E-03   -1.5511    
   8  norm          28.585        3.4055        .18703E-03   -1.5601    
   9  Prefactor     1.5863        6.9190        .83399E-03   -1.5683    
  10  Prefactor     3.3032        3.6163        .55649E-03   -1.5672    
  11  Prefactor     39.330        42.962        .16025E-03   -1.5583    
  12  Prefactor     2.9646        6.3981        .59088E-03   -1.5674    
  13  Prefactor     24.107        31.775        .20232E-03   -1.5610    
  14  norm          2.2107        57.521        .64732E-03   -1.5678    
  15  norm          .20607E-01    .97866        .25554E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          22.106        8.0344        .21283E-03   -1.5614    
  17  Prefactor     6.0562        4.0987        .40813E-03   -1.5659    
  18  Prefactor     1.0988        2.7499        .11365E-02   -1.5687    
  19  Normalizat    .76137        .19080        .72027E-01   -1.0152    
  20  Prefactor     1.1335        .17415        .57369E-01   -.88403    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58656e-06
Minuit parameter uncertainties:
  1  4.22455
  2  2.32556
  3  1.05124e-06
  4  21.1368
  5  2.74875e-06
  6  33.3914
  7  94.8768
  8  3.40545
  9  6.62595
  10  3.6163
  11  42.9621
  12  6.39815
  13  31.7755
  14  22.5536
  15  0.284022
  16  8.03439
  17  4.09865
  18  2.74989
  19  0.190968
  20  0.174235
Done.

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

Extracting fit parameters...

4FGL J0124.8-0625
   Spectrum: PowerLaw
309    Prefactor:  2.965e+00  6.398e+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

GAL_V02
   Spectrum: PowerLaw
588    Prefactor:  1.134e+00  1.742e-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:  7.614e-01  1.910e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/654933/likelihoodResults_698889601_699148801_4FGL_J0124.8-0625_daily_bin1773.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6964.99100809
delta logL = 0.0122195972172

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6964.98843267
delta logL = 0.0147950180017

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5304       1.0000          .0000       .10000E+07
     2 'Index     '    2.4322       1.0000          .0000       10.000    
     3 'Normalizat'    .75889       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1342       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6964.988     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      243 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5304        6.4886        .12837E-03   -.40286E-02
   2  Index         2.4320        1.3138        .95126E-03    .27105E-04
   3  Normalizat    .75892        .21404        .31922E-03    .36682E-05
   4  Prefactor     1.1342        .20509        .25359E-03   -.41244E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.5304
  Index      = 2.43201
  Normalizat = 0.758921
  Prefactor  = 1.1342
 **********
 **   18 **HESSE 
 **********

 FCN=   6964.988     FROM HESSE     STATUS=OK            25 CALLS      268 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5304        6.1877        .51347E-05   -1.5676    
   2  Index         2.4320        1.2552        .38050E-04   -.53937    
   3  Normalizat    .75892        .21424        .12769E-04   -1.0161    
   4  Prefactor     1.1342        .20527        .10144E-04   -.88381    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.86802e-10
Minuit parameter uncertainties:
  1  6.18773
  2  1.27384
  3  0.21448
  4  0.205413
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654933': 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) = 6964.98843264
delta logL = 0.0147950456758

Extracting fit parameters...

4FGL J0124.8-0625
   Spectrum: PowerLaw
309    Prefactor:  2.530e+00  6.188e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.432e+00  1.274e+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:  1.134e+00  2.054e-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:  7.589e-01  2.145e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.30
Ra Dec: 21.218 -6.433

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.87e-03', job_status='DONE', photon_flux_upper_limit='7.69e-08', time_completed='2023-02-27 09:06:47.965503', job_id='654933', GAL2='1.13', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1677517607.97', return_code2='0', ts='0.30', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='1.48e-02', ts2='0.33', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='1773' AND source_name='4FGL J0124.8-0625' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 09:06:47 PST 2023



------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 654932: <4FGL_J0124.8-0625_daily_bin1773> in cluster <slac> Done

Job <4FGL_J0124.8-0625_daily_bin1773> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Feb 27 00:09:59 2023
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 08:43:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 08:43:29 2023
Terminated at Mon Feb 27 09:00:51 2023
Results reported at Mon Feb 27 09:00:51 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0124.8-0625_daily_bin1773 21.2178 -6.4328 698889601 699148801 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 :                                   623.56 sec.
    Max Memory :                                 617 MB
    Average Memory :                             203.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1042 sec.
    Turnaround time :                            31865 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0200>
Subject: Job 654933: <4FGL_J0124.8-0625_daily_bin1773> in cluster <slac> Done

Job <4FGL_J0124.8-0625_daily_bin1773> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Feb 27 00:09:59 2023
Job was executed on host(s) <bullet0200>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 08:43:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 08:43:29 2023
Terminated at Mon Feb 27 09:07:09 2023
Results reported at Mon Feb 27 09:07:09 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0124.8-0625_daily_bin1773 21.2178 -6.4328 698889601 699148801 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 :                                   614.94 sec.
    Max Memory :                                 1260 MB
    Average Memory :                             185.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2929 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1420 sec.
    Turnaround time :                            32231 sec.

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

