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


Performing analysis on: 4FGL_J0438.4-1254_daily_bin1253
RA = 69.6099, Dec = -12.9053
tmin = 564105601, tmax = 564364801
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='624717', job_status='RUN', time_executed='2021-08-21 01:25:57.375774', time_epoch_executed='1629534357.38' WHERE source_name='4FGL J0438.4-1254' and cadence='daily' and bin_id='1253'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/624717

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/624717/ft1_4FGL_J0438.4-1254_daily_bin1253.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/624717/ft2_4FGL_J0438.4-1254_daily_bin1253.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/624717/ft1_4FGL_J0438.4-1254_daily_bin1253.fits outfile=/scratch/kocevski/624717/ft1_filteredMKT_4FGL_J0438.4-1254_daily_bin1253.fits ra=69.6099 dec=-12.9053 rad=12.0 tmin=564105601.0 tmax=564364801.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.97
user 3.05
sys 0.88

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/624717/ft2_4FGL_J0438.4-1254_daily_bin1253.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/624717/ft2_4FGL_J0438.4-1254_daily_bin1253.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/624717/ft1_filteredMKT_4FGL_J0438.4-1254_daily_bin1253.fits evtable="EVENTS" outfile="/scratch/kocevski/624717/ft1_filtered_4FGL_J0438.4-1254_daily_bin1253.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/624717/ft1_filtered_4FGL_J0438.4-1254_daily_bin1253.fits" evtable="EVENTS" scfile=/scratch/kocevski/624717/ft2_4FGL_J0438.4-1254_daily_bin1253.fits sctable="SC_DATA" outfile=/scratch/kocevski/624717/ltcube_564105601_564364801_4FGL_J0438.4-1254_daily_bin1253.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/624717/ft2_4FGL_J0438.4-1254_daily_bin1253.fits
.....................!
real 12.60
user 11.46
sys 1.10

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/624717/ft1_filtered_4FGL_J0438.4-1254_daily_bin1253.fits evtable="EVENTS" scfile=/scratch/kocevski/624717/ft2_4FGL_J0438.4-1254_daily_bin1253.fits sctable="SC_DATA" expcube=/scratch/kocevski/624717/ltcube_564105601_564364801_4FGL_J0438.4-1254_daily_bin1253.fits outfile=/scratch/kocevski/624717/expmap_564105601_564364801_4FGL_J0438.4-1254_daily_bin1253.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/624717/ltcube_564105601_564364801_4FGL_J0438.4-1254_daily_bin1253.fits
.....................!
real 191.56
user 185.55
sys 5.63

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

Setting source of interest to:
4FGL J0438.4-1254 @ 69.6099 -12.9053

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/624717/ft1_filtered_4FGL_J0438.4-1254_daily_bin1253.fits scfile=/scratch/kocevski/624717/ft2_4FGL_J0438.4-1254_daily_bin1253.fits outfile=/scratch/kocevski/624717/cmap_564105601_564364801_4FGL_J0438.4-1254_daily_bin1253.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=69.6099 yref=-12.9053 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.22
user 0.36
sys 0.83

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/624717/ft1_filtered_4FGL_J0438.4-1254_daily_bin1253.fits scfile=/scratch/kocevski/624717/ft2_4FGL_J0438.4-1254_daily_bin1253.fits outfile=/scratch/kocevski/624717/cmap_HighResolution_564105601_564364801_4FGL_J0438.4-1254_daily_bin1253.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=69.6099 yref=-12.9053 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.25
user 0.38
sys 0.82

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/624717/ft1_filtered_4FGL_J0438.4-1254_daily_bin1253.fits evtable="EVENTS" scfile=/scratch/kocevski/624717/ft2_4FGL_J0438.4-1254_daily_bin1253.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/624717/Model_4FGL_J0438.4-1254_daily_bin1253.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/624717/ft1_filtered_4FGL_J0438.4-1254_daily_bin1253.fits.....................!
real 71.67
user 69.16
sys 2.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/624717/ft1_filtered_4FGL_J0438.4-1254_daily_bin1253.fits', '/scratch/kocevski/624717/ft2_4FGL_J0438.4-1254_daily_bin1253.fits', expMap='/scratch/kocevski/624717/expmap_564105601_564364801_4FGL_J0438.4-1254_daily_bin1253.fits', expCube='/scratch/kocevski/624717/ltcube_564105601_564364801_4FGL_J0438.4-1254_daily_bin1253.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/624717/Model_4FGL_J0438.4-1254_daily_bin1253.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0438.4-1254'

