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


Performing analysis on: 4FGL_J0438.4-1254_daily_bin1279
RA = 69.6099, Dec = -12.9053
tmin = 570844801, tmax = 571104001
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='624755', job_status='RUN', time_executed='2021-08-21 01:28:55.550996', time_epoch_executed='1629534535.55' WHERE source_name='4FGL J0438.4-1254' and cadence='daily' and bin_id='1279'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/624755

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/624755/ft1_4FGL_J0438.4-1254_daily_bin1279.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/624755/ft2_4FGL_J0438.4-1254_daily_bin1279.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/624755/ft1_4FGL_J0438.4-1254_daily_bin1279.fits outfile=/scratch/kocevski/624755/ft1_filteredMKT_4FGL_J0438.4-1254_daily_bin1279.fits ra=69.6099 dec=-12.9053 rad=12.0 tmin=570844801.0 tmax=571104001.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 6.72
user 2.80
sys 3.87

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/624755/ft2_4FGL_J0438.4-1254_daily_bin1279.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/624755/ft1_filteredMKT_4FGL_J0438.4-1254_daily_bin1279.fits evtable="EVENTS" outfile="/scratch/kocevski/624755/ft1_filtered_4FGL_J0438.4-1254_daily_bin1279.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 4.15
user 0.33
sys 3.79

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/624755/ft1_filtered_4FGL_J0438.4-1254_daily_bin1279.fits" evtable="EVENTS" scfile=/scratch/kocevski/624755/ft2_4FGL_J0438.4-1254_daily_bin1279.fits sctable="SC_DATA" outfile=/scratch/kocevski/624755/ltcube_570844801_571104001_4FGL_J0438.4-1254_daily_bin1279.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/624755/ft2_4FGL_J0438.4-1254_daily_bin1279.fits
.....................!
real 16.34
user 11.82
sys 4.48

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/624755/ft1_filtered_4FGL_J0438.4-1254_daily_bin1279.fits evtable="EVENTS" scfile=/scratch/kocevski/624755/ft2_4FGL_J0438.4-1254_daily_bin1279.fits sctable="SC_DATA" expcube=/scratch/kocevski/624755/ltcube_570844801_571104001_4FGL_J0438.4-1254_daily_bin1279.fits outfile=/scratch/kocevski/624755/expmap_570844801_571104001_4FGL_J0438.4-1254_daily_bin1279.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/624755/ltcube_570844801_571104001_4FGL_J0438.4-1254_daily_bin1279.fits
.....................!
real 195.53
user 186.49
sys 8.67

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/624755/ft1_filtered_4FGL_J0438.4-1254_daily_bin1279.fits scfile=/scratch/kocevski/624755/ft2_4FGL_J0438.4-1254_daily_bin1279.fits outfile=/scratch/kocevski/624755/cmap_570844801_571104001_4FGL_J0438.4-1254_daily_bin1279.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 4.15
user 0.39
sys 3.73

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/624755/ft1_filtered_4FGL_J0438.4-1254_daily_bin1279.fits scfile=/scratch/kocevski/624755/ft2_4FGL_J0438.4-1254_daily_bin1279.fits outfile=/scratch/kocevski/624755/cmap_HighResolution_570844801_571104001_4FGL_J0438.4-1254_daily_bin1279.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 4.11
user 0.40
sys 3.70

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/624755/ft1_filtered_4FGL_J0438.4-1254_daily_bin1279.fits evtable="EVENTS" scfile=/scratch/kocevski/624755/ft2_4FGL_J0438.4-1254_daily_bin1279.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/624755/Model_4FGL_J0438.4-1254_daily_bin1279.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/624755/ft1_filtered_4FGL_J0438.4-1254_daily_bin1279.fits.....................!
real 133.57
user 127.25
sys 6.08

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/624755/ft1_filtered_4FGL_J0438.4-1254_daily_bin1279.fits', '/scratch/kocevski/624755/ft2_4FGL_J0438.4-1254_daily_bin1279.fits', expMap='/scratch/kocevski/624755/expmap_570844801_571104001_4FGL_J0438.4-1254_daily_bin1279.fits', expCube='/scratch/kocevski/624755/ltcube_570844801_571104001_4FGL_J0438.4-1254_daily_bin1279.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/624755/Model_4FGL_J0438.4-1254_daily_bin1279.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/624755/ft1_filtered_4FGL_J0438.4-1254_daily_bin1279.fits
Spacecraft file(s): /scratch/kocevski/624755/ft2_4FGL_J0438.4-1254_daily_bin1279.fits
Exposure map: /scratch/kocevski/624755/expmap_570844801_571104001_4FGL_J0438.4-1254_daily_bin1279.fits
Exposure cube: /scratch/kocevski/624755/ltcube_570844801_571104001_4FGL_J0438.4-1254_daily_bin1279.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/624755/Model_4FGL_J0438.4-1254_daily_bin1279.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) = 9545.38453456

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.742       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.9693       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.8032       1.0000         .10000E-03   10000.    
     4 'norm      '    10.013       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .47310       1.0000         .10000E-03   10000.    
     6 'norm      '    .13707E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .40451E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .17820E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .15658       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.7759       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .91001       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.2455       1.0000         .10000E-03   10000.    
    15 'Prefactor '    54.741       1.0000         .10000E-03   10000.    
    16 'Prefactor '    27.242       1.0000         .10000E-03   10000.    
    17 'norm      '    19.521       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .67385       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1094       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=   9545.367     FROM MIGRAD    STATUS=CONVERGED    413 CALLS     1981 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.739        14.496       -.23986E-06    .22527E-05
   2  Prefactor     1.9690        1.7051        .12570E-07    .98761E-05
   3  Prefactor     4.8015        4.9737        .15050E-05    .11187E-04
   4  norm          10.013        10.060       -.58620E-06    .25832E-05
   5  Prefactor     .47298        1.9520        .48956E-06   -.14369E-04
   6  norm          .10000E-03    1.7937       -.83152E-07** at limit **
   7  norm          .10000E-03    5.6464       -.16295E-06** at limit **
   8  Prefactor     .10000E-03    2.7818        .76218E-07** at limit **
   9  Prefactor     .10000E-03    7.0450        .19714E-07** at limit **
  10  Prefactor     .11313        8.5059        .21637E-06   -.49856E-04
  11  Prefactor     1.7755        3.5966        .26670E-06    .95670E-05
  12  Prefactor     .10000E-03    6.8308       -.23188E-08** at limit **
  13  norm          .90998        .18926        .80507E-08    .18352E-03
  14  Prefactor     8.2411        21.468       -.56039E-06    .16348E-05
  15  Prefactor     54.731        28.218        .34582E-06    .23513E-05
  16  Prefactor     27.236        23.641       -.11011E-05   -.35058E-05
  17  norm          19.479        48.283        .59043E-05    .11355E-05
  18  Normalizat    .67403        .15836       -.88099E-06    .41410E-04
  19  Prefactor     1.1095        .10059        .29251E-06    .96145E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.7389
  Prefactor  = 1.96903
  Prefactor  = 4.80154
  norm       = 10.0135
  Prefactor  = 0.472978
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.113131
  Prefactor  = 1.77555
  Prefactor  = 0.0001
  norm       = 0.909975
  Prefactor  = 8.24115
  Prefactor  = 54.7311
  Prefactor  = 27.2357
  norm       = 19.4791
  Normalizat = 0.674032
  Prefactor  = 1.10945
 **********
 **   18 **HESSE 
 **********

 FCN=   9545.367     FROM HESSE     STATUS=OK           288 CALLS     2269 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.739        14.496        .10432E-03   -1.4940    
   2  Prefactor     1.9690        1.7088        .11485E-03   -1.5427    
   3  Prefactor     4.8015        4.9729        .91783E-03   -1.5270    
   4  norm          10.013        10.054        .12663E-03   -1.5075    
   5  Prefactor     .47298        1.8905        .25950E-03   -1.5570    
   6  norm          .10000E-03    5.7200        .25399E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    5.7255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.889        .31524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    45.499        .49246E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11313        9.9957        .86303E-01   -1.5641    
  11  Prefactor     1.7755        3.5764        .25407E-03   -1.5441    
  12  Prefactor     .10000E-03    6.8340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .90998        .18950        .18731E-04   -1.5517    
  14  Prefactor     8.2411        21.455        .13962E-03   -1.5134    
  15  Prefactor     54.731        28.196        .54214E-04   -1.4227    
  16  Prefactor     27.236        23.657        .76755E-04   -1.4664    
  17  norm          19.479        48.244        .90651E-04   -1.4825    
  18  Normalizat    .67403        .17277        .32935E-03   -1.0493    
  19  Prefactor     1.1095        .11308        .17758E-03   -.89165    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71003e-10
