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


Performing analysis on: 4FGL_J0124.8-0625_daily_bin699
RA = 21.2178, Dec = -6.4328
tmin = 420508801, tmax = 420768001
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='553352', job_status='RUN', time_executed='2021-08-13 23:43:34.906534', time_epoch_executed='1628923414.91' WHERE source_name='4FGL J0124.8-0625' and cadence='daily' and bin_id='699'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/553352

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/553352/ft1_4FGL_J0124.8-0625_daily_bin699.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/553352/ft2_4FGL_J0124.8-0625_daily_bin699.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/553352/ft1_4FGL_J0124.8-0625_daily_bin699.fits outfile=/scratch/kocevski/553352/ft1_filteredMKT_4FGL_J0124.8-0625_daily_bin699.fits ra=21.2178 dec=-6.4328 rad=12.0 tmin=420508801.0 tmax=420768001.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 13.09
user 3.15
sys 9.80

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/553352/ft2_4FGL_J0124.8-0625_daily_bin699.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/553352/ft1_filteredMKT_4FGL_J0124.8-0625_daily_bin699.fits evtable="EVENTS" outfile="/scratch/kocevski/553352/ft1_filtered_4FGL_J0124.8-0625_daily_bin699.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 10.45
user 0.35
sys 9.90

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/553352/ft1_filtered_4FGL_J0124.8-0625_daily_bin699.fits" evtable="EVENTS" scfile=/scratch/kocevski/553352/ft2_4FGL_J0124.8-0625_daily_bin699.fits sctable="SC_DATA" outfile=/scratch/kocevski/553352/ltcube_420508801_420768001_4FGL_J0124.8-0625_daily_bin699.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/553352/ft2_4FGL_J0124.8-0625_daily_bin699.fits
.....................!
real 23.83
user 12.75
sys 10.96

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/553352/ft1_filtered_4FGL_J0124.8-0625_daily_bin699.fits evtable="EVENTS" scfile=/scratch/kocevski/553352/ft2_4FGL_J0124.8-0625_daily_bin699.fits sctable="SC_DATA" expcube=/scratch/kocevski/553352/ltcube_420508801_420768001_4FGL_J0124.8-0625_daily_bin699.fits outfile=/scratch/kocevski/553352/expmap_420508801_420768001_4FGL_J0124.8-0625_daily_bin699.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/553352/ltcube_420508801_420768001_4FGL_J0124.8-0625_daily_bin699.fits
.....................!
real 202.95
user 185.22
sys 17.24

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/553352/ft1_filtered_4FGL_J0124.8-0625_daily_bin699.fits scfile=/scratch/kocevski/553352/ft2_4FGL_J0124.8-0625_daily_bin699.fits outfile=/scratch/kocevski/553352/cmap_420508801_420768001_4FGL_J0124.8-0625_daily_bin699.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 9.69
user 0.37
sys 9.24

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/553352/ft1_filtered_4FGL_J0124.8-0625_daily_bin699.fits scfile=/scratch/kocevski/553352/ft2_4FGL_J0124.8-0625_daily_bin699.fits outfile=/scratch/kocevski/553352/cmap_HighResolution_420508801_420768001_4FGL_J0124.8-0625_daily_bin699.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 9.80
user 0.38
sys 9.28

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/553352/ft1_filtered_4FGL_J0124.8-0625_daily_bin699.fits evtable="EVENTS" scfile=/scratch/kocevski/553352/ft2_4FGL_J0124.8-0625_daily_bin699.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/553352/Model_4FGL_J0124.8-0625_daily_bin699.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/553352/ft1_filtered_4FGL_J0124.8-0625_daily_bin699.fits.....................!
real 69.42
user 56.04
sys 13.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/553352/ft1_filtered_4FGL_J0124.8-0625_daily_bin699.fits', '/scratch/kocevski/553352/ft2_4FGL_J0124.8-0625_daily_bin699.fits', expMap='/scratch/kocevski/553352/expmap_420508801_420768001_4FGL_J0124.8-0625_daily_bin699.fits', expCube='/scratch/kocevski/553352/ltcube_420508801_420768001_4FGL_J0124.8-0625_daily_bin699.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/553352/Model_4FGL_J0124.8-0625_daily_bin699.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  1.000e-04  1.000e+04 ( 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/553352/ft1_filtered_4FGL_J0124.8-0625_daily_bin699.fits
Spacecraft file(s): /scratch/kocevski/553352/ft2_4FGL_J0124.8-0625_daily_bin699.fits
Exposure map: /scratch/kocevski/553352/expmap_420508801_420768001_4FGL_J0124.8-0625_daily_bin699.fits
Exposure cube: /scratch/kocevski/553352/ltcube_420508801_420768001_4FGL_J0124.8-0625_daily_bin699.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/553352/Model_4FGL_J0124.8-0625_daily_bin699.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) = 5326.13024392

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.8062       1.0000         .10000E-03   10000.    
     2 'norm      '    9.7809       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.2254       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.2678       1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.260       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.4199       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.2756       1.0000         .10000E-03   10000.    
    12 'Prefactor '    33.067       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.896       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10190E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .38555E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .29770E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .92824       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .86305       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5326.108     FROM MIGRAD    STATUS=CONVERGED    478 CALLS     2358 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.8063        3.9629        .39171E-06   -.82207E-05
   2  norm          9.7808        3.8316       -.82726E-06    .89464E-04
   3  norm          .10000E-03    2.5489        .92916E-07** at limit **
   4  Prefactor     .10000E-03    5.8090       -.10278E-06** at limit **
   5  Prefactor     .10000E-03    9.3232       -.16134E-06** at limit **
   6  Prefactor     6.2241        23.528       -.36569E-05   -.58465E-03
   7  Prefactor     .10000E-03    26.655        .80815E-05** at limit **
   8  norm          6.2675        1.9451       -.20323E-06   -.14363E-05
   9  Prefactor     18.244        54.715       -.31832E-04   -.25932E-05
  10  Prefactor     9.4205        9.8225        .35266E-05    .22380E-05
  11  Prefactor     4.2767        3.9426        .36539E-05   -.14947E-04
  12  Prefactor     33.024        37.130       -.47890E-04   -.83928E-05
  13  Prefactor     10.896        10.958        .42807E-05    .32702E-04
  14  Prefactor     .10000E-03    22.554       -.10470E-04** at limit **
  15  norm          .10000E-03    15.484        .30416E-05** at limit **
  16  norm          .10000E-03    .62333       -.15010E-06** at limit **
  17  norm          .10000E-03    2.5006        .47660E-07** at limit **
  18  Prefactor     .10000E-03    44.820        .37173E-05** at limit **
  19  Prefactor     .10000E-03    2.3545       -.39962E-07** at limit **
  20  Prefactor     .10000E-03    4.5908       -.15814E-05** at limit **
  21  Normalizat    .92821        .17885        .27781E-05    .19377E-03
  22  Prefactor     .86316        .16296        .23834E-05    .15695E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.80626
  norm       = 9.78075
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.22413
  Prefactor  = 0.0001
  norm       = 6.26753
  Prefactor  = 18.2435
  Prefactor  = 9.42054
  Prefactor  = 4.27674
  Prefactor  = 33.0236
  Prefactor  = 10.8965
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 0.928213
  Prefactor  = 0.863156
 **********
 **   18 **HESSE 
 **********

 FCN=   5326.108     FROM HESSE     STATUS=OK           348 CALLS     2706 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.8063        3.9559        .97271E-04   -1.5149    
   2  norm          9.7808        3.8312        .86927E-04   -1.5082    
   3  norm          .10000E-03    2.5957        .11368E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.8133        .17179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.3255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.2241        23.651        .80445E-03   -1.5209    
   7  Prefactor     .10000E-03    26.661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.2675        1.9434        .53170E-04   -1.5207    
   9  Prefactor     18.244        54.422        .93727E-04   -1.4853    
  10  Prefactor     9.4205        9.7667        .13057E-03   -1.5094    
  11  Prefactor     4.2767        3.9345        .13106E-03   -1.5294    
  12  Prefactor     33.024        36.991        .69684E-04   -1.4558    
  13  Prefactor     10.896        10.944        .12137E-03   -1.5048    
  14  Prefactor     .10000E-03    22.580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    15.531        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    9.0529        .11136E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.5095        .11267E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    44.841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.3727        .10935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.520        .30023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .92821        .19948        .25213E-03   -.95476    
  22  Prefactor     .86316        .18439        .24055E-03   -.97441    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.62519e-09
