/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 75 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 = 7477
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0754.4-1148_daily_bin7
RA = 118.61, Dec = -11.8052
tmin = 241142401, tmax = 241401601
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='999363', job_status='RUN', time_executed='2021-08-28 19:07:09.743581', time_epoch_executed='1630202829.74' WHERE source_name='4FGL J0754.4-1148' and cadence='daily' and bin_id='7'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/999363

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/999363/ft1_4FGL_J0754.4-1148_daily_bin7.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/999363/ft2_4FGL_J0754.4-1148_daily_bin7.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/999363/ft1_4FGL_J0754.4-1148_daily_bin7.fits outfile=/scratch/kocevski/999363/ft1_filteredMKT_4FGL_J0754.4-1148_daily_bin7.fits ra=118.61 dec=-11.8052 rad=12.0 tmin=241142401.0 tmax=241401601.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 1.66
user 1.30
sys 0.34

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/999363/ft2_4FGL_J0754.4-1148_daily_bin7.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/999363/ft1_filteredMKT_4FGL_J0754.4-1148_daily_bin7.fits evtable="EVENTS" outfile="/scratch/kocevski/999363/ft1_filtered_4FGL_J0754.4-1148_daily_bin7.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.74
user 0.33
sys 0.37

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/999363/ft1_filtered_4FGL_J0754.4-1148_daily_bin7.fits" evtable="EVENTS" scfile=/scratch/kocevski/999363/ft2_4FGL_J0754.4-1148_daily_bin7.fits sctable="SC_DATA" outfile=/scratch/kocevski/999363/ltcube_241142401_241401601_4FGL_J0754.4-1148_daily_bin7.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/999363/ft2_4FGL_J0754.4-1148_daily_bin7.fits
.....................!
real 12.85
user 12.23
sys 0.57

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/999363/ft1_filtered_4FGL_J0754.4-1148_daily_bin7.fits evtable="EVENTS" scfile=/scratch/kocevski/999363/ft2_4FGL_J0754.4-1148_daily_bin7.fits sctable="SC_DATA" expcube=/scratch/kocevski/999363/ltcube_241142401_241401601_4FGL_J0754.4-1148_daily_bin7.fits outfile=/scratch/kocevski/999363/expmap_241142401_241401601_4FGL_J0754.4-1148_daily_bin7.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/999363/ltcube_241142401_241401601_4FGL_J0754.4-1148_daily_bin7.fits
.....................!
real 194.79
user 188.45
sys 5.90

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/999363/ft1_filtered_4FGL_J0754.4-1148_daily_bin7.fits scfile=/scratch/kocevski/999363/ft2_4FGL_J0754.4-1148_daily_bin7.fits outfile=/scratch/kocevski/999363/cmap_241142401_241401601_4FGL_J0754.4-1148_daily_bin7.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.74
user 0.37
sys 0.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/999363/ft1_filtered_4FGL_J0754.4-1148_daily_bin7.fits scfile=/scratch/kocevski/999363/ft2_4FGL_J0754.4-1148_daily_bin7.fits outfile=/scratch/kocevski/999363/cmap_HighResolution_241142401_241401601_4FGL_J0754.4-1148_daily_bin7.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.75
user 0.37
sys 0.37

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/999363/ft1_filtered_4FGL_J0754.4-1148_daily_bin7.fits evtable="EVENTS" scfile=/scratch/kocevski/999363/ft2_4FGL_J0754.4-1148_daily_bin7.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/999363/Model_4FGL_J0754.4-1148_daily_bin7.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/999363/ft1_filtered_4FGL_J0754.4-1148_daily_bin7.fits.....................!
real 195.11
user 193.09
sys 1.62

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/999363/ft1_filtered_4FGL_J0754.4-1148_daily_bin7.fits', '/scratch/kocevski/999363/ft2_4FGL_J0754.4-1148_daily_bin7.fits', expMap='/scratch/kocevski/999363/expmap_241142401_241401601_4FGL_J0754.4-1148_daily_bin7.fits', expCube='/scratch/kocevski/999363/ltcube_241142401_241401601_4FGL_J0754.4-1148_daily_bin7.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/999363/Model_4FGL_J0754.4-1148_daily_bin7.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/999363/ft1_filtered_4FGL_J0754.4-1148_daily_bin7.fits
Spacecraft file(s): /scratch/kocevski/999363/ft2_4FGL_J0754.4-1148_daily_bin7.fits
Exposure map: /scratch/kocevski/999363/expmap_241142401_241401601_4FGL_J0754.4-1148_daily_bin7.fits
Exposure cube: /scratch/kocevski/999363/ltcube_241142401_241401601_4FGL_J0754.4-1148_daily_bin7.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/999363/Model_4FGL_J0754.4-1148_daily_bin7.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) = 14456.8462343

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.3202       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.818       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10187E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.3483       1.0000         .10000E-03   10000.    
     7 'norm      '    6.3599       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.2522       1.0000         .10000E-03   10000.    
    10 'norm      '    .10686E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.8615       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.1813       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .41870E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .79606       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0863       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.

 FCN=   14456.81     FROM MIGRAD    STATUS=CONVERGED    347 CALLS     1457 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.434       -.12282E-04** at limit **
   2  norm          5.3201        1.7134       -.14110E-07   -.32913E-03
   3  Prefactor     15.817        11.270       -.35558E-07   -.28466E-06
   4  Prefactor     .10000E-03    6.1726       -.22698E-05** at limit **
   5  norm          .10000E-03    24.364       -.78688E-05** at limit **
   6  norm          2.3481        9.9271       -.10187E-05   -.26535E-03
   7  norm          6.3596        3.6927       -.55577E-06   -.13904E-03
   8  norm          .10000E-03    8.9832        .63372E-05** at limit **
   9  Prefactor     6.2539        5.8219       -.13383E-06   -.20796E-03
  10  norm          .10000E-03    16.233        .13811E-04** at limit **
  11  norm          .10000E-03    .73741       -.70729E-08** at limit **
  12  Prefactor     .10000E-03    2.2251        .31651E-07** at limit **
  13  norm          1.8614        .96754        .78356E-08   -.15157E-03
  14  Prefactor     5.1813        5.6293       -.51439E-08    .12085E-05
  15  Prefactor     .10001E-03    2.3185       -.30577E-06** at limit **
  16  norm          .10000E-03    5.8171        .13245E-05** at limit **
  17  Normalizat    .79611        .19735       -.28182E-06   -.11111E-03
  18  Prefactor     1.0862        .49003E-01    .14777E-06    .12678E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 5.3201
  Prefactor  = 15.8169
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.34814
  norm       = 6.35963
  norm       = 0.0001
  Prefactor  = 6.25394
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.86137
  Prefactor  = 5.18128
  Prefactor  = 0.000100009
  norm       = 0.0001
  Normalizat = 0.796114
  Prefactor  = 1.08625
 **********
 **   18 **HESSE 
 **********

 FCN=   14456.81     FROM HESSE     STATUS=OK           246 CALLS     1703 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.3201        1.7138        .85049E-04   -1.5247    
   3  Prefactor     15.817        11.264        .10070E-03   -1.4912    
   4  Prefactor     .10000E-03    6.1739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    24.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.3481        9.9527        .26750E-03   -1.5401    
   7  norm          6.3596        3.6914        .15916E-03   -1.5204    
   8  norm          .10000E-03    8.9883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.2539        5.8227        .16054E-03   -1.5208    
  10  norm          .10000E-03    16.423        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .75102        .10078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.2311        .17510E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.8614        .96742        .81468E-04   -1.5435    
  14  Prefactor     5.1813        5.6220        .17661E-03   -1.5253    
  15  Prefactor     .10001E-03    15.216        .35280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    5.8214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .79611        .19870        .60964E-03   -1.0021    
  18  Prefactor     1.0862        .50590E-01    .13605E-03   -.89907    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.97792e-10