4FGL J0438.4-1254
   Spectrum: PowerLaw
249    Prefactor:  2.972e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.433e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  1.026e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/624717/ft1_filtered_4FGL_J0438.4-1254_daily_bin1253.fits
Spacecraft file(s): /scratch/kocevski/624717/ft2_4FGL_J0438.4-1254_daily_bin1253.fits
Exposure map: /scratch/kocevski/624717/expmap_564105601_564364801_4FGL_J0438.4-1254_daily_bin1253.fits
Exposure cube: /scratch/kocevski/624717/ltcube_564105601_564364801_4FGL_J0438.4-1254_daily_bin1253.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/624717/Model_4FGL_J0438.4-1254_daily_bin1253.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) = 4608.52273304

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.3491       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.4501       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.9396       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .15402E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    3.1004       1.0000         .10000E-03   10000.    
     7 'norm      '    5.4164       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.891       1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.819       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .49504       1.0000         .10000E-03   10000.    
    14 'Prefactor '    41.709       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.168       1.0000         .10000E-03   10000.    
    16 'Prefactor '    27.659       1.0000         .10000E-03   10000.    
    17 'norm      '    .10064E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .71752       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0484       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4608.519     FROM MIGRAD    STATUS=CONVERGED    390 CALLS     1925 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.3485        23.110       -.29505E-06    .82982E-05
   2  Prefactor     1.4493        3.4239       -.25617E-05   -.64922E-04
   3  Prefactor     .10000E-03    2.6455       -.29278E-06** at limit **
   4  norm          2.9432        18.508       -.23099E-05    .29153E-04
   5  Prefactor     .10000E-03    33.183       -.91881E-05** at limit **
   6  norm          3.0980        6.8607       -.34986E-05    .10003E-03
   7  norm          5.4169        6.5887        .35562E-06    .91336E-04
   8  Prefactor     11.894        12.955        .82049E-06    .73911E-04
   9  Prefactor     20.813        22.617        .38514E-06    .65256E-05
  10  Prefactor     .10000E-03    21.318       -.26079E-05** at limit **
  11  Prefactor     .10000E-03    4.7726       -.64644E-06** at limit **
  12  Prefactor     .10000E-03    47.054       -.66911E-05** at limit **
  13  norm          .49501        .23677       -.41954E-07    .22788E-03
  14  Prefactor     41.710        44.349       -.58920E-06    .62468E-05
  15  Prefactor     14.169        29.446       -.11722E-05    .45066E-05
  16  Prefactor     27.649        36.024        .31835E-05    .22394E-04
  17  norm          .10000E-03    78.402        .98603E-05** at limit **
  18  Normalizat    .71762        .24046       -.17251E-05    .10855E-03
  19  Prefactor     1.0483        .14396        .22301E-05   -.82785E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.3485
  Prefactor  = 1.44932
  Prefactor  = 0.0001
  norm       = 2.94317
  Prefactor  = 0.0001
  norm       = 3.09802
  norm       = 5.41694
  Prefactor  = 11.8938
  Prefactor  = 20.8125
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.495005
  Prefactor  = 41.7097
  Prefactor  = 14.1691
  Prefactor  = 27.6491
  norm       = 0.000100001
  Normalizat = 0.717623
  Prefactor  = 1.04835
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.519     FROM HESSE     STATUS=OK           270 CALLS     2195 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.3485        23.105        .13874E-03   -1.5130    
   2  Prefactor     1.4493        3.4072        .18658E-03   -1.5467    
   3  Prefactor     .10000E-03    2.6557        .10784E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.9432        18.401        .23690E-03   -1.5365    
   5  Prefactor     .10000E-03    32.779        .24116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.0980        6.8557        .23031E-03   -1.5356    
   7  norm          5.4169        6.5845        .17266E-03   -1.5242    
   8  Prefactor     11.894        12.912        .11617E-03   -1.5018    
   9  Prefactor     20.813        22.618        .87783E-04   -1.4795    
  10  Prefactor     .10000E-03    21.467        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.8760        .14488E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    47.666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .49501        .23668        .22108E-04   -1.5567    
  14  Prefactor     41.710        44.337        .62070E-04   -1.4415    
  15  Prefactor     14.169        29.431        .10641E-03   -1.4955    
  16  Prefactor     27.649        35.917        .76175E-04   -1.4656    
  17  norm          .10000E-03    78.586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .71762        .26471        .33955E-03   -1.0320    
  19  Prefactor     1.0483        .16118        .17992E-03   -.91135    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02824e-10
