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


Performing analysis on: 4FGL_J0754.4-1148_daily_bin256
RA = 118.61, Dec = -11.8052
tmin = 305683201, tmax = 305942401
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='965', job_status='RUN', time_executed='2021-08-28 19:12:13.504452', time_epoch_executed='1630203133.5' WHERE source_name='4FGL J0754.4-1148' and cadence='daily' and bin_id='256'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/965

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/965/ft1_4FGL_J0754.4-1148_daily_bin256.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/965/ft2_4FGL_J0754.4-1148_daily_bin256.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/965/ft1_4FGL_J0754.4-1148_daily_bin256.fits outfile=/scratch/kocevski/965/ft1_filteredMKT_4FGL_J0754.4-1148_daily_bin256.fits ra=118.61 dec=-11.8052 rad=12.0 tmin=305683201.0 tmax=305942401.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 8.83
user 4.46
sys 4.34

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/965/ft1_filtered_4FGL_J0754.4-1148_daily_bin256.fits" evtable="EVENTS" scfile=/scratch/kocevski/965/ft2_4FGL_J0754.4-1148_daily_bin256.fits sctable="SC_DATA" outfile=/scratch/kocevski/965/ltcube_305683201_305942401_4FGL_J0754.4-1148_daily_bin256.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/965/ft2_4FGL_J0754.4-1148_daily_bin256.fits
.....................!
real 16.49
user 11.39
sys 4.99

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/965/ft1_filtered_4FGL_J0754.4-1148_daily_bin256.fits evtable="EVENTS" scfile=/scratch/kocevski/965/ft2_4FGL_J0754.4-1148_daily_bin256.fits sctable="SC_DATA" expcube=/scratch/kocevski/965/ltcube_305683201_305942401_4FGL_J0754.4-1148_daily_bin256.fits outfile=/scratch/kocevski/965/expmap_305683201_305942401_4FGL_J0754.4-1148_daily_bin256.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/965/ltcube_305683201_305942401_4FGL_J0754.4-1148_daily_bin256.fits
.....................!
real 198.55
user 187.63
sys 10.47

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/965/ft1_filtered_4FGL_J0754.4-1148_daily_bin256.fits scfile=/scratch/kocevski/965/ft2_4FGL_J0754.4-1148_daily_bin256.fits outfile=/scratch/kocevski/965/cmap_305683201_305942401_4FGL_J0754.4-1148_daily_bin256.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 4.61
user 0.36
sys 4.22

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/965/ft1_filtered_4FGL_J0754.4-1148_daily_bin256.fits scfile=/scratch/kocevski/965/ft2_4FGL_J0754.4-1148_daily_bin256.fits outfile=/scratch/kocevski/965/cmap_HighResolution_305683201_305942401_4FGL_J0754.4-1148_daily_bin256.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 4.64
user 0.37
sys 4.23

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/965/ft1_filtered_4FGL_J0754.4-1148_daily_bin256.fits evtable="EVENTS" scfile=/scratch/kocevski/965/ft2_4FGL_J0754.4-1148_daily_bin256.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/965/Model_4FGL_J0754.4-1148_daily_bin256.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/965/ft1_filtered_4FGL_J0754.4-1148_daily_bin256.fits.....................!
real 153.88
user 146.34
sys 6.58

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    16.437       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.7236       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    8.5222       1.0000         .10000E-03   10000.    
     7 'norm      '    5.0725       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    15.159       1.0000         .10000E-03   10000.    
    11 'norm      '    1.9142       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.7287       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.7871       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.1620       1.0000         .10000E-03   10000.    
    16 'norm      '    7.0335       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1914       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0098       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=   10335.12     FROM MIGRAD    STATUS=CONVERGED    348 CALLS     1492 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.3483        .67503E-06** at limit **
   2  norm          16.437        2.8697        .98968E-08    .16746E-03
   3  Prefactor     1.7142        39.241       -.20546E-04    .13630E-04
   4  Prefactor     .10000E-03    11.178       -.30654E-05** at limit **
   5  norm          .10000E-03    11.825        .27979E-05** at limit **
   6  norm          8.5217        18.075       -.15160E-05    .31679E-05
   7  norm          5.0728        4.8691        .99896E-07   -.70357E-04
   8  norm          .10000E-03    20.412        .30788E-06** at limit **
   9  Prefactor     .10000E-03    3.9196       -.14562E-07** at limit **
  10  norm          15.160        11.525       -.11939E-06    .14696E-04
  11  norm          1.9144        2.4765       -.41412E-07    .13866E-05
  12  Prefactor     .10000E-03    6.5834       -.39432E-06** at limit **
  13  norm          3.7288        1.5362       -.34847E-07    .57178E-04
  14  Prefactor     2.7875        5.8124       -.58485E-07   -.79407E-04
  15  Prefactor     1.1629        1.3186        .87420E-07   -.34063E-03
  16  norm          7.0336        11.979       -.76837E-07    .12151E-05
  17  Normalizat    1.1914        .24571        .15935E-05    .83860E-04
  18  Prefactor     1.0098        .59592E-01    .26017E-06    .18633E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 16.4368
  Prefactor  = 1.7142
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 8.52166
  norm       = 5.07279
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 15.1595
  norm       = 1.91436
  Prefactor  = 0.0001
  norm       = 3.72881
  Prefactor  = 2.7875
  Prefactor  = 1.16295
  norm       = 7.0336
  Normalizat = 1.19137
  Prefactor  = 1.00985
 **********
 **   18 **HESSE 
 **********

 FCN=   10335.12     FROM HESSE     STATUS=OK           250 CALLS     1742 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.3530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          16.437        2.8745        .68554E-04   -1.4897    
   3  Prefactor     1.7142        39.415        .31991E-03   -1.5446    
   4  Prefactor     .10000E-03    11.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    11.861        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.5217        18.094        .13732E-03   -1.5124    
   7  norm          5.0728        4.8907        .89263E-03   -1.5257    
   8  norm          .10000E-03    20.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.9309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.160        11.546        .10287E-03   -1.4929    
  11  norm          1.9144        2.4575        .17399E-03   -1.5431    
  12  Prefactor     .10000E-03    6.6321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.7288        1.5337        .76737E-04   -1.5322    
  14  Prefactor     2.7875        5.8322        .12186E-02   -1.5374    
  15  Prefactor     1.1629        7.7015        .21360E-02   -1.5492    
  16  norm          7.0336        11.971        .15126E-03   -1.5177    
  17  Normalizat    1.1914        .25906        .55822E-03   -.86870    
  18  Prefactor     1.0098        .62573E-01    .14804E-03   -.92402    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.28059e-10
