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


Performing analysis on: 4FGL_J0754.4-1148_daily_bin169
RA = 118.61, Dec = -11.8052
tmin = 283132801, tmax = 283392001
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='842', job_status='RUN', time_executed='2021-08-28 19:14:25.199127', time_epoch_executed='1630203265.2' WHERE source_name='4FGL J0754.4-1148' and cadence='daily' and bin_id='169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/842

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/842/ft1_4FGL_J0754.4-1148_daily_bin169.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/842/ft2_4FGL_J0754.4-1148_daily_bin169.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/842/ft1_4FGL_J0754.4-1148_daily_bin169.fits outfile=/scratch/kocevski/842/ft1_filteredMKT_4FGL_J0754.4-1148_daily_bin169.fits ra=118.61 dec=-11.8052 rad=12.0 tmin=283132801.0 tmax=283392001.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.17
user 3.56
sys 0.54

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/842/ft1_filtered_4FGL_J0754.4-1148_daily_bin169.fits" evtable="EVENTS" scfile=/scratch/kocevski/842/ft2_4FGL_J0754.4-1148_daily_bin169.fits sctable="SC_DATA" outfile=/scratch/kocevski/842/ltcube_283132801_283392001_4FGL_J0754.4-1148_daily_bin169.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/842/ft2_4FGL_J0754.4-1148_daily_bin169.fits
.....................!
real 12.28
user 11.42
sys 0.71

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/842/ft1_filtered_4FGL_J0754.4-1148_daily_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/842/ft2_4FGL_J0754.4-1148_daily_bin169.fits sctable="SC_DATA" expcube=/scratch/kocevski/842/ltcube_283132801_283392001_4FGL_J0754.4-1148_daily_bin169.fits outfile=/scratch/kocevski/842/expmap_283132801_283392001_4FGL_J0754.4-1148_daily_bin169.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/842/ltcube_283132801_283392001_4FGL_J0754.4-1148_daily_bin169.fits
.....................!
real 190.80
user 185.38
sys 4.99

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/842/ft1_filtered_4FGL_J0754.4-1148_daily_bin169.fits scfile=/scratch/kocevski/842/ft2_4FGL_J0754.4-1148_daily_bin169.fits outfile=/scratch/kocevski/842/cmap_283132801_283392001_4FGL_J0754.4-1148_daily_bin169.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.99
user 0.37
sys 0.47

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/842/ft1_filtered_4FGL_J0754.4-1148_daily_bin169.fits scfile=/scratch/kocevski/842/ft2_4FGL_J0754.4-1148_daily_bin169.fits outfile=/scratch/kocevski/842/cmap_HighResolution_283132801_283392001_4FGL_J0754.4-1148_daily_bin169.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.89
user 0.39
sys 0.47

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/842/ft1_filtered_4FGL_J0754.4-1148_daily_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/842/ft2_4FGL_J0754.4-1148_daily_bin169.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/842/Model_4FGL_J0754.4-1148_daily_bin169.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/842/ft1_filtered_4FGL_J0754.4-1148_daily_bin169.fits.....................!
real 144.12
user 141.97
sys 1.67

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    6.4610       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.8825       1.0000         .10000E-03   10000.    
     7 'norm      '    .12351E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.8308       1.0000         .10000E-03   10000.    
    10 'norm      '    10.973       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    24.006       1.0000         .10000E-03   10000.    
    13 'norm      '    6.5888       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.740       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .80705       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96462       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=   10405.79     FROM MIGRAD    STATUS=CONVERGED    368 CALLS     1512 TOTAL
                     EDM=   .38E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    43.822       -.10005E-05** at limit **
   2  norm          6.4611        1.9572        .16289E-08    .26465E-04
   3  Prefactor     .10000E-03    7.2403        .30493E-05** at limit **
   4  Prefactor     .10000E-03    12.869        .15102E-06** at limit **
   5  norm          .10000E-03    17.772       -.85854E-06** at limit **
   6  norm          2.8825        8.5755       -.28899E-06   -.13885E-03
   7  norm          .10000E-03    2.1083       -.35575E-06** at limit **
   8  norm          .10000E-03    29.213        .74587E-06** at limit **
   9  Prefactor     2.8312        4.2007        .16100E-06   -.28930E-03
  10  norm          10.973        10.594       -.14950E-07   -.21000E-04
  11  norm          .10000E-03    1.0740       -.32032E-07** at limit **
  12  Prefactor     24.008        15.367        .90168E-07    .53420E-04
  13  norm          6.5888        1.8830       -.58852E-08    .88180E-04
  14  Prefactor     .10000E-03    5.1018        .35109E-07** at limit **
  15  Prefactor     10.740        7.8898       -.34395E-07    .13838E-04
  16  norm          .10000E-03    7.4278       -.21330E-05** at limit **
  17  Normalizat    .80708        .23185       -.79990E-07    .17948E-04
  18  Prefactor     .96463        .53947E-01    .14337E-06    .61439E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 6.46107
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.88246
  norm       = 0.000100002
  norm       = 0.0001
  Prefactor  = 2.83117
  norm       = 10.9728
  norm       = 0.0001
  Prefactor  = 24.0076
  norm       = 6.58878
  Prefactor  = 0.0001
  Prefactor  = 10.7395
  norm       = 0.0001
  Normalizat = 0.80708
  Prefactor  = 0.96463
 **********
 **   18 **HESSE 
 **********

 FCN=   10405.79     FROM HESSE     STATUS=OK           246 CALLS     1758 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    44.754        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.4611        1.9586        .75195E-04   -1.5200    
   3  Prefactor     .10000E-03    7.2551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    18.068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.8825        13.574        .11969E-02   -1.5368    
   7  norm          .10000E-03    6.9456        .28137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    29.243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.8312        5.6871        .12085E-02   -1.5371    
  10  norm          10.973        10.599        .60472E-03   -1.5045    
  11  norm          .10000E-03    1.0853        .10315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     24.008        15.318        .81755E-04   -1.4728    
  13  norm          6.5888        1.8807        .70449E-04   -1.5195    
  14  Prefactor     .10000E-03    5.1078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.740        7.8804        .12225E-03   -1.5052    
  16  norm          .10000E-03    7.4499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .80708        .23569        .59388E-03   -.99807    
  18  Prefactor     .96463        .55306E-01    .13657E-03   -.93918    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.24168e-10
