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


Performing analysis on: 4FGL_J0754.4-1148_daily_bin307
RA = 118.61, Dec = -11.8052
tmin = 318902401, tmax = 319161601
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='1037', job_status='RUN', time_executed='2021-08-28 19:12:55.376032', time_epoch_executed='1630203175.38' WHERE source_name='4FGL J0754.4-1148' and cadence='daily' and bin_id='307'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/1037

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/1037/ft1_4FGL_J0754.4-1148_daily_bin307.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/1037/ft2_4FGL_J0754.4-1148_daily_bin307.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/1037/ft1_4FGL_J0754.4-1148_daily_bin307.fits outfile=/scratch/kocevski/1037/ft1_filteredMKT_4FGL_J0754.4-1148_daily_bin307.fits ra=118.61 dec=-11.8052 rad=12.0 tmin=318902401.0 tmax=319161601.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 3.59
user 3.17
sys 0.40

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/1037/ft1_filtered_4FGL_J0754.4-1148_daily_bin307.fits" evtable="EVENTS" scfile=/scratch/kocevski/1037/ft2_4FGL_J0754.4-1148_daily_bin307.fits sctable="SC_DATA" outfile=/scratch/kocevski/1037/ltcube_318902401_319161601_4FGL_J0754.4-1148_daily_bin307.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/1037/ft2_4FGL_J0754.4-1148_daily_bin307.fits
.....................!
real 12.09
user 11.53
sys 0.54

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/1037/ft1_filtered_4FGL_J0754.4-1148_daily_bin307.fits evtable="EVENTS" scfile=/scratch/kocevski/1037/ft2_4FGL_J0754.4-1148_daily_bin307.fits sctable="SC_DATA" expcube=/scratch/kocevski/1037/ltcube_318902401_319161601_4FGL_J0754.4-1148_daily_bin307.fits outfile=/scratch/kocevski/1037/expmap_318902401_319161601_4FGL_J0754.4-1148_daily_bin307.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/1037/ltcube_318902401_319161601_4FGL_J0754.4-1148_daily_bin307.fits
.....................!
real 190.61
user 185.33
sys 4.93

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/1037/ft1_filtered_4FGL_J0754.4-1148_daily_bin307.fits scfile=/scratch/kocevski/1037/ft2_4FGL_J0754.4-1148_daily_bin307.fits outfile=/scratch/kocevski/1037/cmap_318902401_319161601_4FGL_J0754.4-1148_daily_bin307.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.75
user 0.35
sys 0.35

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/1037/ft1_filtered_4FGL_J0754.4-1148_daily_bin307.fits scfile=/scratch/kocevski/1037/ft2_4FGL_J0754.4-1148_daily_bin307.fits outfile=/scratch/kocevski/1037/cmap_HighResolution_318902401_319161601_4FGL_J0754.4-1148_daily_bin307.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.73
user 0.37
sys 0.36

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/1037/ft1_filtered_4FGL_J0754.4-1148_daily_bin307.fits evtable="EVENTS" scfile=/scratch/kocevski/1037/ft2_4FGL_J0754.4-1148_daily_bin307.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/1037/Model_4FGL_J0754.4-1148_daily_bin307.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/1037/ft1_filtered_4FGL_J0754.4-1148_daily_bin307.fits.....................!
real 161.38
user 159.54
sys 1.46

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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.189       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .59185       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    32.421       1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   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.808       1.0000         .10000E-03   10000.    
    11 'norm      '    5.2745       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.3416       1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.715       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    18.012       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0027       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95758       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=   11420.77     FROM MIGRAD    STATUS=CONVERGED    352 CALLS     1481 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.0210       -.62953E-05** at limit **
   2  norm          14.189        2.4959        .11087E-06    .28695E-03
   3  Prefactor     .58431        8.5778       -.32343E-05    .54146E-03
   4  Prefactor     .10000E-03    15.559        .10559E-04** at limit **
   5  norm          32.419        22.147       -.20321E-05    .53572E-04
   6  norm          .10000E-03    6.1304        .68428E-05** at limit **
   7  norm          .10000E-03    .71645       -.77038E-07** at limit **
   8  norm          .10000E-03    12.559       -.71985E-05** at limit **
   9  Prefactor     .10000E-03    2.6759       -.14007E-07** at limit **
  10  norm          15.807        13.185       -.20520E-06   -.21069E-04
  11  norm          5.2744        3.0017        .30336E-06   -.43125E-04
  12  Prefactor     .10000E-03    22.389       -.49274E-05** at limit **
  13  norm          2.3417        1.4521       -.25187E-06   -.57013E-03
  14  Prefactor     25.725        14.924        .40647E-05    .12444E-03
  15  Prefactor     .10000E-03    1.9023       -.57852E-07** at limit **
  16  norm          18.012        17.896       -.14901E-05    .17182E-04
  17  Normalizat    1.0028        .23022       -.12791E-05    .12645E-03
  18  Prefactor     .95758        .52651E-01    .22845E-06    .43188E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 14.1887
  Prefactor  = 0.584306
  Prefactor  = 0.0001
  norm       = 32.419
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 15.8066
  norm       = 5.27444
  Prefactor  = 0.000100001
  norm       = 2.34166
  Prefactor  = 25.7245
  Prefactor  = 0.0001
  norm       = 18.0118
  Normalizat = 1.00276
  Prefactor  = 0.957585
 **********
 **   18 **HESSE 
 **********

 FCN=   11420.77     FROM HESSE     STATUS=OK           246 CALLS     1727 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.0240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          14.189        2.4979        .67259E-04   -1.4954    
   3  Prefactor     .58431        70.176        .58816E-02   -1.5555    
   4  Prefactor     .10000E-03    15.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          32.419        22.137        .70372E-04   -1.4569    
   6  norm          .10000E-03    6.1436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .71681        .88337E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    12.562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.6785        .17071E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.807        13.201        .10074E-03   -1.4913    
  11  norm          5.2744        2.9995        .13291E-03   -1.5249    
  12  Prefactor     .10000E-03    23.245        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.3417        1.4445        .94335E-04   -1.5402    
  14  Prefactor     25.725        14.999        .78996E-04   -1.4693    
  15  Prefactor     .10000E-03    1.9059        .14393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          18.012        17.891        .94371E-04   -1.4859    
  17  Normalizat    1.0028        .23503        .57735E-03   -.92938    
  18  Prefactor     .95758        .54437E-01    .14054E-03   -.94157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01243e-08
