/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 7 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 = 7432
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0754.4-1148_daily_bin771
RA = 118.61, Dec = -11.8052
tmin = 439171201, tmax = 439430401
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='2832', job_status='RUN', time_executed='2021-08-28 19:16:20.081444', time_epoch_executed='1630203380.08' WHERE source_name='4FGL J0754.4-1148' and cadence='daily' and bin_id='771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/2832

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/2832/ft1_4FGL_J0754.4-1148_daily_bin771.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/2832/ft2_4FGL_J0754.4-1148_daily_bin771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/2832/ft1_4FGL_J0754.4-1148_daily_bin771.fits outfile=/scratch/kocevski/2832/ft1_filteredMKT_4FGL_J0754.4-1148_daily_bin771.fits ra=118.61 dec=-11.8052 rad=12.0 tmin=439171201.0 tmax=439430401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.65
user 5.31
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/2832/ft2_4FGL_J0754.4-1148_daily_bin771.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/2832/ft1_filteredMKT_4FGL_J0754.4-1148_daily_bin771.fits evtable="EVENTS" outfile="/scratch/kocevski/2832/ft1_filtered_4FGL_J0754.4-1148_daily_bin771.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.59
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/2832/ft1_filtered_4FGL_J0754.4-1148_daily_bin771.fits" evtable="EVENTS" scfile=/scratch/kocevski/2832/ft2_4FGL_J0754.4-1148_daily_bin771.fits sctable="SC_DATA" outfile=/scratch/kocevski/2832/ltcube_439171201_439430401_4FGL_J0754.4-1148_daily_bin771.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/2832/ft2_4FGL_J0754.4-1148_daily_bin771.fits
.....................!
real 11.98
user 11.60
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/2832/ft1_filtered_4FGL_J0754.4-1148_daily_bin771.fits evtable="EVENTS" scfile=/scratch/kocevski/2832/ft2_4FGL_J0754.4-1148_daily_bin771.fits sctable="SC_DATA" expcube=/scratch/kocevski/2832/ltcube_439171201_439430401_4FGL_J0754.4-1148_daily_bin771.fits outfile=/scratch/kocevski/2832/expmap_439171201_439430401_4FGL_J0754.4-1148_daily_bin771.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/2832/ltcube_439171201_439430401_4FGL_J0754.4-1148_daily_bin771.fits
.....................!
real 192.61
user 187.50
sys 4.64

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/2832/ft1_filtered_4FGL_J0754.4-1148_daily_bin771.fits scfile=/scratch/kocevski/2832/ft2_4FGL_J0754.4-1148_daily_bin771.fits outfile=/scratch/kocevski/2832/cmap_439171201_439430401_4FGL_J0754.4-1148_daily_bin771.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/2832/ft1_filtered_4FGL_J0754.4-1148_daily_bin771.fits scfile=/scratch/kocevski/2832/ft2_4FGL_J0754.4-1148_daily_bin771.fits outfile=/scratch/kocevski/2832/cmap_HighResolution_439171201_439430401_4FGL_J0754.4-1148_daily_bin771.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/2832/ft1_filtered_4FGL_J0754.4-1148_daily_bin771.fits evtable="EVENTS" scfile=/scratch/kocevski/2832/ft2_4FGL_J0754.4-1148_daily_bin771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/2832/Model_4FGL_J0754.4-1148_daily_bin771.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/2832/ft1_filtered_4FGL_J0754.4-1148_daily_bin771.fits.....................!
real 143.07
user 141.60
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.469       1.0000         .10000E-03   10000.    
     2 'norm      '    3.1712       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .26084E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10244E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10098E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.9774       1.0000         .10000E-03   10000.    
     8 'norm      '    60.886       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.0505       1.0000         .10000E-03   10000.    
    10 'norm      '    17.550       1.0000         .10000E-03   10000.    
    11 'norm      '    .14119       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.2798       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10433E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    16.446       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .89522       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0904       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=   10105.07     FROM MIGRAD    STATUS=CONVERGED    643 CALLS     2303 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.460        21.485        .12383E-03   -.10466E-04
   2  norm          3.1723        2.0067        .10724E-03   -.46435E-04
   3  Prefactor     .10003E-03    17.641        .10095    ** at limit **
   4  Prefactor     .10000E-03    32.875        .18142E-02** at limit **
   5  norm          .10000E-03    19.705        .18142E-02** at limit **
   6  norm          .10000E-03    8.5935        .18142E-02** at limit **
   7  norm          3.9830        6.0888        .10112E-02   -.26555E-04
   8  norm          60.918        76.868        .51421E-04    .10966E-04
   9  Prefactor     3.0514        7.5537        .23229E-03   -.72923E-04
  10  norm          17.547        12.336        .47802E-03   -.10369E-04
  11  norm          .13943        3.4273        .21497E-02   -.81515E-03
  12  Prefactor     .10000E-03    8.9748        .18142E-02** at limit **
  13  norm          1.2802        1.0624        .92277E-04   -.58127E-03
  14  Prefactor     .10000E-03    4.0570        .18142E-02** at limit **
  15  Prefactor     .10001E-03    17.397        .34365E-02** at limit **
  16  norm          16.447        23.898        .98762E-04    .29929E-05
  17  Normalizat    .89519        .25479        .60183E-03   -.21573E-04
  18  Prefactor     1.0903        .63666E-01    .13865E-03    .81273E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.46
  norm       = 3.1723
  Prefactor  = 0.000100029
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.98297
  norm       = 60.9181
  Prefactor  = 3.05144
  norm       = 17.547
  norm       = 0.139431
  Prefactor  = 0.0001
  norm       = 1.2802
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  norm       = 16.447
  Normalizat = 0.895191
  Prefactor  = 1.09031
 **********
 **   18 **HESSE 
 **********

 FCN=   10105.07     FROM HESSE     STATUS=OK           240 CALLS     2543 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.460        21.489        .49533E-05   -1.5061    
   2  norm          3.1723        2.0066        .42895E-05   -1.5352    
   3  Prefactor     .10003E-03    15.898        .10799       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    32.880        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    19.707        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    8.5949        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.9830        6.0856        .40448E-04   -1.5309    
   8  norm          60.918        76.874        .10284E-04   -1.4145    
   9  Prefactor     3.0514        7.5490        .92916E-05   -1.5359    
  10  norm          17.547        12.336        .19121E-04   -1.4870    
  11  norm          .13943        3.4323        .85990E-04   -1.5633    
  12  Prefactor     .10000E-03    8.9793        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.2802        1.0617        .36911E-05   -1.5482    
  14  Prefactor     .10000E-03    4.0572        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10001E-03    17.757        .68729E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          16.447        23.896        .39505E-05   -1.4897    
  17  Normalizat    .89519        .25455        .24073E-04   -.96629    
  18  Prefactor     1.0903        .63667E-01    .27729E-04   -.89777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52041e-09
