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


Performing analysis on: 4FGL_J0754.4-1148_daily_bin872
RA = 118.61, Dec = -11.8052
tmin = 465350401, tmax = 465609601
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='4168', job_status='RUN', time_executed='2021-08-28 19:21:12.680953', time_epoch_executed='1630203672.68' WHERE source_name='4FGL J0754.4-1148' and cadence='daily' and bin_id='872'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/4168

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/4168/ft1_4FGL_J0754.4-1148_daily_bin872.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/4168/ft2_4FGL_J0754.4-1148_daily_bin872.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/4168/ft1_4FGL_J0754.4-1148_daily_bin872.fits outfile=/scratch/kocevski/4168/ft1_filteredMKT_4FGL_J0754.4-1148_daily_bin872.fits ra=118.61 dec=-11.8052 rad=12.0 tmin=465350401.0 tmax=465609601.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 4.82
user 3.23
sys 1.54

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/4168/ft1_filtered_4FGL_J0754.4-1148_daily_bin872.fits" evtable="EVENTS" scfile=/scratch/kocevski/4168/ft2_4FGL_J0754.4-1148_daily_bin872.fits sctable="SC_DATA" outfile=/scratch/kocevski/4168/ltcube_465350401_465609601_4FGL_J0754.4-1148_daily_bin872.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/4168/ft2_4FGL_J0754.4-1148_daily_bin872.fits
.....................!
real 13.54
user 11.63
sys 1.84

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/4168/ft1_filtered_4FGL_J0754.4-1148_daily_bin872.fits evtable="EVENTS" scfile=/scratch/kocevski/4168/ft2_4FGL_J0754.4-1148_daily_bin872.fits sctable="SC_DATA" expcube=/scratch/kocevski/4168/ltcube_465350401_465609601_4FGL_J0754.4-1148_daily_bin872.fits outfile=/scratch/kocevski/4168/expmap_465350401_465609601_4FGL_J0754.4-1148_daily_bin872.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/4168/ltcube_465350401_465609601_4FGL_J0754.4-1148_daily_bin872.fits
.....................!
real 192.30
user 185.78
sys 6.12

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/4168/ft1_filtered_4FGL_J0754.4-1148_daily_bin872.fits scfile=/scratch/kocevski/4168/ft2_4FGL_J0754.4-1148_daily_bin872.fits outfile=/scratch/kocevski/4168/cmap_465350401_465609601_4FGL_J0754.4-1148_daily_bin872.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 1.73
user 0.37
sys 1.34

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/4168/ft1_filtered_4FGL_J0754.4-1148_daily_bin872.fits scfile=/scratch/kocevski/4168/ft2_4FGL_J0754.4-1148_daily_bin872.fits outfile=/scratch/kocevski/4168/cmap_HighResolution_465350401_465609601_4FGL_J0754.4-1148_daily_bin872.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 2.04
user 0.39
sys 1.47

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/4168/ft1_filtered_4FGL_J0754.4-1148_daily_bin872.fits evtable="EVENTS" scfile=/scratch/kocevski/4168/ft2_4FGL_J0754.4-1148_daily_bin872.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/4168/Model_4FGL_J0754.4-1148_daily_bin872.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/4168/ft1_filtered_4FGL_J0754.4-1148_daily_bin872.fits.....................!
real 213.50
user 209.06
sys 3.02

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11949E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    2.4085       1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.688       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .24282E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.4072       1.0000         .10000E-03   10000.    
     6 'norm      '    3.8352       1.0000         .10000E-03   10000.    
     7 'norm      '    3.5121       1.0000         .10000E-03   10000.    
     8 'norm      '    55.081       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .17388E-01   1.0000         .10000E-03   10000.    
    10 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .30610E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10088E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.8369       1.0000         .10000E-03   10000.    
    16 'norm      '    23.083       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2195       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0337       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=   15304.03     FROM MIGRAD    STATUS=CONVERGED    365 CALLS     1767 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.265        .14450E-05** at limit **
   2  norm          2.4068        1.4011       -.52261E-06   -.11236E-02
   3  Prefactor     16.668        11.309       -.44979E-06    .19952E-04
   4  Prefactor     .10000E-03    25.111       -.91036E-05** at limit **
   5  norm          6.4071        6.8401        .96030E-06    .15333E-02
   6  norm          3.8328        7.8126       -.12617E-05   -.18871E-03
   7  norm          3.5121        3.0297       -.24167E-06   -.17199E-06
   8  norm          54.957        44.763       -.12512E-03    .16111E-05
   9  Prefactor     .10088E-03    4.2393        .72976E-06** at limit **
  10  norm          .10000E-03    9.5365       -.26771E-05** at limit **
  11  norm          .10000E-03    .83863       -.72229E-07** at limit **
  12  Prefactor     .10000E-03    5.8997        .10523E-07** at limit **
  13  norm          .10000E-03    .47527       -.20630E-06** at limit **
  14  Prefactor     .10000E-03    10.547        .30128E-05** at limit **
  15  Prefactor     4.8404        5.1938       -.18425E-05   -.39615E-03
  16  norm          23.062        18.745       -.47792E-05   -.24314E-04
  17  Normalizat    1.2197        .19836        .23695E-05    .16333E-03
  18  Prefactor     1.0337        .47002E-01    .21906E-05   -.49601E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.40675
  Prefactor  = 16.6679
  Prefactor  = 0.0001
  norm       = 6.40706
  norm       = 3.83277
  norm       = 3.51214
  norm       = 54.957
  Prefactor  = 0.000100877
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.84041
  norm       = 23.0619
  Normalizat = 1.21969
  Prefactor  = 1.03373
 **********
 **   18 **HESSE 
 **********

 FCN=   15304.03     FROM HESSE     STATUS=OK           256 CALLS     2023 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.360        .20641E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.4068        1.3964        .10636E-03   -1.5398    
   3  Prefactor     16.668        11.308        .98043E-04   -1.4891    
   4  Prefactor     .10000E-03    25.195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.4071        6.8457        .79281E-03   -1.5202    
   6  norm          3.8328        7.7986        .20608E-03   -1.5316    
   7  norm          3.5121        3.0328        .19369E-03   -1.5333    
   8  norm          54.957        44.771        .27024E-03   -1.4224    
   9  Prefactor     .10088E-03    4.6690        .83844E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    9.7408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .84795        .11052E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.9769        .21381E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.4575        .16382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.8404        5.1895        .18291E-03   -1.5268    
  16  norm          23.062        18.723        .83372E-04   -1.4747    
  17  Normalizat    1.2197        .20340        .53167E-03   -.85996    
  18  Prefactor     1.0337        .48980E-01    .13896E-03   -.91613    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.04593e-09
