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


Performing analysis on: 4FGL_J0124.8-0625_daily_bin922
RA = 21.2178, Dec = -6.4328
tmin = 478310401, tmax = 478569601
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='553670', job_status='RUN', time_executed='2021-08-13 23:45:05.387182', time_epoch_executed='1628923505.39' WHERE source_name='4FGL J0124.8-0625' and cadence='daily' and bin_id='922'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/553670

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/553670/ft1_4FGL_J0124.8-0625_daily_bin922.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/553670/ft2_4FGL_J0124.8-0625_daily_bin922.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/553670/ft1_4FGL_J0124.8-0625_daily_bin922.fits outfile=/scratch/kocevski/553670/ft1_filteredMKT_4FGL_J0124.8-0625_daily_bin922.fits ra=21.2178 dec=-6.4328 rad=12.0 tmin=478310401.0 tmax=478569601.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 9.17
user 3.30
sys 5.77

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/553670/ft1_filtered_4FGL_J0124.8-0625_daily_bin922.fits" evtable="EVENTS" scfile=/scratch/kocevski/553670/ft2_4FGL_J0124.8-0625_daily_bin922.fits sctable="SC_DATA" outfile=/scratch/kocevski/553670/ltcube_478310401_478569601_4FGL_J0124.8-0625_daily_bin922.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/553670/ft2_4FGL_J0124.8-0625_daily_bin922.fits
.....................!
real 18.71
user 11.94
sys 6.61

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/553670/ft1_filtered_4FGL_J0124.8-0625_daily_bin922.fits evtable="EVENTS" scfile=/scratch/kocevski/553670/ft2_4FGL_J0124.8-0625_daily_bin922.fits sctable="SC_DATA" expcube=/scratch/kocevski/553670/ltcube_478310401_478569601_4FGL_J0124.8-0625_daily_bin922.fits outfile=/scratch/kocevski/553670/expmap_478310401_478569601_4FGL_J0124.8-0625_daily_bin922.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/553670/ltcube_478310401_478569601_4FGL_J0124.8-0625_daily_bin922.fits
.....................!
real 200.93
user 187.40
sys 12.95

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/553670/ft1_filtered_4FGL_J0124.8-0625_daily_bin922.fits scfile=/scratch/kocevski/553670/ft2_4FGL_J0124.8-0625_daily_bin922.fits outfile=/scratch/kocevski/553670/cmap_478310401_478569601_4FGL_J0124.8-0625_daily_bin922.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 6.08
user 0.38
sys 5.62

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/553670/ft1_filtered_4FGL_J0124.8-0625_daily_bin922.fits scfile=/scratch/kocevski/553670/ft2_4FGL_J0124.8-0625_daily_bin922.fits outfile=/scratch/kocevski/553670/cmap_HighResolution_478310401_478569601_4FGL_J0124.8-0625_daily_bin922.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 6.08
user 0.39
sys 5.65

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/553670/ft1_filtered_4FGL_J0124.8-0625_daily_bin922.fits evtable="EVENTS" scfile=/scratch/kocevski/553670/ft2_4FGL_J0124.8-0625_daily_bin922.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/553670/Model_4FGL_J0124.8-0625_daily_bin922.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/553670/ft1_filtered_4FGL_J0124.8-0625_daily_bin922.fits.....................!
real 65.75
user 56.92
sys 8.50

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7756       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .16026E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.472       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.0013       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.5258       1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.364       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11522E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    28.089       1.0000         .10000E-03   10000.    
    15 'norm      '    23.186       1.0000         .10000E-03   10000.    
    16 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.3297       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.9415       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .15121E-01   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0937       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .70417       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=   5518.587     FROM MIGRAD    STATUS=CONVERGED    531 CALLS     2157 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7753        2.5234        .58340E-07    .35830E-03
   2  norm          .10000E-03    2.1055       -.20973E-06** at limit **
   3  norm          .10000E-03    5.3118        .17270E-06** at limit **
   4  Prefactor     .10010E-03    23.252        .53651E-05** at limit **
   5  Prefactor     .10000E-03    31.608       -.30195E-06** at limit **
   6  Prefactor     11.469        26.218       -.23675E-07    .76697E-04
   7  Prefactor     .10000E-03    20.840       -.56021E-07** at limit **
   8  norm          7.0013        1.9993        .77842E-08    .45326E-03
   9  Prefactor     .10000E-03    12.321       -.49810E-07** at limit **
  10  Prefactor     .10000E-03    3.0952       -.18717E-06** at limit **
  11  Prefactor     5.5243        3.9481        .28742E-06    .88817E-03
  12  Prefactor     10.367        29.345        .13541E-06    .97849E-04
  13  Prefactor     .10000E-03    10.262        .12827E-05** at limit **
  14  Prefactor     28.079        35.329       -.28716E-06    .19976E-04
  15  norm          23.188        21.329       -.19286E-06    .23024E-03
  16  norm          .10000E-03    .58891       -.24760E-06** at limit **
  17  norm          .10000E-03    1.3530        .68457E-06** at limit **
  18  Prefactor     8.3309        88.455       -.27721E-07    .17672E-04
  19  Prefactor     1.9416        5.5331        .51289E-05   -.33675E-03
  20  Prefactor     .11056E-03    2.7958       -.14489E-05** at limit **
  21  Normalizat    1.0937        .17685       -.12773E-05    .10444E-02
  22  Prefactor     .70417        .15323        .21273E-05    .11835E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77528
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100101
  Prefactor  = 0.0001
  Prefactor  = 11.4685
  Prefactor  = 0.0001
  norm       = 7.00129
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.52434
  Prefactor  = 10.3672
  Prefactor  = 0.000100002
  Prefactor  = 28.0795
  norm       = 23.1884
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 8.33092
  Prefactor  = 1.94164
  Prefactor  = 0.000110563
  Normalizat = 1.09368
  Prefactor  = 0.704171
 **********
 **   18 **HESSE 
 **********

 FCN=   5518.587     FROM HESSE     STATUS=OK           354 CALLS     2511 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7753        2.5180        .10620E-03   -1.5375    
   2  norm          .10000E-03    2.1403        .10533E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    5.4679        .16680E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10010E-03    177.44        .60099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    31.771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.469        26.140        .11828E-03   -1.5031    
   7  Prefactor     .10000E-03    20.843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.0013        1.9997        .53474E-04   -1.5179    
   9  Prefactor     .10000E-03    12.334        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.1195        .12766E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.5243        3.9513        .11727E-03   -1.5238    
  12  Prefactor     10.367        29.299        .12446E-03   -1.5064    
  13  Prefactor     .10000E-03    10.757        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     28.079        35.342        .75592E-04   -1.4648    
  15  norm          23.188        21.335        .83187E-04   -1.4745    
  16  norm          .10000E-03    1.0637        .11050E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.3913        .85456E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.3309        88.420        .13890E-03   -1.5131    
  19  Prefactor     1.9416        5.7357        .14537E-02   -1.5429    
  20  Prefactor     .11056E-03    6.8872        .37327E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0937        .19784        .22167E-03   -.89955    
  22  Prefactor     .70417        .17698        .25013E-03   -1.0336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.78731e-09
