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


Performing analysis on: 4FGL_J0141.4-0928_daily_bin1273
RA = 25.3626, Dec = -9.4825
tmin = 569289601, tmax = 569548801
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='783042', job_status='RUN', time_executed='2021-08-14 13:09:04.509601', time_epoch_executed='1628971744.51' WHERE source_name='4FGL J0141.4-0928' and cadence='daily' and bin_id='1273'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/783042

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/783042/ft1_4FGL_J0141.4-0928_daily_bin1273.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/783042/ft2_4FGL_J0141.4-0928_daily_bin1273.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/783042/ft1_4FGL_J0141.4-0928_daily_bin1273.fits outfile=/scratch/kocevski/783042/ft1_filteredMKT_4FGL_J0141.4-0928_daily_bin1273.fits ra=25.3626 dec=-9.4825 rad=12.0 tmin=569289601.0 tmax=569548801.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 5.34
user 3.35
sys 1.11

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/783042/ft2_4FGL_J0141.4-0928_daily_bin1273.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/783042/ft1_filteredMKT_4FGL_J0141.4-0928_daily_bin1273.fits evtable="EVENTS" outfile="/scratch/kocevski/783042/ft1_filtered_4FGL_J0141.4-0928_daily_bin1273.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.47
user 0.33
sys 1.04

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/783042/ft1_filtered_4FGL_J0141.4-0928_daily_bin1273.fits" evtable="EVENTS" scfile=/scratch/kocevski/783042/ft2_4FGL_J0141.4-0928_daily_bin1273.fits sctable="SC_DATA" outfile=/scratch/kocevski/783042/ltcube_569289601_569548801_4FGL_J0141.4-0928_daily_bin1273.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/783042/ft2_4FGL_J0141.4-0928_daily_bin1273.fits
.....................!
real 14.41
user 12.13
sys 1.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/783042/ft1_filtered_4FGL_J0141.4-0928_daily_bin1273.fits evtable="EVENTS" scfile=/scratch/kocevski/783042/ft2_4FGL_J0141.4-0928_daily_bin1273.fits sctable="SC_DATA" expcube=/scratch/kocevski/783042/ltcube_569289601_569548801_4FGL_J0141.4-0928_daily_bin1273.fits outfile=/scratch/kocevski/783042/expmap_569289601_569548801_4FGL_J0141.4-0928_daily_bin1273.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/783042/ltcube_569289601_569548801_4FGL_J0141.4-0928_daily_bin1273.fits
.....................!
real 197.84
user 186.09
sys 6.45

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/783042/ft1_filtered_4FGL_J0141.4-0928_daily_bin1273.fits scfile=/scratch/kocevski/783042/ft2_4FGL_J0141.4-0928_daily_bin1273.fits outfile=/scratch/kocevski/783042/cmap_569289601_569548801_4FGL_J0141.4-0928_daily_bin1273.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 1.64
user 0.36
sys 1.04

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/783042/ft1_filtered_4FGL_J0141.4-0928_daily_bin1273.fits scfile=/scratch/kocevski/783042/ft2_4FGL_J0141.4-0928_daily_bin1273.fits outfile=/scratch/kocevski/783042/cmap_HighResolution_569289601_569548801_4FGL_J0141.4-0928_daily_bin1273.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 2.65
user 0.38
sys 1.04

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/783042/ft1_filtered_4FGL_J0141.4-0928_daily_bin1273.fits evtable="EVENTS" scfile=/scratch/kocevski/783042/ft2_4FGL_J0141.4-0928_daily_bin1273.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/783042/Model_4FGL_J0141.4-0928_daily_bin1273.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/783042/ft1_filtered_4FGL_J0141.4-0928_daily_bin1273.fits.....................!
real 56.22
user 50.33
sys 2.40

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/783042/ft1_filtered_4FGL_J0141.4-0928_daily_bin1273.fits', '/scratch/kocevski/783042/ft2_4FGL_J0141.4-0928_daily_bin1273.fits', expMap='/scratch/kocevski/783042/expmap_569289601_569548801_4FGL_J0141.4-0928_daily_bin1273.fits', expCube='/scratch/kocevski/783042/ltcube_569289601_569548801_4FGL_J0141.4-0928_daily_bin1273.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/783042/Model_4FGL_J0141.4-0928_daily_bin1273.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/783042/ft1_filtered_4FGL_J0141.4-0928_daily_bin1273.fits
Spacecraft file(s): /scratch/kocevski/783042/ft2_4FGL_J0141.4-0928_daily_bin1273.fits
Exposure map: /scratch/kocevski/783042/expmap_569289601_569548801_4FGL_J0141.4-0928_daily_bin1273.fits
Exposure cube: /scratch/kocevski/783042/ltcube_569289601_569548801_4FGL_J0141.4-0928_daily_bin1273.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/783042/Model_4FGL_J0141.4-0928_daily_bin1273.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) = 4982.00269117

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.431       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .32382E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.4636       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.024       1.0000         .10000E-03   10000.    
     9 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .51042       1.0000         .10000E-03   10000.    
    11 'norm      '    16.708       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.4469       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.9704       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .92249       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96820       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=   4981.978     FROM MIGRAD    STATUS=CONVERGED    722 CALLS     2335 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.428        27.024        .70361E-04    .63661E-04
   2  Prefactor     .10000E-03    17.800        .18142E-02** at limit **
   3  Prefactor     .10001E-03    51.863        .12814    ** at limit **
   4  Prefactor     4.4610        52.747        .19059E-03    .42710E-04
   5  Prefactor     .10000E-03    2.4486        .10769E-02** at limit **
   6  Prefactor     .10000E-03    3.0580        .23807E-03** at limit **
   7  Prefactor     .10000E-03    65.004        .18142E-02** at limit **
   8  Prefactor     22.024        14.982        .85350E-04    .20646E-03
   9  norm          .10000E-03    15.455        .18142E-02** at limit **
  10  norm          .51087        1.3198        .12241E-03    .48007E-03
  11  norm          16.710        8.2742        .48992E-03    .10191E-02
  12  Prefactor     .10000E-03    45.406        .18142E-02** at limit **
  13  Prefactor     .10000E-03    2.0049        .97482E-03** at limit **
  14  norm          3.4471        2.2108        .80151E-04    .35475E-03
  15  Prefactor     2.9712        4.3819        .16969E-03    .50061E-03
  16  Prefactor     .10000E-03    3.8374        .13498E-02** at limit **
  17  Prefactor     .10000E-03    7.1935        .18142E-02** at limit **
  18  Prefactor     .10000E-03    13.310        .18142E-02** at limit **
  19  Normalizat    .92256        .21513        .24629E-03    .52489E-03
  20  Prefactor     .96801        .20731        .23775E-03    .73789E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.4281
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 4.46104
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.0238
  norm       = 0.0001
  norm       = 0.510872
  norm       = 16.7096
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 3.44713
  Prefactor  = 2.97116
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.922563
  Prefactor  = 0.968012
 **********
 **   18 **HESSE 
 **********

 FCN=   4981.978     FROM HESSE     STATUS=OK           281 CALLS     2616 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.428        27.024        .14072E-04   -1.4568    
   2  Prefactor     .10000E-03    17.801        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    50.078        .13111       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.4610        52.740        .76236E-05   -1.5286    
   5  Prefactor     .10000E-03    2.4486        .21538E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.0580        .47613E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    65.012        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.024        14.982        .34140E-05   -1.4769    
   9  norm          .10000E-03    15.456        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .51087        1.3196        .48964E-05   -1.5565    
  11  norm          16.710        8.2739        .19597E-04   -1.4890    
  12  Prefactor     .10000E-03    45.408        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.0050        .19496E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.4471        2.2108        .32060E-05   -1.5337    
  15  Prefactor     2.9712        4.3815        .67875E-05   -1.5363    
  16  Prefactor     .10000E-03    3.8375        .26996E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.1936        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.314        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .92256        .21527        .49258E-04   -.95672    
  20  Prefactor     .96801        .20745        .47551E-04   -.93804    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15908e-09
