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


Performing analysis on: 4FGL_J0754.4-1148_daily_bin1006
RA = 118.61, Dec = -11.8052
tmin = 500083201, tmax = 500342401
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='5483', job_status='RUN', time_executed='2021-08-28 19:25:45.124616', time_epoch_executed='1630203945.12' WHERE source_name='4FGL J0754.4-1148' and cadence='daily' and bin_id='1006'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/5483

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/5483/ft1_4FGL_J0754.4-1148_daily_bin1006.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/5483/ft2_4FGL_J0754.4-1148_daily_bin1006.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/5483/ft1_4FGL_J0754.4-1148_daily_bin1006.fits outfile=/scratch/kocevski/5483/ft1_filteredMKT_4FGL_J0754.4-1148_daily_bin1006.fits ra=118.61 dec=-11.8052 rad=12.0 tmin=500083201.0 tmax=500342401.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.85
user 5.42
sys 0.40

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/5483/ft2_4FGL_J0754.4-1148_daily_bin1006.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/5483/ft2_4FGL_J0754.4-1148_daily_bin1006.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/5483/ft1_filteredMKT_4FGL_J0754.4-1148_daily_bin1006.fits evtable="EVENTS" outfile="/scratch/kocevski/5483/ft1_filtered_4FGL_J0754.4-1148_daily_bin1006.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.80
user 0.32
sys 0.35

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/5483/ft1_filtered_4FGL_J0754.4-1148_daily_bin1006.fits" evtable="EVENTS" scfile=/scratch/kocevski/5483/ft2_4FGL_J0754.4-1148_daily_bin1006.fits sctable="SC_DATA" outfile=/scratch/kocevski/5483/ltcube_500083201_500342401_4FGL_J0754.4-1148_daily_bin1006.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/5483/ft2_4FGL_J0754.4-1148_daily_bin1006.fits
.....................!
real 12.56
user 11.76
sys 0.52

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/5483/ft1_filtered_4FGL_J0754.4-1148_daily_bin1006.fits evtable="EVENTS" scfile=/scratch/kocevski/5483/ft2_4FGL_J0754.4-1148_daily_bin1006.fits sctable="SC_DATA" expcube=/scratch/kocevski/5483/ltcube_500083201_500342401_4FGL_J0754.4-1148_daily_bin1006.fits outfile=/scratch/kocevski/5483/expmap_500083201_500342401_4FGL_J0754.4-1148_daily_bin1006.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/5483/ltcube_500083201_500342401_4FGL_J0754.4-1148_daily_bin1006.fits
.....................!
real 194.09
user 185.98
sys 5.03

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

Setting source of interest to:
4FGL J0754.4-1148 @ 118.61 -11.8052

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/5483/ft1_filtered_4FGL_J0754.4-1148_daily_bin1006.fits scfile=/scratch/kocevski/5483/ft2_4FGL_J0754.4-1148_daily_bin1006.fits outfile=/scratch/kocevski/5483/cmap_500083201_500342401_4FGL_J0754.4-1148_daily_bin1006.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=118.61 yref=-11.8052 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.72
user 0.36
sys 0.34

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/5483/ft1_filtered_4FGL_J0754.4-1148_daily_bin1006.fits scfile=/scratch/kocevski/5483/ft2_4FGL_J0754.4-1148_daily_bin1006.fits outfile=/scratch/kocevski/5483/cmap_HighResolution_500083201_500342401_4FGL_J0754.4-1148_daily_bin1006.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=118.61 yref=-11.8052 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.74
user 0.38
sys 0.34

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/5483/ft1_filtered_4FGL_J0754.4-1148_daily_bin1006.fits evtable="EVENTS" scfile=/scratch/kocevski/5483/ft2_4FGL_J0754.4-1148_daily_bin1006.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/5483/Model_4FGL_J0754.4-1148_daily_bin1006.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/5483/ft1_filtered_4FGL_J0754.4-1148_daily_bin1006.fits.....................!
real 206.40
user 204.54
sys 1.46

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/5483/ft1_filtered_4FGL_J0754.4-1148_daily_bin1006.fits', '/scratch/kocevski/5483/ft2_4FGL_J0754.4-1148_daily_bin1006.fits', expMap='/scratch/kocevski/5483/expmap_500083201_500342401_4FGL_J0754.4-1148_daily_bin1006.fits', expCube='/scratch/kocevski/5483/ltcube_500083201_500342401_4FGL_J0754.4-1148_daily_bin1006.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/5483/Model_4FGL_J0754.4-1148_daily_bin1006.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0754.4-1148'

