/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 90 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 = 7393
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0141.4-0928_daily_bin1255
RA = 25.3626, Dec = -9.4825
tmin = 564624001, tmax = 564883201
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='783014', job_status='RUN', time_executed='2021-08-14 13:09:08.143902', time_epoch_executed='1628971748.14' WHERE source_name='4FGL J0141.4-0928' and cadence='daily' and bin_id='1255'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/783014

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/783014/ft1_4FGL_J0141.4-0928_daily_bin1255.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/783014/ft2_4FGL_J0141.4-0928_daily_bin1255.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/783014/ft1_4FGL_J0141.4-0928_daily_bin1255.fits outfile=/scratch/kocevski/783014/ft1_filteredMKT_4FGL_J0141.4-0928_daily_bin1255.fits ra=25.3626 dec=-9.4825 rad=12.0 tmin=564624001.0 tmax=564883201.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.61
user 2.67
sys 1.45

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/783014/ft2_4FGL_J0141.4-0928_daily_bin1255.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/783014/ft2_4FGL_J0141.4-0928_daily_bin1255.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/783014/ft1_filteredMKT_4FGL_J0141.4-0928_daily_bin1255.fits evtable="EVENTS" outfile="/scratch/kocevski/783014/ft1_filtered_4FGL_J0141.4-0928_daily_bin1255.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 2.07
user 0.29
sys 1.28

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/783014/ft1_filtered_4FGL_J0141.4-0928_daily_bin1255.fits" evtable="EVENTS" scfile=/scratch/kocevski/783014/ft2_4FGL_J0141.4-0928_daily_bin1255.fits sctable="SC_DATA" outfile=/scratch/kocevski/783014/ltcube_564624001_564883201_4FGL_J0141.4-0928_daily_bin1255.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/783014/ft2_4FGL_J0141.4-0928_daily_bin1255.fits
.....................!
real 12.47
user 10.17
sys 1.69

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/783014/ft1_filtered_4FGL_J0141.4-0928_daily_bin1255.fits evtable="EVENTS" scfile=/scratch/kocevski/783014/ft2_4FGL_J0141.4-0928_daily_bin1255.fits sctable="SC_DATA" expcube=/scratch/kocevski/783014/ltcube_564624001_564883201_4FGL_J0141.4-0928_daily_bin1255.fits outfile=/scratch/kocevski/783014/expmap_564624001_564883201_4FGL_J0141.4-0928_daily_bin1255.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/783014/ltcube_564624001_564883201_4FGL_J0141.4-0928_daily_bin1255.fits
.....................!
real 162.58
user 147.76
sys 6.00

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

Setting source of interest to:
4FGL J0141.4-0928 @ 25.3626 -9.4825

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/783014/ft1_filtered_4FGL_J0141.4-0928_daily_bin1255.fits scfile=/scratch/kocevski/783014/ft2_4FGL_J0141.4-0928_daily_bin1255.fits outfile=/scratch/kocevski/783014/cmap_564624001_564883201_4FGL_J0141.4-0928_daily_bin1255.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=25.3626 yref=-9.4825 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 2.57
user 0.31
sys 1.37

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/783014/ft1_filtered_4FGL_J0141.4-0928_daily_bin1255.fits scfile=/scratch/kocevski/783014/ft2_4FGL_J0141.4-0928_daily_bin1255.fits outfile=/scratch/kocevski/783014/cmap_HighResolution_564624001_564883201_4FGL_J0141.4-0928_daily_bin1255.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=25.3626 yref=-9.4825 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.82
user 0.32
sys 1.37

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/783014/ft1_filtered_4FGL_J0141.4-0928_daily_bin1255.fits evtable="EVENTS" scfile=/scratch/kocevski/783014/ft2_4FGL_J0141.4-0928_daily_bin1255.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/783014/Model_4FGL_J0141.4-0928_daily_bin1255.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/783014/ft1_filtered_4FGL_J0141.4-0928_daily_bin1255.fits......................!
real 36.01
user 29.77
sys 2.53

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/783014/ft1_filtered_4FGL_J0141.4-0928_daily_bin1255.fits', '/scratch/kocevski/783014/ft2_4FGL_J0141.4-0928_daily_bin1255.fits', expMap='/scratch/kocevski/783014/expmap_564624001_564883201_4FGL_J0141.4-0928_daily_bin1255.fits', expCube='/scratch/kocevski/783014/ltcube_564624001_564883201_4FGL_J0141.4-0928_daily_bin1255.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/783014/Model_4FGL_J0141.4-0928_daily_bin1255.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0141.4-0928'