Minuit parameter uncertainties:
  1  27.0342
  2  0.000175864
  3  0.00112845
  4  30.7109
  5  8.29344e-06
  6  1.93071e-05
  7  0.000200156
  8  14.9848
  9  0.000143218
  10  1.31966
  11  8.27449
  12  0.000317237
  13  6.53161e-06
  14  2.21087
  15  4.38193
  16  1.65423e-05
  17  1.37916e-05
  18  4.46873e-05
  19  0.215466
  20  0.20762
Done.

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

Extracting fit parameters...

4FGL J0141.4-0928
   Spectrum: LogParabola
291         norm:  1.671e+01  8.274e+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:  9.680e-01  2.076e-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.226e-01  2.155e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.18
Ra Dec: 25.363 -9.482
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 8.35e-08 +/- 4.13e-08
Energy Flux (Fixed Index): 4.18e-05 +/- 2.07e-05

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) = 4981.84395847
delta logL = 0.133810436264

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4981.84278649
delta logL = 0.134982421909

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.582       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3257       1.0000          .0000       5.0000    
     3 'Normalizat'    .90047       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98225       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4981.843     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      301 TOTAL
                     EDM=   .19E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.564        8.4363        .50731E-03    .46433E-04
   2  alpha         2.3243        .47963        .10122E-01    .72369E-05
   3  Normalizat    .90050        .21121        .24882E-03   -.70819E-05
   4  Prefactor     .98245        .20641        .23617E-03   -.33215E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 15.5638
  alpha      = 2.32427
  Normalizat = 0.900503
  Prefactor  = 0.98245
 **********
 **   18 **HESSE 
 **********

 FCN=   4981.843     FROM HESSE     STATUS=OK            27 CALLS      328 TOTAL
                     EDM=   .50E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.564        8.2700        .10146E-03   -1.4919    
   2  alpha         2.3243        .46995        .40486E-03   -.70351E-01
   3  Normalizat    .90050        .21125        .99530E-05   -.96442    
   4  Prefactor     .98245        .20644        .94467E-05   -.93317    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.04328e-13
