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


Performing analysis on: 4FGL_J0438.4-1254_daily_bin1015
RA = 69.6099, Dec = -12.9053
tmin = 502416001, tmax = 502675201
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='623215', job_status='RUN', time_executed='2021-08-21 01:20:54.313733', time_epoch_executed='1629534054.31' WHERE source_name='4FGL J0438.4-1254' and cadence='daily' and bin_id='1015'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/623215

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/623215/ft1_4FGL_J0438.4-1254_daily_bin1015.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/623215/ft2_4FGL_J0438.4-1254_daily_bin1015.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/623215/ft1_4FGL_J0438.4-1254_daily_bin1015.fits outfile=/scratch/kocevski/623215/ft1_filteredMKT_4FGL_J0438.4-1254_daily_bin1015.fits ra=69.6099 dec=-12.9053 rad=12.0 tmin=502416001.0 tmax=502675201.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.75
user 3.29
sys 0.42

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/623215/ft2_4FGL_J0438.4-1254_daily_bin1015.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/623215/ft1_filteredMKT_4FGL_J0438.4-1254_daily_bin1015.fits evtable="EVENTS" outfile="/scratch/kocevski/623215/ft1_filtered_4FGL_J0438.4-1254_daily_bin1015.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.71
user 0.31
sys 0.38

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/623215/ft1_filtered_4FGL_J0438.4-1254_daily_bin1015.fits" evtable="EVENTS" scfile=/scratch/kocevski/623215/ft2_4FGL_J0438.4-1254_daily_bin1015.fits sctable="SC_DATA" outfile=/scratch/kocevski/623215/ltcube_502416001_502675201_4FGL_J0438.4-1254_daily_bin1015.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/623215/ft2_4FGL_J0438.4-1254_daily_bin1015.fits
.....................!
real 12.17
user 11.60
sys 0.53

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/623215/ft1_filtered_4FGL_J0438.4-1254_daily_bin1015.fits evtable="EVENTS" scfile=/scratch/kocevski/623215/ft2_4FGL_J0438.4-1254_daily_bin1015.fits sctable="SC_DATA" expcube=/scratch/kocevski/623215/ltcube_502416001_502675201_4FGL_J0438.4-1254_daily_bin1015.fits outfile=/scratch/kocevski/623215/expmap_502416001_502675201_4FGL_J0438.4-1254_daily_bin1015.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/623215/ltcube_502416001_502675201_4FGL_J0438.4-1254_daily_bin1015.fits
.....................!
real 190.70
user 184.99
sys 5.26

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/623215/ft1_filtered_4FGL_J0438.4-1254_daily_bin1015.fits scfile=/scratch/kocevski/623215/ft2_4FGL_J0438.4-1254_daily_bin1015.fits outfile=/scratch/kocevski/623215/cmap_502416001_502675201_4FGL_J0438.4-1254_daily_bin1015.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 0.75
user 0.35
sys 0.38

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/623215/ft1_filtered_4FGL_J0438.4-1254_daily_bin1015.fits scfile=/scratch/kocevski/623215/ft2_4FGL_J0438.4-1254_daily_bin1015.fits outfile=/scratch/kocevski/623215/cmap_HighResolution_502416001_502675201_4FGL_J0438.4-1254_daily_bin1015.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 0.75
user 0.37
sys 0.37

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/623215/ft1_filtered_4FGL_J0438.4-1254_daily_bin1015.fits evtable="EVENTS" scfile=/scratch/kocevski/623215/ft2_4FGL_J0438.4-1254_daily_bin1015.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/623215/Model_4FGL_J0438.4-1254_daily_bin1015.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/623215/ft1_filtered_4FGL_J0438.4-1254_daily_bin1015.fits.....................!
real 90.15
user 88.47
sys 1.43

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2334       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.8576       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.6139       1.0000         .10000E-03   10000.    
     4 'norm      '    16.579       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.175       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    19.728       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .18186E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.878       1.0000         .10000E-03   10000.    
    13 'norm      '    .30543       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.2609       1.0000         .10000E-03   10000.    
    16 'Prefactor '    33.846       1.0000         .10000E-03   10000.    
    17 'norm      '    .10055E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .93495       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .90826       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=   6056.004     FROM MIGRAD    STATUS=CONVERGED    386 CALLS     1916 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2300        19.092       -.25462E-05   -.86795E-05
   2  Prefactor     5.8578        3.1726       -.17868E-06    .88934E-04
   3  Prefactor     3.6149        6.1514       -.32474E-05   -.31475E-03
   4  norm          16.578        17.976       -.12658E-05    .25780E-04
   5  Prefactor     10.176        5.2972       -.42277E-06   -.20969E-04
   6  norm          .10000E-03    1.3767       -.16515E-07** at limit **
   7  norm          19.723        11.725       -.94891E-06    .46230E-03
   8  Prefactor     .10011E-03    4.5304       -.23762E-05** at limit **
   9  Prefactor     .10000E-03    10.637       -.80005E-06** at limit **
  10  Prefactor     .10000E-03    8.0570       -.99906E-07** at limit **
  11  Prefactor     .10000E-03    2.5016       -.23100E-06** at limit **
  12  Prefactor     28.886        44.607        .64905E-05    .22892E-04
  13  norm          .30543        .18037       -.12153E-06   -.55716E-04
  14  Prefactor     .10000E-03    17.956        .69626E-05** at limit **
  15  Prefactor     8.1585        29.475       -.10478E-03    .35389E-04
  16  Prefactor     33.842        35.092       -.71942E-05   -.60210E-04
  17  norm          .10000E-03    93.383        .53127E-04** at limit **
  18  Normalizat    .93468        .20277        .26042E-05    .52298E-03
  19  Prefactor     .90842        .12013        .55336E-05    .12896E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.23
  Prefactor  = 5.85778
  Prefactor  = 3.61492
  norm       = 16.5777
  Prefactor  = 10.1761
  norm       = 0.0001
  norm       = 19.7228
  Prefactor  = 0.000100105
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.8861
  norm       = 0.305426
  Prefactor  = 0.0001
  Prefactor  = 8.15855
  Prefactor  = 33.8417
  norm       = 0.0001
  Normalizat = 0.934681
  Prefactor  = 0.908424
 **********
 **   18 **HESSE 
 **********

 FCN=   6056.004     FROM HESSE     STATUS=OK           270 CALLS     2186 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2300        19.083        .14914E-03   -1.5170    
   2  Prefactor     5.8578        3.1731        .98523E-04   -1.5224    
   3  Prefactor     3.6149        6.1571        .21254E-03   -1.5328    
   4  norm          16.578        17.985        .98364E-04   -1.4893    
   5  Prefactor     10.176        5.3299        .12112E-03   -1.5070    
   6  norm          .10000E-03    1.3788        .89163E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          19.723        11.625        .90175E-04   -1.4819    
   8  Prefactor     .10011E-03    20.566        .31416E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.0726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.5179        .12019E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     28.886        44.672        .74554E-04   -1.4633    
  13  norm          .30543        .17910        .24217E-04   -1.5597    
  14  Prefactor     .10000E-03    17.961        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.1585        29.530        .13949E-03   -1.5137    
  16  Prefactor     33.842        35.191        .68879E-04   -1.4544    
  17  norm          .10000E-03    93.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .93468        .23571        .29879E-03   -.95252    
  19  Prefactor     .90842        .13976        .18989E-03   -.95847    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.71687e-09