Minuit parameter uncertainties:
  1  23.1293
  2  3.40765
  3  1.0848e-06
  4  14.7249
  5  5.71268e-05
  6  6.85746
  7  6.58535
  8  12.9155
  9  22.6269
  10  0.00011085
  11  1.05986e-05
  12  0.000558782
  13  0.236677
  14  44.3725
  15  29.4607
  16  35.9454
  17  0.000486457
  18  0.265185
  19  0.161257
Done.

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

Extracting fit parameters...

4FGL J0438.4-1254
   Spectrum: PowerLaw
249    Prefactor:  1.000e-04  1.109e-04  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.433e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  1.026e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.048e+00  1.613e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  7.176e-01  2.652e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 69.610 -12.905
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/624717/likelihoodResults_564105601_564364801_4FGL_J0438.4-1254_daily_bin1253.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) = 4608.51971317
delta logL = -0.000221936687922

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4608.51949266
delta logL = -1.43381112139e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7470       1.0000          .0000       10.000    
     3 'Normalizat'    .71762       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0483       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+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=   4608.519     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      279 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10555E-03    6.8214        .18142E-01** at limit **
   2  Index         2.6347        8.2360        .50000        .23210E-04
   3  Normalizat    .71761        .38615E-02    .33955E-03   -.16583E-03
   4  Prefactor     1.0484        .24511E-02    .17992E-03    .87300E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000105546
  Index      = 2.63474
  Normalizat = 0.717615
  Prefactor  = 1.04835
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.519     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      308 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10555E-03    81.627        .26252E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6347        7.0538        .50000       -.49275    
   3  Normalizat    .71761        .13284E-01    .13582E-04   -1.0320    
   4  Prefactor     1.0484        .84321E-02    .35984E-04   -.91135    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.70729e-09
Minuit parameter uncertainties:
  1  0.0426117
  2  262.343
  3  0.0132843
  4  0.00843213
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/624717': 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) = 4608.51949219
delta logL = -9.60964825936e-07

Extracting fit parameters...

4FGL J0438.4-1254
   Spectrum: PowerLaw
249    Prefactor:  1.055e-04  4.261e-02  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.635e+00  2.623e+02  0.000e+00  1.000e+01 (-1.000e+00)
251        Scale:  1.026e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.048e+00  8.432e-03  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  7.176e-01  1.328e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 69.610 -12.905

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/624717/cmap_HighResolution_564105601_564364801_4FGL_J0438.4-1254_daily_bin1253.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.45e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2021-08-21 01:34:31.300238', job_id='624717', GAL2='1.05', fit_tolerance='1e-08', EG2='0.72', EG='0.72', time_epoch_completed='1629534871.3', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='-9.61e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1253' AND source_name='4FGL J0438.4-1254' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 01:34:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 624717: <4FGL_J0438.4-1254_daily_bin1253> in cluster <slac> Done

Job <4FGL_J0438.4-1254_daily_bin1253> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 21 01:25:32 2021
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 01:25:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 21 01:25:33 2021
Terminated at Sat Aug 21 01:34:32 2021
Results reported at Sat Aug 21 01:34:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0438.4-1254_daily_bin1253 69.6099 -12.9053 564105601 564364801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0438.4-1254 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   521.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             283.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   538 sec.
    Turnaround time :                            540 sec.

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

