/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 97 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 = 7418
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0754.4-1148_daily_bin507
RA = 118.61, Dec = -11.8052
tmin = 370742401, tmax = 371001601
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='2504', job_status='RUN', time_executed='2021-08-28 19:17:47.900364', time_epoch_executed='1630203467.9' WHERE source_name='4FGL J0754.4-1148' and cadence='daily' and bin_id='507'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/2504

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/2504/ft1_4FGL_J0754.4-1148_daily_bin507.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/2504/ft2_4FGL_J0754.4-1148_daily_bin507.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/2504/ft1_4FGL_J0754.4-1148_daily_bin507.fits outfile=/scratch/kocevski/2504/ft1_filteredMKT_4FGL_J0754.4-1148_daily_bin507.fits ra=118.61 dec=-11.8052 rad=12.0 tmin=370742401.0 tmax=371001601.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.76
user 5.09
sys 0.57

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/2504/ft2_4FGL_J0754.4-1148_daily_bin507.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/2504/ft1_filteredMKT_4FGL_J0754.4-1148_daily_bin507.fits evtable="EVENTS" outfile="/scratch/kocevski/2504/ft1_filtered_4FGL_J0754.4-1148_daily_bin507.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.94
user 0.34
sys 0.46

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/2504/ft1_filtered_4FGL_J0754.4-1148_daily_bin507.fits" evtable="EVENTS" scfile=/scratch/kocevski/2504/ft2_4FGL_J0754.4-1148_daily_bin507.fits sctable="SC_DATA" outfile=/scratch/kocevski/2504/ltcube_370742401_371001601_4FGL_J0754.4-1148_daily_bin507.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/2504/ft2_4FGL_J0754.4-1148_daily_bin507.fits
.....................!
real 12.23
user 11.50
sys 0.67

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/2504/ft1_filtered_4FGL_J0754.4-1148_daily_bin507.fits evtable="EVENTS" scfile=/scratch/kocevski/2504/ft2_4FGL_J0754.4-1148_daily_bin507.fits sctable="SC_DATA" expcube=/scratch/kocevski/2504/ltcube_370742401_371001601_4FGL_J0754.4-1148_daily_bin507.fits outfile=/scratch/kocevski/2504/expmap_370742401_371001601_4FGL_J0754.4-1148_daily_bin507.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/2504/ltcube_370742401_371001601_4FGL_J0754.4-1148_daily_bin507.fits
.....................!
real 192.79
user 187.72
sys 4.65

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/2504/ft1_filtered_4FGL_J0754.4-1148_daily_bin507.fits scfile=/scratch/kocevski/2504/ft2_4FGL_J0754.4-1148_daily_bin507.fits outfile=/scratch/kocevski/2504/cmap_370742401_371001601_4FGL_J0754.4-1148_daily_bin507.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.87
user 0.38
sys 0.46

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/2504/ft1_filtered_4FGL_J0754.4-1148_daily_bin507.fits scfile=/scratch/kocevski/2504/ft2_4FGL_J0754.4-1148_daily_bin507.fits outfile=/scratch/kocevski/2504/cmap_HighResolution_370742401_371001601_4FGL_J0754.4-1148_daily_bin507.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.87
user 0.37
sys 0.48

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/2504/ft1_filtered_4FGL_J0754.4-1148_daily_bin507.fits evtable="EVENTS" scfile=/scratch/kocevski/2504/ft2_4FGL_J0754.4-1148_daily_bin507.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/2504/Model_4FGL_J0754.4-1148_daily_bin507.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/2504/ft1_filtered_4FGL_J0754.4-1148_daily_bin507.fits.....................!
real 164.92
user 162.92
sys 1.60

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.6065       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.6951       1.0000         .10000E-03   10000.    
     6 'norm      '    5.8097       1.0000         .10000E-03   10000.    
     7 'norm      '    10.918       1.0000         .10000E-03   10000.    
     8 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.3527       1.0000         .10000E-03   10000.    
    11 'norm      '    4.8508       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.7823       1.0000         .10000E-03   10000.    
    13 'norm      '    .45936E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.875       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.3570       1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .93072       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0139       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=   11728.03     FROM MIGRAD    STATUS=CONVERGED    356 CALLS     1499 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.4566       -.31868E-07** at limit **
   2  norm          1.6065        1.2322       -.90999E-08   -.78162E-04
   3  Prefactor     .10000E-03    4.5791       -.20976E-08** at limit **
   4  Prefactor     .10000E-03    19.287        .89194E-08** at limit **
   5  norm          5.6952        10.430       -.20909E-07    .77688E-05
   6  norm          5.8096        7.7486       -.49536E-06   -.33172E-03
   7  norm          10.918        5.1826       -.41647E-07   -.29187E-03
   8  norm          .10000E-03    49.475       -.22943E-07** at limit **
   9  Prefactor     .10000E-03    4.0289       -.25292E-09** at limit **
  10  norm          6.3532        7.5767        .28527E-07   -.39182E-03
  11  norm          4.8512        2.7711        .61478E-08   -.29222E-03
  12  Prefactor     4.7824        4.6700       -.39008E-06   -.63778E-03
  13  norm          .44850E-01    .44840       -.36118E-07    .10164E-02
  14  Prefactor     11.875        8.8150        .37401E-07   -.64138E-04
  15  Prefactor     5.3569        4.3606        .13016E-06   -.28046E-02
  16  norm          .10000E-03    6.9095        .33930E-07** at limit **
  17  Normalizat    .93072        .21519        .18731E-06   -.12214E-05
  18  Prefactor     1.0139        .52380E-01    .15144E-07   -.24236E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.60654
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.69519
  norm       = 5.80956
  norm       = 10.9183
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.35321
  norm       = 4.8512
  Prefactor  = 4.78244
  norm       = 0.0448503
  Prefactor  = 11.8748
  Prefactor  = 5.35686
  norm       = 0.0001
  Normalizat = 0.930716
  Prefactor  = 1.01393
 **********
 **   18 **HESSE 
 **********

 FCN=   11728.03     FROM HESSE     STATUS=OK           250 CALLS     1749 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.4647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.6065        1.2258        .10131E-03   -1.5454    
   3  Prefactor     .10000E-03    4.5906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    19.342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.6952        10.423        .16832E-03   -1.5231    
   6  norm          5.8096        9.8906        .83312E-03   -1.5226    
   7  norm          10.918        5.2299        .60625E-03   -1.5047    
   8  norm          .10000E-03    49.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.0700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.3532        7.5809        .15925E-03   -1.5204    
  11  norm          4.8512        2.7851        .12871E-03   -1.5267    
  12  Prefactor     4.7824        6.3923        .91989E-03   -1.5271    
  13  norm          .44850E-01    5.5333        .13417E-02   -1.5666    
  14  Prefactor     11.875        8.8306        .11625E-03   -1.5019    
  15  Prefactor     5.3569        4.3439        .17363E-03   -1.5245    
  16  norm          .10000E-03    6.9106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .93072        .22305        .56013E-03   -.95389    
  18  Prefactor     1.0139        .54103E-01    .13564E-03   -.92267    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.51297e-09
