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


Performing analysis on: 4FGL_J0438.4-1254_daily_bin1354
RA = 69.6099, Dec = -12.9053
tmin = 590284801, tmax = 590544001
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='626010', job_status='RUN', time_executed='2021-08-21 01:34:26.059984', time_epoch_executed='1629534866.06' WHERE source_name='4FGL J0438.4-1254' and cadence='daily' and bin_id='1354'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/626010

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/626010/ft1_4FGL_J0438.4-1254_daily_bin1354.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/626010/ft2_4FGL_J0438.4-1254_daily_bin1354.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/626010/ft1_4FGL_J0438.4-1254_daily_bin1354.fits outfile=/scratch/kocevski/626010/ft1_filteredMKT_4FGL_J0438.4-1254_daily_bin1354.fits ra=69.6099 dec=-12.9053 rad=12.0 tmin=590284801.0 tmax=590544001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.80
user 3.55
sys 2.16

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/626010/ft1_filtered_4FGL_J0438.4-1254_daily_bin1354.fits" evtable="EVENTS" scfile=/scratch/kocevski/626010/ft2_4FGL_J0438.4-1254_daily_bin1354.fits sctable="SC_DATA" outfile=/scratch/kocevski/626010/ltcube_590284801_590544001_4FGL_J0438.4-1254_daily_bin1354.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/626010/ft2_4FGL_J0438.4-1254_daily_bin1354.fits
.....................!
real 17.79
user 14.93
sys 2.75

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/626010/ft1_filtered_4FGL_J0438.4-1254_daily_bin1354.fits evtable="EVENTS" scfile=/scratch/kocevski/626010/ft2_4FGL_J0438.4-1254_daily_bin1354.fits sctable="SC_DATA" expcube=/scratch/kocevski/626010/ltcube_590284801_590544001_4FGL_J0438.4-1254_daily_bin1354.fits outfile=/scratch/kocevski/626010/expmap_590284801_590544001_4FGL_J0438.4-1254_daily_bin1354.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/626010/ltcube_590284801_590544001_4FGL_J0438.4-1254_daily_bin1354.fits
.....................!
real 196.48
user 189.06
sys 6.80

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/626010/ft1_filtered_4FGL_J0438.4-1254_daily_bin1354.fits scfile=/scratch/kocevski/626010/ft2_4FGL_J0438.4-1254_daily_bin1354.fits outfile=/scratch/kocevski/626010/cmap_590284801_590544001_4FGL_J0438.4-1254_daily_bin1354.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 2.33
user 0.42
sys 1.88

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/626010/ft1_filtered_4FGL_J0438.4-1254_daily_bin1354.fits scfile=/scratch/kocevski/626010/ft2_4FGL_J0438.4-1254_daily_bin1354.fits outfile=/scratch/kocevski/626010/cmap_HighResolution_590284801_590544001_4FGL_J0438.4-1254_daily_bin1354.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 2.30
user 0.42
sys 1.87

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/626010/ft1_filtered_4FGL_J0438.4-1254_daily_bin1354.fits evtable="EVENTS" scfile=/scratch/kocevski/626010/ft2_4FGL_J0438.4-1254_daily_bin1354.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/626010/Model_4FGL_J0438.4-1254_daily_bin1354.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/626010/ft1_filtered_4FGL_J0438.4-1254_daily_bin1354.fits.....................!
real 89.28
user 85.34
sys 3.62

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.994       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.949       1.0000         .10000E-03   10000.    
     4 'norm      '    23.404       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.3847       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    21.174       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.850       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.324       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11768E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.0773       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11671E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    94.442       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    197.43       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .72537       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0129       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=   6078.573     FROM MIGRAD    STATUS=CONVERGED    378 CALLS     1891 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.996        25.999       -.25700E-05   -.68299E-05
   2  Prefactor     .10000E-03    1.0491        .71985E-08** at limit **
   3  Prefactor     19.949        9.0951        .27864E-06   -.32072E-04
   4  norm          23.404        21.593        .81965E-06   -.54461E-05
   5  Prefactor     3.3852        4.6651       -.17667E-06   -.46029E-03
   6  norm          .10000E-03    1.1564       -.79694E-07** at limit **
   7  norm          21.174        10.902        .81418E-05   -.15655E-04
   8  Prefactor     .10000E-03    3.9585       -.17449E-06** at limit **
   9  Prefactor     21.847        20.704        .93320E-06    .44584E-05
  10  Prefactor     13.322        19.634       -.10359E-05   -.45420E-03
  11  Prefactor     .10000E-03    2.7230        .21952E-07** at limit **
  12  Prefactor     .10000E-03    370.92       -.14936E-04** at limit **
  13  norm          2.0771        .38633        .25952E-07    .51809E-03
  14  Prefactor     .10000E-03    82.238        .15981E-06** at limit **
  15  Prefactor     94.441        40.356       -.67507E-07   -.27183E-05
  16  Prefactor     .10000E-03    10.009        .75476E-07** at limit **
  17  norm          197.44        99.292        .47696E-05    .13088E-06
  18  Normalizat    .72532        .21553       -.27491E-05    .14391E-04
  19  Prefactor     1.0129        .13100       -.25697E-06    .85589E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.996
  Prefactor  = 0.0001
  Prefactor  = 19.9492
  norm       = 23.4039
  Prefactor  = 3.38519
  norm       = 0.0001
  norm       = 21.1738
  Prefactor  = 0.0001
  Prefactor  = 21.8466
  Prefactor  = 13.3217
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 2.07708
  Prefactor  = 0.0001
  Prefactor  = 94.441
  Prefactor  = 0.0001
  norm       = 197.437
  Normalizat = 0.725317
  Prefactor  = 1.01286
 **********
 **   18 **HESSE 
 **********

 FCN=   6078.573     FROM HESSE     STATUS=OK           266 CALLS     2157 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.996        26.016        .73158E-04   -1.4612    
   2  Prefactor     .10000E-03    1.0521        .77978E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.949        9.1120        .89674E-04   -1.4814    
   4  norm          23.404        21.603        .82798E-04   -1.4740    
   5  Prefactor     3.3852        4.6680        .18629E-03   -1.5340    
   6  norm          .10000E-03    1.1586        .81875E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          21.174        10.834        .87045E-04   -1.4787    
   8  Prefactor     .10000E-03    3.9866        .15148E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     21.847        20.722        .85688E-04   -1.4773    
  10  Prefactor     13.322        19.763        .54866E-03   -1.4978    
  11  Prefactor     .10000E-03    2.7381        .12563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    384.81        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.0771        .38698        .20178E-04   -1.5420    
  14  Prefactor     .10000E-03    83.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     94.441        40.351        .41356E-04   -1.3761    
  16  Prefactor     .10000E-03    10.018        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          197.44        99.256        .14377E-03   -1.2888    
  18  Normalizat    .72532        .24221        .35798E-03   -1.0290    
  19  Prefactor     1.0129        .14812        .19606E-03   -.92302    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.07758e-10