Minuit parameter uncertainties:
  1  2.64521e-07
  2  2.49797
  3  12.8213
  4  2.5866e-06
  5  22.1425
  6  7.97428e-06
  7  3.54021e-07
  8  4.16981e-07
  9  2.56611e-07
  10  13.2031
  11  2.99961
  12  0.000287949
  13  1.44457
  14  15.0013
  15  5.1182e-06
  16  17.8959
  17  0.235277
  18  0.0544399
Done.

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

Extracting fit parameters...

4FGL J0754.4-1148
   Spectrum: LogParabola
234         norm:  1.000e-04  3.540e-07  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.576e-01  5.444e-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.003e+00  2.353e-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: 3.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.32e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/1037/likelihoodResults_318902401_319161601_4FGL_J0754.4-1148_daily_bin307.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) = 11420.773946
delta logL = -0.000167313959537

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11420.7737783
delta logL = 4.08375854022e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0099       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0028       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95759       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=   11420.77     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      245 TOTAL
                     EDM=   .46E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    45.206        .88927E-02** at limit **
   2  alpha         1.6909        3.8827        .16879        .26537E-07
   3  Normalizat    1.0028        .60044E-01    .57735E-03    .65296E-04
   4  Prefactor     .95758        .14466E-01    .14054E-03    .30843E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.69093
  Normalizat = 1.00276
  Prefactor  = 0.957585
 **********
 **   18 **HESSE 
 **********

 FCN=   11420.77     FROM HESSE     STATUS=OK            23 CALLS      268 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .77497        .91822E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6909        2.8328        .67517E-02   -.32956    
   3  Normalizat    1.0028        .22155        .23094E-04   -.92938    
   4  Prefactor     .95758        .53423E-01    .28108E-04   -.94157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09498e-11
Minuit parameter uncertainties:
  1  1.60544e-06
  2  104.751
  3  0.22175
  4  0.0534259
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/1037': 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) = 11420.7737735
delta logL = 5.17163425684e-06

Extracting fit parameters...

4FGL J0754.4-1148
   Spectrum: LogParabola
234         norm:  1.000e-04  1.605e-06  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  1.691e+00  1.048e+02  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.576e-01  5.343e-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.003e+00  2.218e-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/1037/cmap_HighResolution_318902401_319161601_4FGL_J0754.4-1148_daily_bin307.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.32e-05', job_status='DONE', photon_flux_upper_limit='3.98e-08', time_completed='2021-08-28 19:25:30.930707', job_id='1037', GAL2='0.96', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1630203930.93', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='5.17e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='307' AND source_name='4FGL J0754.4-1148' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:25:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0304>
Subject: Job 1037: <4FGL_J0754.4-1148_daily_bin307> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0754.4-1148_daily_bin307 118.61 -11.8052 318902401 319161601 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 :                                   756.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            903 sec.

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