4FGL J0754.4-1148
   Spectrum: LogParabola
234         norm:  2.025e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.031e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
236         beta:  8.923e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
237           Eb:  1.074e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/5483/ft1_filtered_4FGL_J0754.4-1148_daily_bin1006.fits
Spacecraft file(s): /scratch/kocevski/5483/ft2_4FGL_J0754.4-1148_daily_bin1006.fits
Exposure map: /scratch/kocevski/5483/expmap_500083201_500342401_4FGL_J0754.4-1148_daily_bin1006.fits
Exposure cube: /scratch/kocevski/5483/ltcube_500083201_500342401_4FGL_J0754.4-1148_daily_bin1006.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/5483/Model_4FGL_J0754.4-1148_daily_bin1006.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) = 15809.5131023

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4308       1.0000         .10000E-03   10000.    
     2 'norm      '    2.0036       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.3902       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.8723       1.0000         .10000E-03   10000.    
     6 'norm      '    4.9935       1.0000         .10000E-03   10000.    
     7 'norm      '    4.0649       1.0000         .10000E-03   10000.    
     8 'norm      '    7.3406       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .27012E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.7029       1.0000         .10000E-03   10000.    
    11 'norm      '    .95397       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.8596       1.0000         .10000E-03   10000.    
    13 'norm      '    .16134       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    22.767       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2020       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0256       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+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=   15808.82     FROM MIGRAD    STATUS=CONVERGED    633 CALLS     1848 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4258        8.3157        .26247E-03    .51717E-04
   2  norm          2.0037        1.0858        .93209E-04   -.87819E-05
   3  Prefactor     4.3898        10.562        .96108E-03    .29218E-04
   4  Prefactor     .10000E-03    45.976        .18142E-02** at limit **
   5  norm          4.8717        10.772        .18223E-03    .49909E-06
   6  norm          4.9934        5.1301        .17996E-03   -.32724E-04
   7  norm          4.0648        2.8601        .17299E-03   -.62827E-04
   8  norm          7.3406        18.735        .14804E-03    .61437E-06
   9  Prefactor     .10000E-03    5.5505        .86822E-01** at limit **
  10  norm          4.7053        12.864        .18556E-03   -.11065E-03
  11  norm          .95451        2.1605        .26164E-03   -.27244E-03
  12  Prefactor     2.8595        5.7975        .24040E-03   -.47290E-04
  13  norm          .16152        1.6563        .14698E-02    .64780E-03
  14  Prefactor     .10000E-03    5.5843        .18142E-02** at limit **
  15  Prefactor     .10000E-03    2.1570        .17934E-02** at limit **
  16  norm          22.768        18.094        .83947E-04   -.10785E-03
  17  Normalizat    1.2021        .20080        .50569E-03   -.19892E-03
  18  Prefactor     1.0256        .47674E-01    .13700E-03   -.57167E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.42582
  norm       = 2.00371
  Prefactor  = 4.38981
  Prefactor  = 0.0001
  norm       = 4.87175
  norm       = 4.99345
  norm       = 4.06475
  norm       = 7.34059
  Prefactor  = 0.000100001
  norm       = 4.70531
  norm       = 0.954511
  Prefactor  = 2.85951
  norm       = 0.161525
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 22.7675
  Normalizat = 1.20212
  Prefactor  = 1.02556
 **********
 **   18 **HESSE 
 **********

 FCN=   15808.82     FROM HESSE     STATUS=OK           240 CALLS     2088 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4258        8.3159        .10499E-04   -1.5396    
   2  norm          2.0037        1.0858        .37283E-05   -1.5425    
   3  Prefactor     4.3898        10.559        .38443E-04   -1.5289    
   4  Prefactor     .10000E-03    46.009        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.8717        10.772        .72893E-05   -1.5266    
   6  norm          4.9934        5.1298        .71985E-05   -1.5261    
   7  norm          4.0648        2.8600        .69196E-05   -1.5305    
   8  norm          7.3406        18.737        .59215E-05   -1.5166    
   9  Prefactor     .10000E-03    5.3417        .89836E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.7053        12.862        .74224E-05   -1.5274    
  11  norm          .95451        2.1518        .10466E-04   -1.5513    
  12  Prefactor     2.8595        5.7960        .96161E-05   -1.5370    
  13  norm          .16152        1.6350        .58790E-04   -1.5628    
  14  Prefactor     .10000E-03    5.5858        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.1579        .35868E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          22.768        18.085        .16789E-04   -1.4753    
  17  Normalizat    1.2021        .20041        .20227E-04   -.86537    
  18  Prefactor     1.0256        .47678E-01    .27401E-04   -.91882    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.34688e-10