Minuit parameter uncertainties:
  1  3.95607
  2  3.83125
  3  1.26868e-06
  4  1.09516e-06
  5  8.19474e-06
  6  23.6861
  7  1.09718e-05
  8  1.94344
  9  54.5706
  10  9.76833
  11  3.93472
  12  37.0163
  13  10.9464
  14  2.75043e-05
  15  9.0157e-05
  16  0.000337356
  17  7.80675e-07
  18  2.75798e-05
  19  1.01611e-05
  20  0.000175361
  21  0.199638
  22  0.184524
Done.

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

Extracting fit parameters...

4FGL J0124.8-0625
   Spectrum: PowerLaw
309    Prefactor:  1.090e+01  1.095e+01  1.000e-04  1.000e+04 ( 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:  8.632e-01  1.845e-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:  9.282e-01  1.996e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.41
Ra Dec: 21.218 -6.433
Photon Index (Fixed Index): 2.21 +/- 0.00
Photon Flux (Fixed Index): 3.82e-08 +/- 3.84e-08
Energy Flux (Fixed Index): 1.67e-05 +/- 1.68e-05

TS (Fixed Index): 1.41
Ra Dec: 21.218 -6.433
Photon Flux Upper Limit: 1.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/553352/likelihoodResults_420508801_420768001_4FGL_J0124.8-0625_daily_bin699.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) = 5326.08920243
delta logL = 0.019154772639

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5326.07280836
delta logL = 0.0355488392897

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5326.073     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      258 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.3071        18.663        .13906E-03   -.46827E-03
   2  Index         2.4834        1.4483        .71155E-02   -.72544E-04
   3  Normalizat    .91524        .20895        .25364E-03    .63247E-03
   4  Prefactor     .87035        .18759        .23965E-03    .18126E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.30714
  Index      = 2.48336
  Normalizat = 0.915239
  Prefactor  = 0.870346
 **********
 **   18 **HESSE 
 **********

 FCN=   5326.073     FROM HESSE     STATUS=OK            25 CALLS      283 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.3071        14.252        .55626E-05   -1.5131    
   2  Index         2.4834        1.1121        .28462E-03   -.52745    
   3  Normalizat    .91524        .20309        .50729E-04   -.95927    
   4  Prefactor     .87035        .18430        .47930E-04   -.97185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61287e-09