Minuit parameter uncertainties:
  1  14.4991
  2  1.7088
  3  4.97334
  4  10.0559
  5  1.89073
  6  3.60829e-05
  7  4.7341e-06
  8  1.31681e-05
  9  0.000125677
  10  2.12622
  11  3.57685
  12  2.25004e-07
  13  0.189499
  14  21.4748
  15  28.2029
  16  23.6649
  17  48.3406
  18  0.172907
  19  0.113108
Done.

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

Extracting fit parameters...

4FGL J0438.4-1254
   Spectrum: PowerLaw
249    Prefactor:  1.131e-01  2.126e+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

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.109e+00  1.131e-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:  6.740e-01  1.729e-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: 6.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.80e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/624755/likelihoodResults_570844801_571104001_4FGL_J0438.4-1254_daily_bin1279.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) = 9545.36582373
delta logL = 0.00166713553517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9545.36025353
delta logL = 0.00723734144412

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .79042       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8970       1.0000          .0000       10.000    
     3 'Normalizat'    .67163       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1095       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.

 FCN=   9545.360     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      267 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .77954        14.716        .64759E-01    .84032E-03
   2  Index         2.9017        .76318        .50000        .49466E-05
   3  Normalizat    .67183        .69100E-02    .74519E-01    .42301E-04
   4  Prefactor     1.1094        .47021E-02    .37236E-01   -.71083E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.779542
  Index      = 2.90172
  Normalizat = 0.671834
  Prefactor  = 1.10938
 **********
 **   18 **HESSE 
 **********

 FCN=   9545.360     FROM HESSE     STATUS=OK            35 CALLS      302 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .77954        60.626        .40814E-02   -1.5531    
   2  Index         2.9017        6.4165        .89854E-02   -.43307    
   3  Normalizat    .67183        .16463        .32988E-03   -1.0502    
   4  Prefactor     1.1094        .11162        .17759E-03   -.89167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49979e-07