Minuit parameter uncertainties:
  1  2.51805
  2  2.72183e-05
  3  2.63492e-05
  4  0.00847415
  5  0.00014911
  6  26.1662
  7  2.24505e-05
  8  1.99969
  9  1.54017e-05
  10  2.75105e-05
  11  3.95145
  12  29.3392
  13  0.000325842
  14  35.3687
  15  21.3423
  16  1.73422e-05
  17  6.44435e-05
  18  54.3843
  19  5.7373
  20  0.0170606
  21  0.197973
  22  0.177125
Done.

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

Extracting fit parameters...

4FGL J0124.8-0625
   Spectrum: PowerLaw
309    Prefactor:  1.000e-04  3.258e-04  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:  7.042e-01  1.771e-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.094e+00  1.980e-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: 5.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/553670/likelihoodResults_478310401_478569601_4FGL_J0124.8-0625_daily_bin922.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) = 5518.58704565
delta logL = -0.000440602570052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5518.586605
delta logL = 4.84133124701e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2301       1.0000          .0000       10.000    
     3 'Normalizat'    1.0937       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70416       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=   5518.587     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      220 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.7595        .57250E-01** at limit **
   2  Index         2.2471        2.9680        .50000       -.14537E-04
   3  Normalizat    1.0937        .33560E-02    .38263E-01   -.18479E-03
   4  Prefactor     .70417        .31182E-02    .42457E-01   -.43719E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.24711
  Normalizat = 1.09368
  Prefactor  = 0.704168
 **********
 **   18 **HESSE 
 **********

 FCN=   5518.587     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      253 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2282.3        .30499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2471        6.1453        .50000       -.58306    
   3  Normalizat    1.0937        .12238        .22167E-03   -.89955    
   4  Prefactor     .70417        .11349        .25013E-03   -1.0336    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.30819e-09
Minuit parameter uncertainties:
  1  0.00343514
  2  62.7437
  3  0.122413
  4  0.113532
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/553670': 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) = 5518.58660494
delta logL = 1.05913386506e-07

Extracting fit parameters...

4FGL J0124.8-0625
   Spectrum: PowerLaw
309    Prefactor:  1.000e-04  3.435e-03  1.000e-04  1.000e+04 ( 1.000e-13)
310        Index:  2.247e+00  6.274e+01  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:  7.042e-01  1.135e-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.094e+00  1.224e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/553670/cmap_HighResolution_478310401_478569601_4FGL_J0124.8-0625_daily_bin922.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.50e-03', job_status='DONE', photon_flux_upper_limit='5.90e-08', time_completed='2021-08-13 23:56:39.781836', job_id='553670', GAL2='0.70', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1628924199.78', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='1.06e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='922' AND source_name='4FGL J0124.8-0625' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 23:56:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 553670: <4FGL_J0124.8-0625_daily_bin922> in cluster <slac> Done

Job <4FGL_J0124.8-0625_daily_bin922> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 23:40:42 2021
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 23:43:24 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:43:24 2021
Terminated at Fri Aug 13 23:56:41 2021
Results reported at Fri Aug 13 23:56:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0124.8-0625_daily_bin922 21.2178 -6.4328 478310401 478569601 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 :                                   780.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             286.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   796 sec.
    Turnaround time :                            959 sec.

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