Minuit parameter uncertainties:
  1  14.258
  2  1.12472
  3  0.203263
  4  0.184427
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/553352': 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) = 5326.07280814
delta logL = 0.0355490691427

Extracting fit parameters...

4FGL J0124.8-0625
   Spectrum: PowerLaw
309    Prefactor:  8.307e+00  1.426e+01  1.000e-04  1.000e+04 ( 1.000e-13)
310        Index:  2.483e+00  1.125e+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:  8.703e-01  1.844e-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:  9.152e-01  2.033e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.47
Ra Dec: 21.218 -6.433
Photon Index (Free Index): 2.48 +/- 1.12
Photon Flux (Free Index): 4.98e-08 +/- 6.45e-08
Energy Flux (Free Index): 1.47e-05 +/- 1.51e-05

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/553352/cmap_HighResolution_420508801_420768001_4FGL_J0124.8-0625_daily_bin699.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.32e-03', comment='SUCCESS', photon_flux='3.82e-08', energy_flux2='1.47e-05', photon_flux_error='3.84e-08', dlogl='3.55e-02', energy_flux='1.67e-05', photon_flux2='4.98e-08', job_status='DONE', time_completed='2021-08-13 23:56:04.753557', photon_index_error2='1.12', photon_index2='2.48', ts='1.41', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='1.22e-07', energy_flux_error2='1.51e-05', EG='0.93', time_epoch_completed='1628924164.75', return_code='0', job_id='553352', GAL2='0.87', EG2='0.92', return_code2='0', energy_flux_error='1.68e-05', photon_flux_error2='6.45e-08', ts2='1.47', photon_index='2.21' WHERE bin_id='699' AND source_name='4FGL J0124.8-0625' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 23:56:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 553352: <4FGL_J0124.8-0625_daily_bin699> in cluster <slac> Done

Job <4FGL_J0124.8-0625_daily_bin699> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 23:40:21 2021
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 23:40:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 23:40:49 2021
Terminated at Fri Aug 13 23:56:06 2021
Results reported at Fri Aug 13 23:56:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0124.8-0625_daily_bin699 21.2178 -6.4328 420508801 420768001 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 :                                   894.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             270.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   917 sec.
    Turnaround time :                            945 sec.

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