Minuit parameter uncertainties:
  1  7.28593e-05
  2  1.22583
  3  8.02931e-07
  4  4.55668e-05
  5  10.4268
  6  9.89334
  7  5.23012
  8  0.000120935
  9  3.90656e-06
  10  7.58202
  11  2.78521
  12  6.39325
  13  0.995316
  14  8.83152
  15  4.34419
  16  7.62319e-05
  17  0.223276
  18  0.0541063
Done.

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

Extracting fit parameters...

4FGL J0754.4-1148
   Spectrum: LogParabola
234         norm:  1.092e+01  5.230e+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.014e+00  5.411e-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:  9.307e-01  2.233e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.19
Ra Dec: 118.610 -11.805
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 1.03e-07 +/- 4.93e-08
Energy Flux (Fixed Index): 6.00e-05 +/- 2.87e-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) = 11726.9384077
delta logL = 1.09578244597

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11726.9301354
delta logL = 1.10405473756

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.2734       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7495       1.0000          .0000       5.0000    
     3 'Normalizat'    .84876       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0199       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=   11726.93     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      285 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.2738        5.5484        .10323E-03    .42732E-03
   2  alpha         2.7495        .54011        .92281E-02    .48907E-04
   3  Normalizat    .84873        .21733        .58159E-03   -.10900E-03
   4  Prefactor     1.0199        .53478E-01    .13516E-03    .65542E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.27382
  alpha      = 2.74946
  Normalizat = 0.848729
  Prefactor  = 1.01991
 **********
 **   18 **HESSE 
 **********

 FCN=   11726.93     FROM HESSE     STATUS=OK            25 CALLS      310 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.2738        4.8482        .41290E-05   -1.5169    
   2  alpha         2.7495        .47236        .36912E-03    .99950E-01
   3  Normalizat    .84873        .21648        .23264E-04   -.98286    
   4  Prefactor     1.0199        .53414E-01    .27033E-04   -.92069    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.68797e-10
Minuit parameter uncertainties:
  1  4.84845
  2  0.475243
  3  0.216698
  4  0.0534163
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/2504': 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) = 11726.9301354
delta logL = 1.104054785

Extracting fit parameters...

4FGL J0754.4-1148
   Spectrum: LogParabola
234         norm:  7.274e+00  4.848e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.749e+00  4.752e-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.020e+00  5.342e-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:  8.487e-01  2.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.70
Ra Dec: 118.610 -11.805
Photon Index (Free Index): 2.75 +/- 0.48
Photon Flux (Free Index): 2.09e-07 +/- 9.60e-08
Energy Flux (Free Index): 5.29e-05 +/- 2.01e-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/2504/cmap_HighResolution_370742401_371001601_4FGL_J0754.4-1148_daily_bin507.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.03e-07', energy_flux2='5.29e-05', photon_flux_error='4.93e-08', dlogl='1.10e+00', energy_flux='6.00e-05', photon_flux2='2.09e-07', job_status='DONE', time_completed='2021-08-28 19:29:58.220423', photon_index_error2='0.48', photon_index2='2.75', ts='12.19', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='2.01e-05', EG='0.93', time_epoch_completed='1630204198.22', return_code='0', job_id='2504', GAL2='1.02', EG2='0.85', return_code2='0', energy_flux_error='2.87e-05', photon_flux_error2='9.60e-08', ts2='14.70', photon_index='2.03' WHERE bin_id='507' AND source_name='4FGL J0754.4-1148' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:29:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 2504: <4FGL_J0754.4-1148_daily_bin507> in cluster <slac> Done

Job <4FGL_J0754.4-1148_daily_bin507> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 28 19:15:40 2021
Job was executed on host(s) <bullet0053>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 19:15:41 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:15:41 2021
Terminated at Sat Aug 28 19:29:59 2021
Results reported at Sat Aug 28 19:29:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0754.4-1148_daily_bin507 118.61 -11.8052 370742401 371001601 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 :                                   730.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   857 sec.
    Turnaround time :                            859 sec.

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