Minuit parameter uncertainties:
  1  8.27065
  2  0.472778
  3  0.211449
  4  0.206604
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/783042': 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) = 4981.84277211
delta logL = 0.134996795493

Extracting fit parameters...

4FGL J0141.4-0928
   Spectrum: LogParabola
291         norm:  1.556e+01  8.271e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        alpha:  2.324e+00  4.728e-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:  9.825e-01  2.066e-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.005e-01  2.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.43
Ra Dec: 25.363 -9.482
Photon Index (Free Index): 2.32 +/- 0.47
Photon Flux (Free Index): 1.01e-07 +/- 5.73e-08
Energy Flux (Free Index): 3.54e-05 +/- 1.95e-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/783042/cmap_HighResolution_569289601_569548801_4FGL_J0141.4-0928_daily_bin1273.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.35e-08', energy_flux2='3.54e-05', photon_flux_error='4.13e-08', dlogl='1.35e-01', energy_flux='4.18e-05', photon_flux2='1.01e-07', job_status='DONE', time_completed='2021-08-14 13:19:00.975151', photon_index_error2='0.47', photon_index2='2.32', ts='9.18', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.95e-05', EG='0.92', time_epoch_completed='1628972340.98', return_code='0', job_id='783042', GAL2='0.98', EG2='0.90', return_code2='0', energy_flux_error='2.07e-05', photon_flux_error2='5.73e-08', ts2='9.43', photon_index='2.09' WHERE bin_id='1273' AND source_name='4FGL J0141.4-0928' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 13:19:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 783042: <4FGL_J0141.4-0928_daily_bin1273> in cluster <slac> Done

Job <4FGL_J0141.4-0928_daily_bin1273> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 13:05:41 2021
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 13:06:45 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:45 2021
Terminated at Sat Aug 14 13:19:05 2021
Results reported at Sat Aug 14 13:19:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0141.4-0928_daily_bin1273 25.3626 -9.4825 569289601 569548801 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 :                                   549.25 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             246.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   739 sec.
    Turnaround time :                            804 sec.

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