Minuit parameter uncertainties:
  1  21.5052
  2  2.00668
  3  0.00135622
  4  5.23548e-05
  5  8.58517e-05
  6  4.89648e-05
  7  6.08656
  8  77.0001
  9  7.55138
  10  12.3376
  11  1.38316
  12  9.13628e-05
  13  1.06168
  14  2.85031e-05
  15  0.000733391
  16  23.9097
  17  0.254893
  18  0.0636719
Done.

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

Extracting fit parameters...

4FGL J0754.4-1148
   Spectrum: LogParabola
234         norm:  3.983e+00  6.087e+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.090e+00  6.367e-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.952e-01  2.549e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/2832/likelihoodResults_439171201_439430401_4FGL_J0754.4-1148_daily_bin771.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) = 10104.1887831
delta logL = 0.881604166923

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10104.1861701
delta logL = 0.884217254548

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2537       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1930       1.0000          .0000       5.0000    
     3 'Normalizat'    .81118       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0962       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=   10104.19     FROM MIGRAD    STATUS=FAILED        82 CALLS      281 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2542        56.686        .10295E-03    .39880E-02
   2  alpha         3.1929        3.9757        .12078E-01    .34727E-03
   3  Normalizat    .81118        .26587        .62795E-03    .50461E-03
   4  Prefactor     1.0962        .69131E-01    .13824E-03    .23706E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   10104.19     FROM SIMPLEX   STATUS=UNCHANGED     87 CALLS      368 TOTAL
                     EDM=   .93E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2542        56.686        .10876E-03    .39880E-02
   2  alpha         3.1929        3.9757        .11828E-02    .34727E-03
   3  Normalizat    .81118        .26587        .27669E-03    .50461E-03
   4  Prefactor     1.0962        .69131E-01    .46771E-04    .23706E-02
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10104.19     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      399 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2543        4.5448        .41180E-05    .13804E-03
   2  alpha         3.1929        1.0669        .48313E-03    .88478E-05
   3  Normalizat    .81118        .24984        .25118E-04    .36209E-06
   4  Prefactor     1.0962        .61610E-01    .27648E-04    .74015E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.2543
  alpha      = 3.19289
  Normalizat = 0.811182
  Prefactor  = 1.09617
 **********
 **   18 **HESSE 
 **********

 FCN=   10104.19     FROM HESSE     STATUS=OK            23 CALLS      422 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2543        4.4493        .82360E-06   -1.5408    
   2  alpha         3.1929        1.0460        .19325E-04    .28083    
   3  Normalizat    .81118        .24984        .50236E-05   -.99655    
   4  Prefactor     1.0962        .61599E-01    .55296E-05   -.89589    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3603e-12