Minuit parameter uncertainties:
  1  1.88163e-06
  2  2.87454
  3  16.4513
  4  1.6828e-06
  5  1.18721e-06
  6  18.1054
  7  4.89108
  8  3.73138e-06
  9  1.79289e-06
  10  11.5479
  11  2.45758
  12  8.92695e-06
  13  1.53372
  14  5.83339
  15  5.98633
  16  11.9754
  17  0.259336
  18  0.0625773
Done.

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

Extracting fit parameters...

4FGL J0754.4-1148
   Spectrum: LogParabola
234         norm:  5.073e+00  4.891e+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.010e+00  6.258e-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.191e+00  2.593e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.61
Ra Dec: 118.610 -11.805
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 4.78e-08 +/- 4.61e-08
Energy Flux (Fixed Index): 2.79e-05 +/- 2.69e-05

TS (Fixed Index): 1.61
Ra Dec: 118.610 -11.805
Photon Flux Upper Limit: 1.55e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.01e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/965/likelihoodResults_305683201_305942401_4FGL_J0754.4-1148_daily_bin256.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10334.9861649
delta logL = 0.137606647932

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10334.9722921
delta logL = 0.151479412554

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3798       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4401       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1724       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0109       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=   10334.97     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      213 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3743        82.291        .48112E-02    .59025E-03
   2  alpha         2.4419        3.7028        .41167        .59320E-04
   3  Normalizat    1.1725        .11311        .12655        .27575E-04
   4  Prefactor     1.0109        .23531E-01    .43199E-01   -.33904E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.37434
  alpha      = 2.44189
  Normalizat = 1.17248
  Prefactor  = 1.0109
 **********
 **   18 **HESSE 
 **********

 FCN=   10334.97     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3743        4.9565        .17736E-03   -1.5290    
   2  alpha         2.4419        .79484        .16723E-01   -.23247E-01
   3  Normalizat    1.1725        .24913        .56169E-03   -.87458    
   4  Prefactor     1.0109        .61047E-01    .14794E-03   -.92367    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06061e-11
Minuit parameter uncertainties:
  1  4.95701
  2  0.808886
  3  0.249377
  4  0.0610508
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/965': 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) = 10334.9722892
delta logL = 0.151482358788

Extracting fit parameters...

4FGL J0754.4-1148
   Spectrum: LogParabola
234         norm:  4.374e+00  4.957e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.442e+00  8.089e-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.011e+00  6.105e-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.172e+00  2.494e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.93
Ra Dec: 118.610 -11.805
Photon Index (Free Index): 2.44 +/- 0.81
Photon Flux (Free Index): 7.53e-08 +/- 7.80e-08
Energy Flux (Free Index): 2.49e-05 +/- 2.29e-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/965/cmap_HighResolution_305683201_305942401_4FGL_J0754.4-1148_daily_bin256.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.01e-05', comment='SUCCESS', photon_flux='4.78e-08', energy_flux2='2.49e-05', photon_flux_error='4.61e-08', dlogl='1.51e-01', energy_flux='2.79e-05', photon_flux2='7.53e-08', job_status='DONE', time_completed='2021-08-28 19:25:27.907839', photon_index_error2='0.81', photon_index2='2.44', ts='1.61', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.55e-07', energy_flux_error2='2.29e-05', EG='1.19', time_epoch_completed='1630203927.91', return_code='0', job_id='965', GAL2='1.01', EG2='1.17', return_code2='0', energy_flux_error='2.69e-05', photon_flux_error2='7.80e-08', ts2='1.93', photon_index='2.03' WHERE bin_id='256' AND source_name='4FGL J0754.4-1148' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:25:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 965: <4FGL_J0754.4-1148_daily_bin256> in cluster <slac> Done

Job <4FGL_J0754.4-1148_daily_bin256> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 19:10:25 2021
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 19:10:26 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:10:26 2021
Terminated at Sat Aug 28 19:25:29 2021
Results reported at Sat Aug 28 19:25:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0754.4-1148_daily_bin256 118.61 -11.8052 305683201 305942401 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 :                                   855.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             339.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            904 sec.

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