Minuit parameter uncertainties:
  1  1.82094e-05
  2  1.71384
  3  11.2657
  4  2.15239e-07
  5  6.04254e-05
  6  9.67111
  7  3.69155
  8  2.58327e-07
  9  5.82319
  10  0.00017695
  11  1.33465e-07
  12  2.45389e-06
  13  0.96743
  14  5.62258
  15  0.000759737
  16  1.18789e-07
  17  0.198876
  18  0.050592
Done.

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

Extracting fit parameters...

4FGL J0754.4-1148
   Spectrum: LogParabola
234         norm:  6.360e+00  3.692e+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.086e+00  5.059e-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:  7.961e-01  1.989e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.41
Ra Dec: 118.610 -11.805
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 6.00e-08 +/- 3.48e-08
Energy Flux (Fixed Index): 3.49e-05 +/- 2.03e-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) = 14456.4648463
delta logL = 0.340193716271

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14456.4526435
delta logL = 0.352396517226

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.3459       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5089       1.0000          .0000       5.0000    
     3 'Normalizat'    .76261       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0883       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=   14456.45     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      283 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.3460        3.8432        .13489E-03   -.27577E-03
   2  alpha         2.5091        .59360        .15127E-01    .52530E-03
   3  Normalizat    .76255        .19764        .62103E-03    .26471E-04
   4  Prefactor     1.0883        .49820E-01    .13589E-03    .13419E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.34603
  alpha      = 2.50908
  Normalizat = 0.762547
  Prefactor  = 1.08832
 **********
 **   18 **HESSE 
 **********

 FCN=   14456.45     FROM HESSE     STATUS=OK            25 CALLS      308 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.3460        3.5983        .53955E-05   -1.5245    
   2  alpha         2.5091        .55570        .30255E-02    .36302E-02
   3  Normalizat    .76255        .19718        .24841E-04   -1.0147    
   4  Prefactor     1.0883        .49799E-01    .54356E-05   -.89841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74401e-11
