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


Performing analysis on: 4FGL_J0754.4-1148_daily_bin203
RA = 118.61, Dec = -11.8052
tmin = 291945601, tmax = 292204801
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='890', job_status='RUN', time_executed='2021-08-28 19:10:40.687567', time_epoch_executed='1630203040.69' WHERE source_name='4FGL J0754.4-1148' and cadence='daily' and bin_id='203'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/890

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/890/ft1_4FGL_J0754.4-1148_daily_bin203.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/890/ft2_4FGL_J0754.4-1148_daily_bin203.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/890/ft1_4FGL_J0754.4-1148_daily_bin203.fits outfile=/scratch/kocevski/890/ft1_filteredMKT_4FGL_J0754.4-1148_daily_bin203.fits ra=118.61 dec=-11.8052 rad=12.0 tmin=291945601.0 tmax=292204801.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.11
user 3.52
sys 0.49

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/890/ft1_filtered_4FGL_J0754.4-1148_daily_bin203.fits" evtable="EVENTS" scfile=/scratch/kocevski/890/ft2_4FGL_J0754.4-1148_daily_bin203.fits sctable="SC_DATA" outfile=/scratch/kocevski/890/ltcube_291945601_292204801_4FGL_J0754.4-1148_daily_bin203.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/890/ft2_4FGL_J0754.4-1148_daily_bin203.fits
.....................!
real 11.67
user 11.03
sys 0.61

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/890/ft1_filtered_4FGL_J0754.4-1148_daily_bin203.fits evtable="EVENTS" scfile=/scratch/kocevski/890/ft2_4FGL_J0754.4-1148_daily_bin203.fits sctable="SC_DATA" expcube=/scratch/kocevski/890/ltcube_291945601_292204801_4FGL_J0754.4-1148_daily_bin203.fits outfile=/scratch/kocevski/890/expmap_291945601_292204801_4FGL_J0754.4-1148_daily_bin203.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/890/ltcube_291945601_292204801_4FGL_J0754.4-1148_daily_bin203.fits
.....................!
real 192.41
user 186.25
sys 5.80

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/890/ft1_filtered_4FGL_J0754.4-1148_daily_bin203.fits scfile=/scratch/kocevski/890/ft2_4FGL_J0754.4-1148_daily_bin203.fits outfile=/scratch/kocevski/890/cmap_291945601_292204801_4FGL_J0754.4-1148_daily_bin203.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.80
user 0.35
sys 0.43

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/890/ft1_filtered_4FGL_J0754.4-1148_daily_bin203.fits scfile=/scratch/kocevski/890/ft2_4FGL_J0754.4-1148_daily_bin203.fits outfile=/scratch/kocevski/890/cmap_HighResolution_291945601_292204801_4FGL_J0754.4-1148_daily_bin203.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.83
user 0.36
sys 0.43

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/890/ft1_filtered_4FGL_J0754.4-1148_daily_bin203.fits evtable="EVENTS" scfile=/scratch/kocevski/890/ft2_4FGL_J0754.4-1148_daily_bin203.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/890/Model_4FGL_J0754.4-1148_daily_bin203.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/890/ft1_filtered_4FGL_J0754.4-1148_daily_bin203.fits.....................!
real 150.42
user 148.23
sys 1.56

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    14.344       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .34502       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.5463       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .18912E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    4.9727       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.4049       1.0000         .10000E-03   10000.    
    10 'norm      '    .10007E-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.4217       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.6562       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.307       1.0000         .10000E-03   10000.    
    16 'norm      '    64.608       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .85029       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .98934       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=   10848.37     FROM MIGRAD    STATUS=CONVERGED    628 CALLS     1813 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.4246        .18142E-02** at limit **
   2  norm          14.344        2.5792        .67233E-04   -.60536E-04
   3  Prefactor     .45161        57.557        .55319E-02    .52610E-03
   4  Prefactor     5.5423        35.964        .17060E-03   -.27456E-04
   5  norm          .10000E-03    8.7697        .18142E-02** at limit **
   6  norm          .10000E-03    18.287        .18142E-02** at limit **
   7  norm          .10032E-03    3.3692        .49238E-01** at limit **
   8  norm          4.9753        78.443        .18035E-03    .11977E-04
   9  Prefactor     1.4059        5.2156        .36583E-03   -.26427E-03
  10  norm          .10000E-03    11.599        .18142E-02** at limit **
  11  norm          .10000E-03    .80686        .90636E-03** at limit **
  12  Prefactor     .10000E-03    5.3793        .18142E-02** at limit **
  13  norm          1.4219        .85236        .72278E-04   -.21203E-03
  14  Prefactor     7.6575        7.6089        .72464E-03   -.18218E-03
  15  Prefactor     10.309        5.6768        .12480E-03   -.18036E-04
  16  norm          64.612        30.619        .49927E-04    .72410E-04
  17  Normalizat    .85018        .22256        .57769E-03   -.67619E-04
  18  Prefactor     .98930        .56073E-01    .13731E-03   -.13778E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 14.344
  Prefactor  = 0.45161
  Prefactor  = 5.54235
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.000100315
  norm       = 4.97527
  Prefactor  = 1.40587
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.42188
  Prefactor  = 7.65753
  Prefactor  = 10.3088
  norm       = 64.6122
  Normalizat = 0.850185
  Prefactor  = 0.9893
 **********
 **   18 **HESSE 
 **********

 FCN=   10848.37     FROM HESSE     STATUS=OK           238 CALLS     2051 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.4247        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          14.344        2.5792        .26893E-05   -1.4950    
   3  Prefactor     .45161        58.989        .22127E-03   -1.5574    
   4  Prefactor     5.5423        35.976        .68239E-05   -1.5237    
   5  norm          .10000E-03    8.7703        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    18.303        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10032E-03    2.9608        .54156E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.9753        78.563        .72138E-05   -1.5262    
   9  Prefactor     1.4059        5.2151        .14633E-04   -1.5471    
  10  norm          .10000E-03    11.605        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .80699        .18127E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.3809        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.4219        .85233        .14456E-04   -1.5469    
  14  Prefactor     7.6575        7.6078        .28986E-04   -1.5154    
  15  Prefactor     10.309        5.6764        .49921E-05   -1.5066    
  16  norm          64.612        30.616        .99854E-05   -1.4099    
  17  Normalizat    .85018        .22244        .23108E-04   -.98233    
  18  Prefactor     .98930        .56050E-01    .54922E-05   -.93087    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.47445e-09