4FGL J0141.4-0928
   Spectrum: LogParabola
291         norm:  5.910e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        alpha:  2.087e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  4.785e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  7.076e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/783014/ft1_filtered_4FGL_J0141.4-0928_daily_bin1255.fits
Spacecraft file(s): /scratch/kocevski/783014/ft2_4FGL_J0141.4-0928_daily_bin1255.fits
Exposure map: /scratch/kocevski/783014/expmap_564624001_564883201_4FGL_J0141.4-0928_daily_bin1255.fits
Exposure cube: /scratch/kocevski/783014/ltcube_564624001_564883201_4FGL_J0141.4-0928_daily_bin1255.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/783014/Model_4FGL_J0141.4-0928_daily_bin1255.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) = 3035.25873596

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13062E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.218       1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.648       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .22147E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.776       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    40.800       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    7.5699       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .22884E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .23044E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    8.2911       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11763E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.6684       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0013       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .80856       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3035.247     FROM MIGRAD    STATUS=CONVERGED    452 CALLS     2075 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.803       -.16604E-05** at limit **
   2  Prefactor     .10000E-03    72.692       -.30766E-06** at limit **
   3  Prefactor     18.198        34.430       -.48144E-05    .51802E-04
   4  Prefactor     21.878        57.759        .15367E-04    .33562E-03
   5  Prefactor     .10006E-03    6.6699       -.29764E-05** at limit **
   6  Prefactor     .10000E-03    2.8498        .18537E-06** at limit **
   7  Prefactor     11.770        42.518        .71450E-05    .10471E-04
   8  Prefactor     .10000E-03    5.0608       -.34909E-06** at limit **
   9  norm          40.766        49.455        .10586E-04    .25235E-04
  10  norm          .10000E-03    1.0219        .50720E-07** at limit **
  11  norm          7.5676        8.9489       -.39255E-06   -.70742E-04
  12  Prefactor     .10000E-03    655.36       -.10518E-04** at limit **
  13  Prefactor     .10000E-03    3.4257       -.86294E-07** at limit **
  14  norm          8.2919        9.6830       -.11526E-04   -.14105E-03
  15  Prefactor     .10000E-03    15.195       -.84494E-06** at limit **
  16  Prefactor     2.6912        64.239        .35006E-04   -.22308E-04
  17  Prefactor     .10000E-03    31.499        .12900E-05** at limit **
  18  Prefactor     .10000E-03    7.0286        .70500E-07** at limit **
  19  Normalizat    1.0013        .25177       -.16597E-05    .36657E-03
  20  Prefactor     .80858        .21154       -.17946E-06    .27053E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.1976
  Prefactor  = 21.8778
  Prefactor  = 0.000100055
  Prefactor  = 0.0001
  Prefactor  = 11.7702
  Prefactor  = 0.0001
  norm       = 40.7664
  norm       = 0.0001
  norm       = 7.56756
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.29188
  Prefactor  = 0.000100002
  Prefactor  = 2.69124
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.00132
  Prefactor  = 0.808578
 **********
 **   18 **HESSE 
 **********

 FCN=   3035.247     FROM HESSE     STATUS=OK           289 CALLS     2364 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    73.333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.198        34.438        .93836E-04   -1.4855    
   4  Prefactor     21.878        52.483        .86087E-04   -1.4772    
   5  Prefactor     .10006E-03    183.49        .23666E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.8763        .90766E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.770        42.433        .11674E-03   -1.5022    
   8  Prefactor     .10000E-03    5.0749        .12104E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          40.766        49.515        .62755E-04   -1.4430    
  10  norm          .10000E-03    1.0275        .54380E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          7.5676        8.9346        .14576E-03   -1.5158    
  12  Prefactor     .10000E-03    662.92        .20104E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.5044        .19817E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          8.2919        9.7383        .13923E-03   -1.5132    
  15  Prefactor     .10000E-03    15.687        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.6912        62.694        .24949E-03   -1.5380    
  17  Prefactor     .10000E-03    31.511        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.0307        .14266E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0013        .29134        .24235E-03   -.92986    
  20  Prefactor     .80858        .24491        .23780E-03   -.99413    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06983e-09
Minuit parameter uncertainties:
  1  7.26275e-06
  2  5.15502e-05
  3  34.4752
  4  52.5943
  5  0.0064019
  6  2.13073e-05
  7  42.5417
  8  2.47257e-05
  9  49.5648
  10  6.95624e-06
  11  8.93617
  12  0.00115691
  13  0.000112282
  14  9.74016
  15  0.000327398
  16  26.0091
  17  0.000190716
  18  9.11221e-06
  19  0.291802
  20  0.245239
