/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 188 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 = 7403
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0124.8-0625_daily_bin248
RA = 21.2178, Dec = -6.4328
tmin = 303609601, tmax = 303868801
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='551763', job_status='RUN', time_executed='2021-08-13 23:39:27.127865', time_epoch_executed='1628923167.13' WHERE source_name='4FGL J0124.8-0625' and cadence='daily' and bin_id='248'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551763

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551763/ft1_4FGL_J0124.8-0625_daily_bin248.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551763/ft2_4FGL_J0124.8-0625_daily_bin248.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551763/ft1_4FGL_J0124.8-0625_daily_bin248.fits outfile=/scratch/kocevski/551763/ft1_filteredMKT_4FGL_J0124.8-0625_daily_bin248.fits ra=21.2178 dec=-6.4328 rad=12.0 tmin=303609601.0 tmax=303868801.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.37
user 3.19
sys 1.14

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/551763/ft2_4FGL_J0124.8-0625_daily_bin248.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/551763/ft1_filteredMKT_4FGL_J0124.8-0625_daily_bin248.fits evtable="EVENTS" outfile="/scratch/kocevski/551763/ft1_filtered_4FGL_J0124.8-0625_daily_bin248.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.48
user 0.34
sys 1.12

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/551763/ft1_filtered_4FGL_J0124.8-0625_daily_bin248.fits" evtable="EVENTS" scfile=/scratch/kocevski/551763/ft2_4FGL_J0124.8-0625_daily_bin248.fits sctable="SC_DATA" outfile=/scratch/kocevski/551763/ltcube_303609601_303868801_4FGL_J0124.8-0625_daily_bin248.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/551763/ft2_4FGL_J0124.8-0625_daily_bin248.fits
.....................!
real 13.95
user 12.51
sys 1.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551763/ft1_filtered_4FGL_J0124.8-0625_daily_bin248.fits evtable="EVENTS" scfile=/scratch/kocevski/551763/ft2_4FGL_J0124.8-0625_daily_bin248.fits sctable="SC_DATA" expcube=/scratch/kocevski/551763/ltcube_303609601_303868801_4FGL_J0124.8-0625_daily_bin248.fits outfile=/scratch/kocevski/551763/expmap_303609601_303868801_4FGL_J0124.8-0625_daily_bin248.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/551763/ltcube_303609601_303868801_4FGL_J0124.8-0625_daily_bin248.fits
.....................!
real 191.87
user 185.50
sys 5.96

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/551763/ft1_filtered_4FGL_J0124.8-0625_daily_bin248.fits scfile=/scratch/kocevski/551763/ft2_4FGL_J0124.8-0625_daily_bin248.fits outfile=/scratch/kocevski/551763/cmap_303609601_303868801_4FGL_J0124.8-0625_daily_bin248.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 1.50
user 0.38
sys 1.10

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/551763/ft1_filtered_4FGL_J0124.8-0625_daily_bin248.fits scfile=/scratch/kocevski/551763/ft2_4FGL_J0124.8-0625_daily_bin248.fits outfile=/scratch/kocevski/551763/cmap_HighResolution_303609601_303868801_4FGL_J0124.8-0625_daily_bin248.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 1.50
user 0.38
sys 1.10

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/551763/ft1_filtered_4FGL_J0124.8-0625_daily_bin248.fits evtable="EVENTS" scfile=/scratch/kocevski/551763/ft2_4FGL_J0124.8-0625_daily_bin248.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/551763/Model_4FGL_J0124.8-0625_daily_bin248.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/551763/ft1_filtered_4FGL_J0124.8-0625_daily_bin248.fits.....................!
real 54.13
user 51.44
sys 2.54

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0770       1.0000         .10000E-03   10000.    
     2 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.084       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    39.879       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.4546       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.7416       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12577E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.4619       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .31247E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    56.133       1.0000         .10000E-03   10000.    
    16 'norm      '    2.8752       1.0000         .10000E-03   10000.    
    17 'norm      '    .27454E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.4372       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .82574       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81911       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=   5021.871     FROM MIGRAD    STATUS=CONVERGED    864 CALLS     3088 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0786        2.4529        .16108E-03    .25267E-04
   2  norm          .10000E-03    2.7930        .22757E-03** at limit **
   3  norm          .10000E-03    1.8749        .94552E-03** at limit **
   4  Prefactor     15.096        15.025        .10313E-03   -.36820E-04
   5  Prefactor     .10000E-03    8.7230        .18142E-02** at limit **
   6  Prefactor     39.880        29.542        .63473E-04   -.98439E-04
   7  Prefactor     .10000E-03    37.108        .18142E-02** at limit **
   8  norm          1.4550        1.4574        .81110E-04    .25538E-03
   9  Prefactor     .10000E-03    56.010        .18142E-02** at limit **
  10  Prefactor     3.7437        6.6479        .10437E-02   -.62524E-04
  11  Prefactor     .10000E-03    5.5127        .21785E-02** at limit **
  12  Prefactor     .10000E-03    9.5806        .18142E-02** at limit **
  13  Prefactor     1.4663        13.175        .35581E-03    .21120E-04
  14  Prefactor     .12713E-03    70.055        .15567    ** at limit **
  15  norm          56.161        28.885        .53541E-04    .19734E-03
  16  norm          2.8753        1.4339        .57403E-04   -.79022E-04
  17  norm          .10014E-03    36.149        .23606E-02** at limit **
  18  Prefactor     .10000E-03    101.04        .18142E-02** at limit **
  19  Prefactor     .10000E-03    1.2803        .78189E-03** at limit **
  20  Prefactor     9.4373        5.5753        .12179E-03    .56941E-04
  21  Normalizat    .82591        .20311        .23658E-03    .28160E-04
  22  Prefactor     .81875        .18334        .22174E-03   -.11889E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.07863
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 15.096
  Prefactor  = 0.0001
  Prefactor  = 39.8796
  Prefactor  = 0.0001
  norm       = 1.45505
  Prefactor  = 0.0001
  Prefactor  = 3.74371
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.46631
  Prefactor  = 0.000127134
  norm       = 56.1609
  norm       = 2.87533
  norm       = 0.000100138
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 9.43732
  Normalizat = 0.825906
  Prefactor  = 0.818747
 **********
 **   18 **HESSE 
 **********

 FCN=   5021.871     FROM HESSE     STATUS=OK           332 CALLS     3420 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0786        2.4525        .64431E-05   -1.5500    
   2  norm          .10000E-03    2.7931        .45514E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.8749        .18910E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     15.096        15.025        .41251E-05   -1.4931    
   5  Prefactor     .10000E-03    8.7231        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     39.880        29.539        .12695E-04   -1.4444    
   7  Prefactor     .10000E-03    37.109        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.4550        1.4569        .32444E-05   -1.5467    
   9  Prefactor     .10000E-03    56.018        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.7437        6.6421        .41748E-04   -1.5321    
  11  Prefactor     .10000E-03    5.5409        .43569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.5808        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.4663        13.164        .14232E-04   -1.5466    
  14  Prefactor     .12713E-03    71.474        .15368       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          56.161        28.872        .10708E-04   -1.4208    
  16  norm          2.8753        1.4338        .22961E-05   -1.5369    
  17  norm          .10014E-03    37.071        .94423E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    101.05        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.2804        .15638E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.4373        5.5753        .48717E-05   -1.5093    
  21  Normalizat    .82591        .20327        .94632E-05   -.99115    
  22  Prefactor     .81875        .18354        .88698E-05   -.99041    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.30751e-09