Minuit parameter uncertainties:
  1  26.0255
  2  2.39484e-06
  3  9.11264
  4  21.6099
  5  4.66855
  6  3.33622e-06
  7  10.8347
  8  4.06936e-05
  9  20.7287
  10  19.7727
  11  5.47659e-06
  12  0.00250741
  13  0.386978
  14  0.000110373
  15  40.3628
  16  4.88062e-06
  17  99.3402
  18  0.242565
  19  0.14818
Done.

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

Extracting fit parameters...

4FGL J0438.4-1254
   Spectrum: PowerLaw
249    Prefactor:  1.332e+01  1.977e+01  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.013e+00  1.482e-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.253e-01  2.426e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/626010/likelihoodResults_590284801_590544001_4FGL_J0438.4-1254_daily_bin1354.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): 0
logL (Free Index) = 6078.5493366
delta logL = 0.0232302337236

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6078.53950144
delta logL = 0.033065388573

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.740       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1838       1.0000          .0000       10.000    
     3 'Normalizat'    .73182       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0098       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=   6078.540     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      237 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.740        26.138        .97890E-04   -.23957E-03
   2  Index         2.1838        .92173        .10770E-01   -.11016E-03
   3  Normalizat    .73182        .22781        .35648E-03    .56129E-05
   4  Prefactor     1.0098        .14648        .19630E-03    .99497E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.7405
  Index      = 2.18379
  Normalizat = 0.731816
  Prefactor  = 1.00983
 **********
 **   18 **HESSE 
 **********

 FCN=   6078.540     FROM HESSE     STATUS=OK            23 CALLS      260 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.740        25.534        .19578E-04   -1.4889    
   2  Index         2.1838        .90051        .43080E-03   -.59831    
   3  Normalizat    .73182        .22779        .14259E-04   -1.0265    
   4  Prefactor     1.0098        .14650        .39260E-04   -.92403    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.25984e-10
Minuit parameter uncertainties:
  1  25.5511
  2  0.907796
  3  0.228085
  4  0.146554
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/626010': 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) = 6078.53950144
delta logL = 0.03306539193

Extracting fit parameters...

4FGL J0438.4-1254
   Spectrum: PowerLaw
249    Prefactor:  1.674e+01  2.555e+01  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.184e+00  9.078e-01  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.010e+00  1.466e-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.318e-01  2.281e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.60
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/626010/cmap_HighResolution_590284801_590544001_4FGL_J0438.4-1254_daily_bin1354.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.41e-03', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2021-08-21 01:45:37.275099', job_id='626010', GAL2='1.01', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1629535537.28', return_code2='0', ts='0.60', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='3.31e-02', ts2='0.67', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1354' AND source_name='4FGL J0438.4-1254' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 01:45:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 626010: <4FGL_J0438.4-1254_daily_bin1354> in cluster <slac> Done

Job <4FGL_J0438.4-1254_daily_bin1354> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 21 01:30:24 2021
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 01:30:26 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:30:26 2021
Terminated at Sat Aug 21 01:45:38 2021
Results reported at Sat Aug 21 01:45:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0438.4-1254_daily_bin1354 69.6099 -12.9053 590284801 590544001 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 :                                   641.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             268.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            914 sec.

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