Minuit parameter uncertainties:
  1  3.59849
  2  0.560377
  3  0.197368
  4  0.0498007
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/999363': 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) = 14456.4526434
delta logL = 0.352396607153

Extracting fit parameters...

4FGL J0754.4-1148
   Spectrum: LogParabola
234         norm:  5.346e+00  3.598e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.509e+00  5.604e-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.088e+00  4.980e-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:  7.625e-01  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.18
Ra Dec: 118.610 -11.805
Photon Index (Free Index): 2.51 +/- 0.56
Photon Flux (Free Index): 1.03e-07 +/- 7.08e-08
Energy Flux (Free Index): 3.17e-05 +/- 1.62e-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/999363/cmap_HighResolution_241142401_241401601_4FGL_J0754.4-1148_daily_bin7.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.00e-08', energy_flux2='3.17e-05', photon_flux_error='3.48e-08', dlogl='3.52e-01', energy_flux='3.49e-05', photon_flux2='1.03e-07', job_status='DONE', time_completed='2021-08-28 19:20:22.365428', photon_index_error2='0.56', photon_index2='2.51', ts='7.41', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='1.62e-05', EG='0.80', time_epoch_completed='1630203622.37', return_code='0', job_id='999363', GAL2='1.09', EG2='0.76', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='7.08e-08', ts2='8.18', photon_index='2.03' WHERE bin_id='7' AND source_name='4FGL J0754.4-1148' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:20:22 PDT 2021


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

Job <4FGL_J0754.4-1148_daily_bin7> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 19:05:38 2021
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 19:05:39 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:05:39 2021
Terminated at Sat Aug 28 19:20:22 2021
Results reported at Sat Aug 28 19:20:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0754.4-1148_daily_bin7 118.61 -11.8052 241142401 241401601 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 :                                   794.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             378.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   883 sec.
    Turnaround time :                            884 sec.

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