Done.

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

Extracting fit parameters...

4FGL J0141.4-0928
   Spectrum: LogParabola
291         norm:  7.568e+00  8.936e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        alpha:  2.087e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  4.785e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  7.076e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
559    Prefactor:  8.086e-01  2.452e-01  0.000e+00  1.000e+01 ( 1.000e+00)
560        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
561        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
558   Normalization:  1.001e+00  2.918e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.25
Ra Dec: 25.363 -9.482
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 3.78e-08 +/- 4.46e-08
Energy Flux (Fixed Index): 1.89e-05 +/- 2.23e-05

TS (Fixed Index): 1.25
Ra Dec: 25.363 -9.482
Photon Flux Upper Limit: 1.42e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.12e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/783014/likelihoodResults_564624001_564883201_4FGL_J0141.4-0928_daily_bin1255.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) = 3035.21277899
delta logL = 0.0341660638956

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3035.21185639
delta logL = 0.035088660969

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.5333       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3106       1.0000          .0000       5.0000    
     3 'Normalizat'    .99110       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81363       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5620E+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=   3035.212     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      258 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.5205        8.3666        .73058E-03   -.18982E-03
   2  alpha         2.3087        .85177        .14652E-01   -.18359E-04
   3  Normalizat    .99116        .27352        .24340E-03   -.49096E-03
   4  Prefactor     .81370        .24275        .23709E-03   -.50361E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.52053
  alpha      = 2.3087
  Normalizat = 0.991164
  Prefactor  = 0.813696
 **********
 **   18 **HESSE 
 **********

 FCN=   3035.212     FROM HESSE     STATUS=OK            23 CALLS      281 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.5205        8.2789        .29223E-04   -1.5159    
   2  alpha         2.3087        .84278        .58610E-03   -.76595E-01
   3  Normalizat    .99116        .27362        .48681E-04   -.93327    
   4  Prefactor     .81370        .24282        .47419E-04   -.99225    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.36979e-10
Minuit parameter uncertainties:
  1  8.28017
  2  0.859725
  3  0.27401
  4  0.243142
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/783014': 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) = 3035.21185172
delta logL = 0.0350933298009

Extracting fit parameters...

4FGL J0141.4-0928
   Spectrum: LogParabola
291         norm:  7.521e+00  8.280e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        alpha:  2.309e+00  8.597e-01  0.000e+00  5.000e+00 ( 1.000e+00)
293         beta:  4.785e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  7.076e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
559    Prefactor:  8.137e-01  2.431e-01  0.000e+00  1.000e+01 ( 1.000e+00)
560        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
561        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
558   Normalization:  9.912e-01  2.740e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.32
Ra Dec: 25.363 -9.482
Photon Index (Free Index): 2.31 +/- 0.86
Photon Flux (Free Index): 4.79e-08 +/- 6.32e-08
Energy Flux (Free Index): 1.72e-05 +/- 1.93e-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/783014/cmap_HighResolution_564624001_564883201_4FGL_J0141.4-0928_daily_bin1255.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.12e-05', comment='SUCCESS', photon_flux='3.78e-08', energy_flux2='1.72e-05', photon_flux_error='4.46e-08', dlogl='3.51e-02', energy_flux='1.89e-05', photon_flux2='4.79e-08', job_status='DONE', time_completed='2021-08-14 13:15:52.320467', photon_index_error2='0.86', photon_index2='2.31', ts='1.25', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='1.42e-07', energy_flux_error2='1.93e-05', EG='1.00', time_epoch_completed='1628972152.32', return_code='0', job_id='783014', GAL2='0.81', EG2='0.99', return_code2='0', energy_flux_error='2.23e-05', photon_flux_error2='6.32e-08', ts2='1.32', photon_index='2.09' WHERE bin_id='1255' AND source_name='4FGL J0141.4-0928' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 13:15:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0135>
Subject: Job 783014: <4FGL_J0141.4-0928_daily_bin1255> in cluster <slac> Done

Job <4FGL_J0141.4-0928_daily_bin1255> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 13:05:38 2021
Job was executed on host(s) <bullet0135>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 13:06:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 13:06:27 2021
Terminated at Sat Aug 14 13:15:55 2021
Results reported at Sat Aug 14 13:15:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0141.4-0928_daily_bin1255 25.3626 -9.4825 564624001 564883201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0141.4-0928 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   402.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             265.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   567 sec.
    Turnaround time :                            617 sec.

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