Minuit parameter uncertainties:
  1  19.0986
  2  3.17323
  3  6.15817
  4  17.9905
  5  5.33015
  6  2.59332e-06
  7  11.6259
  8  0.00294372
  9  8.18727e-05
  10  3.62697e-05
  11  2.15711e-05
  12  44.7236
  13  0.179104
  14  1.85504e-05
  15  29.5831
  16  35.2125
  17  7.56882e-06
  18  0.235976
  19  0.139817
Done.

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

Extracting fit parameters...

4FGL J0438.4-1254
   Spectrum: PowerLaw
249    Prefactor:  1.000e-04  3.627e-05  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:  9.084e-01  1.398e-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:  9.347e-01  2.360e-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.87e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/623215/likelihoodResults_502416001_502675201_4FGL_J0438.4-1254_daily_bin1015.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) = 6056.00425187
delta logL = -0.000590240118072

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6056.00366176
delta logL = -1.30339685711e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4263       1.0000          .0000       10.000    
     3 'Normalizat'    .93461       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90846       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=   6056.004     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      240 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10053E-03    164.93        .18142E-02** at limit **
   2  Index         2.3734        7.3135        .50000        .58302E-05
   3  Normalizat    .93467        .23336E-01    .29879E-03    .38429E-05
   4  Prefactor     .90843        .14738E-01    .18989E-03    .51489E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100526
  Index      = 2.37338
  Normalizat = 0.934674
  Prefactor  = 0.908428
 **********
 **   18 **HESSE 
 **********

 FCN=   6056.004     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      269 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10053E-03    684.91        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3734        7.3296        .50000       -.55310    
   3  Normalizat    .93467        .52409E-01    .11952E-04   -.95252    
   4  Prefactor     .90843        .33092E-01    .75955E-05   -.95847    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.66375e-08
Minuit parameter uncertainties:
  1  0.0383951
  2  1750.37
  3  0.0524114
  4  0.0330923
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/623215': 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) = 6056.00366158
delta logL = 5.77565515414e-08

Extracting fit parameters...

4FGL J0438.4-1254
   Spectrum: PowerLaw
249    Prefactor:  1.005e-04  3.840e-02  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.373e+00  1.750e+03  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:  9.084e-01  3.309e-02  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:  9.347e-01  5.241e-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/623215/cmap_HighResolution_502416001_502675201_4FGL_J0438.4-1254_daily_bin1015.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.32e-03', job_status='DONE', photon_flux_upper_limit='6.87e-08', time_completed='2021-08-21 01:30:21.143184', job_id='623215', GAL2='0.91', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1629534621.14', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='5.78e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1015' AND source_name='4FGL J0438.4-1254' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 01:30:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 623215: <4FGL_J0438.4-1254_daily_bin1015> in cluster <slac> Done

Job <4FGL_J0438.4-1254_daily_bin1015> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Aug 21 01:20:33 2021
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 01:20:35 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:20:35 2021
Terminated at Sat Aug 21 01:30:21 2021
Results reported at Sat Aug 21 01:30:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0438.4-1254_daily_bin1015 69.6099 -12.9053 502416001 502675201 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 :                                   567.59 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             351.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   586 sec.
    Turnaround time :                            588 sec.

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