Minuit parameter uncertainties:
  1  8.24261e-05
  2  1.39639
  3  11.3097
  4  7.60376e-05
  5  6.84649
  6  7.80065
  7  3.0329
  8  44.7984
  9  0.00404846
  10  4.81335e-05
  11  5.29218e-06
  12  8.94012e-06
  13  2.71891e-05
  14  4.47717e-05
  15  5.18999
  16  18.7278
  17  0.203531
  18  0.0489822
Done.

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

Extracting fit parameters...

4FGL J0754.4-1148
   Spectrum: LogParabola
234         norm:  3.512e+00  3.033e+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.034e+00  4.898e-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.220e+00  2.035e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.37
Ra Dec: 118.610 -11.805
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 3.31e-08 +/- 2.86e-08
Energy Flux (Fixed Index): 1.93e-05 +/- 1.67e-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) = 15302.7351034
delta logL = 1.29823190938

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15302.0627703
delta logL = 1.97056492768

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .47137       1.0000         .10000E-03   10000.    
     2 'alpha     '    .50375       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2386       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0343       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15302.06     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      239 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .47170        .83785         .0000       -.44697E-01
   2  alpha         .50304        .61580         .0000       -.19908E-04
   3  Normalizat    1.2386        .18920         .0000       -.15075E-03
   4  Prefactor     1.0343        .46190E-01     .0000        .49607E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.4717
  alpha      = 0.503041
  Normalizat = 1.23857
  Prefactor  = 1.03431
 **********
 **   18 **HESSE 
 **********

 FCN=   15302.06     FROM HESSE     STATUS=OK            35 CALLS      274 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .47170        22.558        .45032E-02   -1.5571    
   2  alpha         .50304        4.5034        .31141E-01   -.92527    
   3  Normalizat    1.2386        .19633        .52852E-03   -.85419    
   4  Prefactor     1.0343        .48287E-01    .13894E-03   -.91595    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.06593e-09
Minuit parameter uncertainties:
  1  6.52589
  2  4.73809
  3  0.196446
  4  0.0482886
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/4168': 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) = 15302.0627665
delta logL = 1.97056877699

Extracting fit parameters...

4FGL J0754.4-1148
   Spectrum: LogParabola
234         norm:  4.717e-01  6.526e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  5.030e-01  4.738e+00  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.034e+00  4.829e-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.239e+00  1.964e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.29
Ra Dec: 118.610 -11.805
Photon Index (Free Index): 0.50 +/- 4.74
Photon Flux (Free Index): 4.54e-09 +/- 2.12e-08
Energy Flux (Free Index): 8.91e-05 +/- 2.78e-04

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/4168/cmap_HighResolution_465350401_465609601_4FGL_J0754.4-1148_daily_bin872.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.31e-08', energy_flux2='8.91e-05', photon_flux_error='2.86e-08', dlogl='1.97e+00', energy_flux='1.93e-05', photon_flux2='4.54e-09', job_status='DONE', time_completed='2021-08-28 19:36:07.675891', photon_index_error2='4.74', photon_index2='0.50', ts='6.37', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='2.78e-04', EG='1.22', time_epoch_completed='1630204567.68', return_code='0', job_id='4168', GAL2='1.03', EG2='1.24', return_code2='0', energy_flux_error='1.67e-05', photon_flux_error2='2.12e-08', ts2='10.29', photon_index='2.03' WHERE bin_id='872' AND source_name='4FGL J0754.4-1148' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:36:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 4168: <4FGL_J0754.4-1148_daily_bin872> in cluster <slac> Done

Job <4FGL_J0754.4-1148_daily_bin872> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 28 19:20:31 2021
Job was executed on host(s) <bullet0152>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 19:20:33 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:20:33 2021
Terminated at Sat Aug 28 19:36:08 2021
Results reported at Sat Aug 28 19:36:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0754.4-1148_daily_bin872 118.61 -11.8052 465350401 465609601 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.42 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             341.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            937 sec.

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