Minuit parameter uncertainties:
  1  8.31984
  2  1.08582
  3  10.5639
  4  5.55043e-05
  5  10.7765
  6  5.13028
  7  2.86008
  8  18.7519
  9  0.000105836
  10  12.8698
  11  2.152
  12  5.79711
  13  1.02751
  14  6.06734e-05
  15  2.66213e-05
  16  18.0897
  17  0.200538
  18  0.0476802
Done.

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

Extracting fit parameters...

4FGL J0754.4-1148
   Spectrum: LogParabola
234         norm:  4.065e+00  2.860e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.031e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
236         beta:  8.923e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
237           Eb:  1.074e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  1.026e+00  4.768e-02  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.202e+00  2.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.98
Ra Dec: 118.610 -11.805
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 3.83e-08 +/- 2.70e-08
Energy Flux (Fixed Index): 2.23e-05 +/- 1.57e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15808.775368
delta logL = 0.0482275797422

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15808.7735133
delta logL = 0.050082321879

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2336       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8791       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2059       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0254       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15808.77     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      224 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2331        90.707        .48960E-02    .24004E-03
   2  alpha         1.8790        3.1383        .42883        .30223E-04
   3  Normalizat    1.2059        .12615        .11388        .41900E-04
   4  Prefactor     1.0254        .26191E-01    .31005E-01   -.18280E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.23309
  alpha      = 1.87899
  Normalizat = 1.2059
  Prefactor  = 1.0254
 **********
 **   18 **HESSE 
 **********

 FCN=   15808.77     FROM HESSE     STATUS=OK            33 CALLS      257 TOTAL
                     EDM=   .96E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2331        3.0443        .18013E-03   -1.5296    
   2  alpha         1.8790        .47944        .19095E-01   -.25103    
   3  Normalizat    1.2059        .18363        .50506E-03   -.86421    
   4  Prefactor     1.0254        .46653E-01    .13702E-03   -.91888    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.6183e-13
Minuit parameter uncertainties:
  1  3.04445
  2  0.482626
  3  0.183732
  4  0.0466553
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/5483': 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) = 15808.7735133
delta logL = 0.0500823558796

Extracting fit parameters...

4FGL J0754.4-1148
   Spectrum: LogParabola
234         norm:  4.233e+00  3.044e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  1.879e+00  4.826e-01  0.000e+00  5.000e+00 ( 1.000e+00)
236         beta:  8.923e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
237           Eb:  1.074e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  1.025e+00  4.666e-02  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.206e+00  1.837e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.08
Ra Dec: 118.610 -11.805
Photon Index (Free Index): 1.88 +/- 0.48
Photon Flux (Free Index): 3.30e-08 +/- 2.88e-08
Energy Flux (Free Index): 2.57e-05 +/- 2.22e-05

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/5483/cmap_HighResolution_500083201_500342401_4FGL_J0754.4-1148_daily_bin1006.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.83e-08', energy_flux2='2.57e-05', photon_flux_error='2.70e-08', dlogl='5.01e-02', energy_flux='2.23e-05', photon_flux2='3.30e-08', job_status='DONE', time_completed='2021-08-28 19:40:57.546702', photon_index_error2='0.48', photon_index2='1.88', ts='4.98', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='2.22e-05', EG='1.20', time_epoch_completed='1630204857.55', return_code='0', job_id='5483', GAL2='1.03', EG2='1.21', return_code2='0', energy_flux_error='1.57e-05', photon_flux_error2='2.88e-08', ts2='5.08', photon_index='2.03' WHERE bin_id='1006' AND source_name='4FGL J0754.4-1148' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:40:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 5483: <4FGL_J0754.4-1148_daily_bin1006> in cluster <slac> Done

Job <4FGL_J0754.4-1148_daily_bin1006> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 28 19:25:22 2021
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 19:25:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 19:25:24 2021
Terminated at Sat Aug 28 19:40:58 2021
Results reported at Sat Aug 28 19:40:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0754.4-1148_daily_bin1006 118.61 -11.8052 500083201 500342401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0754.4-1148 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   908.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             360.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   933 sec.
    Turnaround time :                            936 sec.

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

