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


Performing analysis on: 4FGL_J0141.4-0928_daily_bin1608
RA = 25.3626, Dec = -9.4825
tmin = 656121601, tmax = 656380801
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='142221', job_status='RUN', time_executed='2021-12-07 12:17:30.121651', time_epoch_executed='1638908250.12' WHERE source_name='4FGL J0141.4-0928' and cadence='daily' and bin_id='1608'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/142221

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/142221/ft1_4FGL_J0141.4-0928_daily_bin1608.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/142221/ft2_4FGL_J0141.4-0928_daily_bin1608.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/142221/ft1_4FGL_J0141.4-0928_daily_bin1608.fits outfile=/scratch/kocevski/142221/ft1_filteredMKT_4FGL_J0141.4-0928_daily_bin1608.fits ra=25.3626 dec=-9.4825 rad=12.0 tmin=656121601.0 tmax=656380801.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 3.54
user 3.32
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/142221/ft2_4FGL_J0141.4-0928_daily_bin1608.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/142221/ft1_filteredMKT_4FGL_J0141.4-0928_daily_bin1608.fits evtable="EVENTS" outfile="/scratch/kocevski/142221/ft1_filtered_4FGL_J0141.4-0928_daily_bin1608.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 0.55
user 0.37
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/142221/ft1_filtered_4FGL_J0141.4-0928_daily_bin1608.fits" evtable="EVENTS" scfile=/scratch/kocevski/142221/ft2_4FGL_J0141.4-0928_daily_bin1608.fits sctable="SC_DATA" outfile=/scratch/kocevski/142221/ltcube_656121601_656380801_4FGL_J0141.4-0928_daily_bin1608.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/142221/ft2_4FGL_J0141.4-0928_daily_bin1608.fits
.....................!
real 16.12
user 15.71
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/142221/ft1_filtered_4FGL_J0141.4-0928_daily_bin1608.fits evtable="EVENTS" scfile=/scratch/kocevski/142221/ft2_4FGL_J0141.4-0928_daily_bin1608.fits sctable="SC_DATA" expcube=/scratch/kocevski/142221/ltcube_656121601_656380801_4FGL_J0141.4-0928_daily_bin1608.fits outfile=/scratch/kocevski/142221/expmap_656121601_656380801_4FGL_J0141.4-0928_daily_bin1608.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/142221/ltcube_656121601_656380801_4FGL_J0141.4-0928_daily_bin1608.fits
.....................!
real 194.33
user 187.49
sys 4.88

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/142221/ft1_filtered_4FGL_J0141.4-0928_daily_bin1608.fits scfile=/scratch/kocevski/142221/ft2_4FGL_J0141.4-0928_daily_bin1608.fits outfile=/scratch/kocevski/142221/cmap_656121601_656380801_4FGL_J0141.4-0928_daily_bin1608.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 0.59
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/142221/ft1_filtered_4FGL_J0141.4-0928_daily_bin1608.fits scfile=/scratch/kocevski/142221/ft2_4FGL_J0141.4-0928_daily_bin1608.fits outfile=/scratch/kocevski/142221/cmap_HighResolution_656121601_656380801_4FGL_J0141.4-0928_daily_bin1608.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 0.60
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/142221/ft1_filtered_4FGL_J0141.4-0928_daily_bin1608.fits evtable="EVENTS" scfile=/scratch/kocevski/142221/ft2_4FGL_J0141.4-0928_daily_bin1608.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/142221/Model_4FGL_J0141.4-0928_daily_bin1608.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/142221/ft1_filtered_4FGL_J0141.4-0928_daily_bin1608.fits.....................!
real 52.95
user 51.21
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10344E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    35.592       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    21.663       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11894E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.258       1.0000         .10000E-03   10000.    
     9 'norm      '    .10920E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10631E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    32.833       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10179E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.4478       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.9267       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .80182       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0131       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=   5054.687     FROM MIGRAD    STATUS=CONVERGED    437 CALLS     1743 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.989        .10911E-06** at limit **
   2  Prefactor     35.607        30.659        .51170E-06    .71798E-04
   3  Prefactor     .10000E-03    10.889        .97423E-07** at limit **
   4  Prefactor     .10001E-03    41.711        .38229E-05** at limit **
   5  Prefactor     21.661        10.661        .11270E-06   -.46992E-04
   6  Prefactor     .10000E-03    3.6294        .17049E-06** at limit **
   7  Prefactor     .10000E-03    13.304       -.11267E-06** at limit **
   8  Prefactor     14.256        13.834        .53645E-07   -.29553E-04
   9  norm          .10000E-03    39.811       -.36080E-05** at limit **
  10  norm          .10000E-03    .98424        .53871E-07** at limit **
  11  norm          32.834        9.9125        .96087E-08    .58220E-04
  12  Prefactor     .10000E-03    162.42       -.34802E-06** at limit **
  13  Prefactor     .10000E-03    2.3431        .19481E-07** at limit **
  14  norm          3.4480        2.1427        .56778E-06   -.11464E-02
  15  Prefactor     1.9264        3.1236        .12405E-06   -.11930E-03
  16  Prefactor     .10000E-03    5.8473       -.19334E-07** at limit **
  17  Prefactor     .10000E-03    8.4217        .44614E-07** at limit **
  18  Prefactor     .10000E-03    5.0713        .56207E-07** at limit **
  19  Normalizat    .80189        .18069       -.45058E-06   -.18581E-04
  20  Prefactor     1.0130        .17698       -.12842E-06   -.23533E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 35.6072
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 21.6611
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.2563
  norm       = 0.000100005
  norm       = 0.0001
  norm       = 32.8341
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.44796
  Prefactor  = 1.92644
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.801892
  Prefactor  = 1.01303
 **********
 **   18 **HESSE 
 **********

 FCN=   5054.687     FROM HESSE     STATUS=OK           289 CALLS     2032 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     35.607        30.779        .67174E-04   -1.4514    
   3  Prefactor     .10000E-03    10.903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    45.594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     21.661        10.655        .86057E-04   -1.4777    
   6  Prefactor     .10000E-03    6.9580        .25799E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.256        13.837        .10607E-03   -1.4953    
   9  norm          .10000E-03    43.208        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.4043        .13504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          32.834        9.9187        .69931E-04   -1.4561    
  12  Prefactor     .10000E-03    163.09        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.3543        .10628E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.4480        2.2943        .41709E-03   -1.5337    
  15  Prefactor     1.9264        3.1039        .15354E-03   -1.5430    
  16  Prefactor     .10000E-03    5.8628        .16789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    8.4313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.0778        .15638E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .80189        .20073        .25844E-03   -.99999    
  20  Prefactor     1.0130        .20053        .23375E-03   -.92297    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.6494e-10