Minuit parameter uncertainties:
  1  9.37472e-06
  2  2.57925
  3  10.3321
  4  28.2656
  5  2.02702e-06
  6  8.65853e-05
  7  0.00193247
  8  39.6023
  9  5.21675
  10  5.87328e-05
  11  1.73722e-06
  12  2.46925e-06
  13  0.852341
  14  7.60876
  15  5.6767
  16  30.6236
  17  0.222677
  18  0.0560532
Done.

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

Extracting fit parameters...

4FGL J0754.4-1148
   Spectrum: LogParabola
234         norm:  1.003e-04  1.932e-03  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:  9.893e-01  5.605e-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.502e-01  2.227e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 118.610 -11.805
Photon Flux Upper Limit: 9.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.63e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/890/likelihoodResults_291945601_292204801_4FGL_J0754.4-1148_daily_bin203.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): 102
logL (Free Index) = 10848.3694023
delta logL = -0.000110157832751

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10848.3694023
delta logL = -0.000110138422315

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .96365E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0311       1.0000          .0000       5.0000    
     3 'Normalizat'    .85018       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98929       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=   10848.34     FROM MIGRAD    STATUS=CONVERGED    117 CALLS      297 TOTAL
                     EDM=   .27E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .52973        2.8531         .0000        .68381E-01
   2  alpha         1.2446        1.2165         .0000       -.81398E-04
   3  Normalizat    .84958        .20961         .0000       -.41276E-04
   4  Prefactor     .98874        .53737E-01     .0000        .77427E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.529729
  alpha      = 1.24459
  Normalizat = 0.84958
  Prefactor  = 0.988736
 **********
 **   18 **HESSE 
 **********

 FCN=   10848.34     FROM HESSE     STATUS=OK            33 CALLS      330 TOTAL
                     EDM=   .82E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .52973        3.1539        .16942E-02   -1.5562    
   2  alpha         1.2446        1.5407        .60113E-01   -.52610    
   3  Normalizat    .84958        .21366        .57779E-03   -.98255    
   4  Prefactor     .98874        .55091E-01    .13734E-03   -.93106    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.15692e-08
Minuit parameter uncertainties:
  1  2.58509
  2  1.71497
  3  0.213876
  4  0.0550945
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/890': 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) = 10848.3421221
delta logL = 0.0271700956728

Extracting fit parameters...

4FGL J0754.4-1148
   Spectrum: LogParabola
234         norm:  5.297e-01  2.585e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  1.245e+00  1.715e+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:  9.887e-01  5.509e-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.496e-01  2.139e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 118.610 -11.805

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/890/cmap_HighResolution_291945601_292204801_4FGL_J0754.4-1148_daily_bin203.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.63e-05', job_status='DONE', photon_flux_upper_limit='9.66e-08', time_completed='2021-08-28 19:23:38.466447', job_id='890', GAL2='0.99', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1630203818.47', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='2.72e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='203' AND source_name='4FGL J0754.4-1148' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:23:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 890: <4FGL_J0754.4-1148_daily_bin203> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0754.4-1148_daily_bin203 118.61 -11.8052 291945601 292204801 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 :                                   777.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             366.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   797 sec.
    Turnaround time :                            798 sec.

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