Minuit parameter uncertainties:
  1  13.7629
  2  5.9169
  3  0.164752
  4  0.11164
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/624755': 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) = 9545.36025112
delta logL = 0.00723974888206

Extracting fit parameters...

4FGL J0438.4-1254
   Spectrum: PowerLaw
249    Prefactor:  7.795e-01  1.376e+01  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.902e+00  5.917e+00  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.109e+00  1.116e-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:  6.718e-01  1.648e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/624755/cmap_HighResolution_570844801_571104001_4FGL_J0438.4-1254_daily_bin1279.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.80e-03', job_status='DONE', photon_flux_upper_limit='6.19e-08', time_completed='2021-08-21 01:42:03.498052', job_id='624755', GAL2='1.11', fit_tolerance='1e-08', EG2='0.67', EG='0.67', time_epoch_completed='1629535323.5', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='7.24e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1279' AND source_name='4FGL J0438.4-1254' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 01:42:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 624755: <4FGL_J0438.4-1254_daily_bin1279> in cluster <slac> Done

Job <4FGL_J0438.4-1254_daily_bin1279> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 21 01:25:34 2021
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 01:25:36 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:36 2021
Terminated at Sat Aug 21 01:42:04 2021
Results reported at Sat Aug 21 01:42:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0438.4-1254_daily_bin1279 69.6099 -12.9053 570844801 571104001 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 :                                   833.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   988 sec.
    Turnaround time :                            990 sec.

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