Minuit parameter uncertainties:
  1  1.33577e-05
  2  30.7928
  3  1.23033e-05
  4  0.00105079
  5  10.6556
  6  4.65035e-06
  7  1.62052e-05
  8  13.8398
  9  0.000923108
  10  3.78325e-06
  11  9.91916
  12  0.000169055
  13  1.14249e-06
  14  2.2944
  15  3.10413
  16  1.80746e-06
  17  5.35797e-06
  18  5.09008e-06
  19  0.200917
  20  0.200683
Done.

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

Extracting fit parameters...

4FGL J0141.4-0928
   Spectrum: LogParabola
291         norm:  3.283e+01  9.919e+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:  1.013e+00  2.007e-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:  8.019e-01  2.009e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 35.80
Ra Dec: 25.363 -9.482
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 1.64e-07 +/- 4.95e-08
Energy Flux (Fixed Index): 8.21e-05 +/- 2.48e-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) = 5054.63247909
delta logL = 0.0542247221247

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5054.62452408
delta logL = 0.0621797326003

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    32.250       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1914       1.0000          .0000       5.0000    
     3 'Normalizat'    .78440       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0229       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.

 FCN=   5054.625     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      197 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          32.250        16.428        .17640E-02   -.32624E-02
   2  alpha         2.1914        .47509        .17241        .24914E-04
   3  Normalizat    .78439        .18336        .43406E-01    .16678E-04
   4  Prefactor     1.0230        .17960        .41864E-01    .83111E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 32.2498
  alpha      = 2.19144
  Normalizat = 0.784391
  Prefactor  = 1.023
 **********
 **   18 **HESSE 
 **********

 FCN=   5054.625     FROM HESSE     STATUS=OK            31 CALLS      228 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          32.250        9.8640        .70559E-04   -1.4572    
   2  alpha         2.1914        .29911        .72636E-02   -.12374    
   3  Normalizat    .78439        .20382        .26085E-03   -1.0065    
   4  Prefactor     1.0230        .20051        .23265E-03   -.91967    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.2569e-09
Minuit parameter uncertainties:
  1  9.86454
  2  0.299842
  3  0.204017
  4  0.200653
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/142221': 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) = 5054.62452351
delta logL = 0.062180304878

Extracting fit parameters...

4FGL J0141.4-0928
   Spectrum: LogParabola
291         norm:  3.225e+01  9.865e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        alpha:  2.191e+00  2.998e-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:  1.023e+00  2.007e-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:  7.844e-01  2.040e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 35.76
Ra Dec: 25.363 -9.482
Photon Index (Free Index): 2.19 +/- 0.30
Photon Flux (Free Index): 1.80e-07 +/- 6.87e-08
Energy Flux (Free Index): 7.59e-05 +/- 2.75e-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/142221/cmap_HighResolution_656121601_656380801_4FGL_J0141.4-0928_daily_bin1608.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.64e-07', energy_flux2='7.59e-05', photon_flux_error='4.95e-08', dlogl='6.22e-02', energy_flux='8.21e-05', photon_flux2='1.80e-07', job_status='DONE', time_completed='2021-12-07 12:25:46.020509', photon_index_error2='0.30', photon_index2='2.19', ts='35.80', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='2.75e-05', EG='0.80', time_epoch_completed='1638908746.02', return_code='0', job_id='142221', GAL2='1.02', EG2='0.78', return_code2='0', energy_flux_error='2.48e-05', photon_flux_error2='6.87e-08', ts2='35.76', photon_index='2.09' WHERE bin_id='1608' AND source_name='4FGL J0141.4-0928' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 12:25:46 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0289>
Subject: Job 142221: <4FGL_J0141.4-0928_daily_bin1608> in cluster <slac> Done

Job <4FGL_J0141.4-0928_daily_bin1608> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Dec  7 12:15:14 2021
Job was executed on host(s) <bullet0289>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 12:15:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 12:15:33 2021
Terminated at Tue Dec  7 12:25:46 2021
Results reported at Tue Dec  7 12:25:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0141.4-0928_daily_bin1608 25.3626 -9.4825 656121601 656380801 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 :                                   491.47 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   613 sec.
    Turnaround time :                            632 sec.

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