Minuit parameter uncertainties:
  1  4.44999
  2  1.08229
  3  0.250192
  4  0.0616028
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/2832': 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) = 10104.18617
delta logL = 0.884217264987

Extracting fit parameters...

4FGL J0754.4-1148
   Spectrum: LogParabola
234         norm:  2.254e+00  4.450e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  3.193e+00  1.082e+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:  1.096e+00  6.160e-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.112e-01  2.502e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.42
Ra Dec: 118.610 -11.805
Photon Index (Free Index): 3.19 +/- 1.08
Photon Flux (Free Index): 1.44e-07 +/- 1.09e-07
Energy Flux (Free Index): 2.86e-05 +/- 2.24e-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/2832/cmap_HighResolution_439171201_439430401_4FGL_J0754.4-1148_daily_bin771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.35e-05', comment='SUCCESS', energy_flux2='2.86e-05', dlogl='8.84e-01', photon_flux2='1.44e-07', job_status='DONE', time_completed='2021-08-28 19:30:02.192369', photon_index_error2='1.08', photon_index2='3.19', ts='0.51', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.61e-07', energy_flux_error2='2.24e-05', EG='0.90', time_epoch_completed='1630204202.19', return_code='0', job_id='2832', GAL2='1.10', EG2='0.81', return_code2='0', photon_flux_error2='1.09e-07', ts2='2.42', photon_index='2.03' WHERE bin_id='771' AND source_name='4FGL J0754.4-1148' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:30:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0256>
Subject: Job 2832: <4FGL_J0754.4-1148_daily_bin771> in cluster <slac> Done

Job <4FGL_J0754.4-1148_daily_bin771> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 28 19:16:04 2021
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 19:16:05 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:16:05 2021
Terminated at Sat Aug 28 19:30:02 2021
Results reported at Sat Aug 28 19:30:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0754.4-1148_daily_bin771 118.61 -11.8052 439171201 439430401 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 :                                   815.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             356.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   837 sec.
    Turnaround time :                            838 sec.

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