Minuit parameter uncertainties:
  1  3.60299e-06
  2  1.95859
  3  3.17488e-06
  4  8.721e-07
  5  2.505e-06
  6  12.5145
  7  0.000213392
  8  2.81411e-06
  9  5.68815
  10  10.6013
  11  1.85258e-07
  12  15.3202
  13  1.88074
  14  5.91652e-07
  15  7.88115
  16  6.46902e-07
  17  0.235993
  18  0.0553097
Done.

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

Extracting fit parameters...

4FGL J0754.4-1148
   Spectrum: LogParabola
234         norm:  1.000e-04  2.134e-04  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.646e-01  5.531e-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.071e-01  2.360e-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: 7.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.64e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/842/likelihoodResults_283132801_283392001_4FGL_J0754.4-1148_daily_bin169.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) = 10405.7923562
delta logL = -0.000681507699483

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10405.7916767
delta logL = -2.02101000468e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13669E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0715       1.0000          .0000       5.0000    
     3 'Normalizat'    .80714       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96463       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   10405.79     FROM MIGRAD    STATUS=FAILED        96 CALLS      267 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10296E-03    143.80        .28131E-02** at limit **
   2  alpha         2.2673        3.3319        .50000       -.47574E-05
   3  Normalizat    .80707        .29078E-01    .59388E-03   -.35966E-03
   4  Prefactor     .96463        .73355E-02    .13657E-03   -.38551E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   10405.79     FROM SIMPLEX   STATUS=PROGRESS     130 CALLS      397 TOTAL
                     EDM=   .60E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10139E-03    143.80        .41562E-03** at limit **
   2  alpha         2.2667        3.3319        .35932E-03   -.47574E-05
   3  Normalizat    .80706        .29078E-01    .52412E-05   -.35966E-03
   4  Prefactor     .96463        .73355E-02    .72759E-06   -.38551E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10405.79     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      439 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    582.49        .56262E-03** at limit **
   2  alpha         2.3075        3.5838        .50000        .36875E-06
   3  Normalizat    .80708        .61463E-01    .23755E-04   -.13228E-03
   4  Prefactor     .96463        .15507E-01    .27315E-04    .80545E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 2.30747
  Normalizat = 0.807075
  Prefactor  = 0.964632
 **********
 **   18 **HESSE 
 **********

 FCN=   10405.79     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      468 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1834.9        .11252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3075        3.5738        .50000       -.77086E-01
   3  Normalizat    .80708        .15445        .47511E-05   -.99807    
   4  Prefactor     .96463        .38971E-01    .54629E-05   -.93918    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.48402e-09
Minuit parameter uncertainties:
  1  0.00339204
  2  1600.28
  3  0.154536
  4  0.038972
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/842': 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): 102
logL (Free Index) = 10405.7916729
delta logL = 1.7527709133e-06

Extracting fit parameters...

4FGL J0754.4-1148
   Spectrum: LogParabola
234         norm:  1.000e-04  3.392e-03  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.307e+00  1.600e+03  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.646e-01  3.897e-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.071e-01  1.545e-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/842/cmap_HighResolution_283132801_283392001_4FGL_J0754.4-1148_daily_bin169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.64e-05', job_status='DONE', photon_flux_upper_limit='7.96e-08', time_completed='2021-08-28 19:26:49.439326', job_id='842', GAL2='0.96', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1630204009.44', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.75e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='169' AND source_name='4FGL J0754.4-1148' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:26:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 842: <4FGL_J0754.4-1148_daily_bin169> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0754.4-1148_daily_bin169 118.61 -11.8052 283132801 283392001 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 :                                   744.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   990 sec.
    Turnaround time :                            993 sec.

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