Minuit parameter uncertainties:
  1  2.45275
  2  1.24065e-05
  3  8.23091e-07
  4  15.0288
  5  3.45332e-06
  6  29.5498
  7  8.02542e-05
  8  1.45697
  9  0.00012327
  10  6.64341
  11  3.55883e-05
  12  1.88961e-05
  13  8.78933
  14  0.0881826
  15  28.8788
  16  1.43386
  17  0.00452851
  18  0.000591067
  19  3.41533e-06
  20  5.5756
  21  0.20346
  22  0.18368
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
588    Prefactor:  8.187e-01  1.837e-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:  8.259e-01  2.035e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/551763/likelihoodResults_303609601_303868801_4FGL_J0124.8-0625_daily_bin248.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) = 5021.61313444
delta logL = 0.258328546408

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5021.61301398
delta logL = 0.258449001857

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .89965       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2591       1.0000          .0000       10.000    
     3 'Normalizat'    .80397       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82633       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=   5021.613     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      229 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89966        24.809        .12806E-01    .13248E-02
   2  Index         3.2591        2.5817        .16255        .88107E-04
   3  Normalizat    .80394        .31453E-01    .43662E-01   -.14209E-03
   4  Prefactor     .82638        .29587E-01    .44059E-01    .70991E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.899662
  Index      = 3.2591
  Normalizat = 0.803938
  Prefactor  = 0.826379
 **********
 **   18 **HESSE 
 **********

 FCN=   5021.613     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      262 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89966        98.955        .97249E-04   -1.5518    
   2  Index         3.2591        6.0844        .56918E-02   -.35563    
   3  Normalizat    .80394        .19669        .23943E-03   -.99923    
   4  Prefactor     .82638        .19229        .22073E-03   -.98763    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.74999e-09
Minuit parameter uncertainties:
  1  18.9018
  2  8.85016
  3  0.196861
  4  0.192444
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551763': 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) = 5021.61301395
delta logL = 0.25844903383

Extracting fit parameters...

4FGL J0124.8-0625
   Spectrum: PowerLaw
309    Prefactor:  8.997e-01  1.890e+01  1.000e-04  1.000e+04 ( 1.000e-13)
310        Index:  3.259e+00  8.850e+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.264e-01  1.924e-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:  8.039e-01  1.969e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/551763/cmap_HighResolution_303609601_303868801_4FGL_J0124.8-0625_daily_bin248.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.32e-03', job_status='DONE', photon_flux_upper_limit='8.29e-08', time_completed='2021-08-13 23:50:12.220705', job_id='551763', GAL2='0.83', fit_tolerance='1e-08', EG2='0.80', EG='0.83', time_epoch_completed='1628923812.22', return_code2='102', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='2.58e-01', ts2='0.56', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='248' AND source_name='4FGL J0124.8-0625' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 23:50:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 551763: <4FGL_J0124.8-0625_daily_bin248> in cluster <slac> Done

Job <4FGL_J0124.8-0625_daily_bin248> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Fri Aug 13 23:35:34 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 23:35: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:35:49 2021
Terminated at Fri Aug 13 23:50:13 2021
Results reported at Fri Aug 13 23:50:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0124.8-0625_daily_bin248 21.2178 -6.4328 303609601 303868801 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 :                                   658.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             261.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   863 sec.
    Turnaround time :                            879 sec.

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

