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


Performing analysis on: 4FGL_J0754.4-1148_daily_bin595
RA = 118.61, Dec = -11.8052
tmin = 393552001, tmax = 393811201
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='2628', job_status='RUN', time_executed='2021-08-28 19:19:16.255259', time_epoch_executed='1630203556.26' WHERE source_name='4FGL J0754.4-1148' and cadence='daily' and bin_id='595'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/2628

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/2628/ft1_4FGL_J0754.4-1148_daily_bin595.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/2628/ft2_4FGL_J0754.4-1148_daily_bin595.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/2628/ft1_4FGL_J0754.4-1148_daily_bin595.fits outfile=/scratch/kocevski/2628/ft1_filteredMKT_4FGL_J0754.4-1148_daily_bin595.fits ra=118.61 dec=-11.8052 rad=12.0 tmin=393552001.0 tmax=393811201.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.70
user 3.27
sys 0.41

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/2628/ft2_4FGL_J0754.4-1148_daily_bin595.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/2628/ft1_filteredMKT_4FGL_J0754.4-1148_daily_bin595.fits evtable="EVENTS" outfile="/scratch/kocevski/2628/ft1_filtered_4FGL_J0754.4-1148_daily_bin595.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.69
user 0.31
sys 0.36

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/2628/ft1_filtered_4FGL_J0754.4-1148_daily_bin595.fits" evtable="EVENTS" scfile=/scratch/kocevski/2628/ft2_4FGL_J0754.4-1148_daily_bin595.fits sctable="SC_DATA" outfile=/scratch/kocevski/2628/ltcube_393552001_393811201_4FGL_J0754.4-1148_daily_bin595.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/2628/ft2_4FGL_J0754.4-1148_daily_bin595.fits
.....................!
real 12.09
user 11.51
sys 0.55

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/2628/ft1_filtered_4FGL_J0754.4-1148_daily_bin595.fits evtable="EVENTS" scfile=/scratch/kocevski/2628/ft2_4FGL_J0754.4-1148_daily_bin595.fits sctable="SC_DATA" expcube=/scratch/kocevski/2628/ltcube_393552001_393811201_4FGL_J0754.4-1148_daily_bin595.fits outfile=/scratch/kocevski/2628/expmap_393552001_393811201_4FGL_J0754.4-1148_daily_bin595.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/2628/ltcube_393552001_393811201_4FGL_J0754.4-1148_daily_bin595.fits
.....................!
real 191.20
user 185.46
sys 5.32

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/2628/ft1_filtered_4FGL_J0754.4-1148_daily_bin595.fits scfile=/scratch/kocevski/2628/ft2_4FGL_J0754.4-1148_daily_bin595.fits outfile=/scratch/kocevski/2628/cmap_393552001_393811201_4FGL_J0754.4-1148_daily_bin595.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.70
user 0.37
sys 0.30

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/2628/ft1_filtered_4FGL_J0754.4-1148_daily_bin595.fits scfile=/scratch/kocevski/2628/ft2_4FGL_J0754.4-1148_daily_bin595.fits outfile=/scratch/kocevski/2628/cmap_HighResolution_393552001_393811201_4FGL_J0754.4-1148_daily_bin595.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.35
sys 0.37

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/2628/ft1_filtered_4FGL_J0754.4-1148_daily_bin595.fits evtable="EVENTS" scfile=/scratch/kocevski/2628/ft2_4FGL_J0754.4-1148_daily_bin595.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/2628/Model_4FGL_J0754.4-1148_daily_bin595.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/2628/ft1_filtered_4FGL_J0754.4-1148_daily_bin595.fits.....................!
real 149.27
user 147.57
sys 1.42

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .42634       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    28.638       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    16.214       1.0000         .10000E-03   10000.    
     7 'norm      '    3.6848       1.0000         .10000E-03   10000.    
     8 'norm      '    13.791       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    7.2081       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.422       1.0000         .10000E-03   10000.    
    13 'norm      '    3.5927       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .61930E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .81763       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0504       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=   10722.32     FROM MIGRAD    STATUS=CONVERGED    360 CALLS     1517 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.7510        .15613E-05** at limit **
   2  norm          .42631        1.1128        .54390E-06   -.53466E-03
   3  Prefactor     .10000E-03    6.1317       -.34502E-06** at limit **
   4  Prefactor     28.640        25.928        .10068E-06    .74627E-04
   5  norm          .10000E-03    15.087        .19821E-05** at limit **
   6  norm          16.215        13.343       -.26605E-06   -.31723E-04
   7  norm          3.6847        3.0601       -.77498E-07   -.17060E-04
   8  norm          13.789        35.431       -.74826E-06   -.40893E-04
   9  Prefactor     .10000E-03    9.9610       -.29148E-05** at limit **
  10  norm          7.2075        12.532       -.83233E-06    .59638E-04
  11  norm          .10000E-03    2.4505       -.12996E-06** at limit **
  12  Prefactor     16.419        11.877        .94318E-07    .16097E-04
  13  norm          3.5921        1.6475       -.84598E-07    .44657E-03
  14  Prefactor     .10000E-03    5.3576       -.89552E-06** at limit **
  15  Prefactor     .10000E-03    5.2671       -.58674E-07** at limit **
  16  norm          .10000E-03    27.879       -.10453E-05** at limit **
  17  Normalizat    .81759        .22917        .54435E-05   -.15219E-03
  18  Prefactor     1.0504        .54978E-01   -.76935E-06    .29623E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 0.426309
  Prefactor  = 0.0001
  Prefactor  = 28.6401
  norm       = 0.000100002
  norm       = 16.2148
  norm       = 3.68474
  norm       = 13.7894
  Prefactor  = 0.000100003
  norm       = 7.20752
  norm       = 0.0001
  Prefactor  = 16.419
  norm       = 3.59212
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.81759
  Prefactor  = 1.05036
 **********
 **   18 **HESSE 
 **********

 FCN=   10722.32     FROM HESSE     STATUS=OK           246 CALLS     1763 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.0735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .42631        1.0925        .16982E-03   -1.5577    
   3  Prefactor     .10000E-03    6.1613        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     28.640        26.001        .74865E-04   -1.4637    
   5  norm          .10000E-03    15.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          16.215        13.361        .99465E-04   -1.4902    
   7  norm          3.6847        3.0591        .16008E-03   -1.5324    
   8  norm          13.789        35.528        .10786E-03   -1.4965    
   9  Prefactor     .10000E-03    10.999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.2075        12.532        .14940E-03   -1.5171    
  11  norm          .10000E-03    2.5311        .31596E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     16.419        11.757        .49416E-03   -1.4897    
  13  norm          3.5921        1.6266        .83992E-04   -1.5329    
  14  Prefactor     .10000E-03    18.223        .44673E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.3971        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    28.162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .81759        .24070        .29884E-02   -.99420    
  18  Prefactor     1.0504        .57244E-01    .13579E-03   -.91069    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19357e-09
Minuit parameter uncertainties:
  1  0.000208768
  2  1.09256
  3  3.81342e-05
  4  26.0113
  5  0.000337481
  6  13.3638
  7  3.05924
  8  35.5825
  9  0.000387209
  10  12.5367
  11  4.70109e-06
  12  11.7584
  13  1.62659
  14  0.000392416
  15  5.13683e-06
  16  0.000220915
  17  0.241014
  18  0.0572476
Done.

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

Extracting fit parameters...

4FGL J0754.4-1148
   Spectrum: LogParabola
234         norm:  3.685e+00  3.059e+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.050e+00  5.725e-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.176e-01  2.410e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.13
Ra Dec: 118.610 -11.805
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 3.48e-08 +/- 2.89e-08
Energy Flux (Fixed Index): 2.02e-05 +/- 1.68e-05

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) = 10722.0578545
delta logL = 0.262014125301

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10722.0541504
delta logL = 0.265718166373

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4509       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5148       1.0000          .0000       5.0000    
     3 'Normalizat'    .82778       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0500       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10722.05     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      211 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4520        3.0372        .54428E-02   -.71138E-04
   2  alpha         1.5143        .53407        .46171       -.50092E-04
   3  Normalizat    .82803        .21238        .13382        .89899E-04
   4  Prefactor     1.0500        .54148E-01    .39911E-01    .11510E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.45201
  alpha      = 1.5143
  Normalizat = 0.828028
  Prefactor  = 1.04996
 **********
 **   18 **HESSE 
 **********

 FCN=   10722.05     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4520        3.1131        .15839E-03   -1.5336    
   2  alpha         1.5143        .63606        .22623E-01   -.40528    
   3  Normalizat    .82803        .21687        .59444E-03   -.99037    
   4  Prefactor     1.0500        .55790E-01    .13583E-03   -.91082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60711e-11
Minuit parameter uncertainties:
  1  3.11328
  2  0.644482
  3  0.217102
  4  0.055793
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/2628': 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) = 10722.0541492
delta logL = 0.265719417948

Extracting fit parameters...

4FGL J0754.4-1148
   Spectrum: LogParabola
234         norm:  3.452e+00  3.113e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  1.514e+00  6.445e-01  0.000e+00  5.000e+00 ( 1.000e+00)
236         beta:  8.923e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
237           Eb:  1.074e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  1.050e+00  5.579e-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.280e-01  2.171e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.66
Ra Dec: 118.610 -11.805
Photon Index (Free Index): 1.51 +/- 0.64
Photon Flux (Free Index): 1.91e-08 +/- 2.16e-08
Energy Flux (Free Index): 3.49e-05 +/- 4.36e-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/2628/cmap_HighResolution_393552001_393811201_4FGL_J0754.4-1148_daily_bin595.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.48e-08', energy_flux2='3.49e-05', photon_flux_error='2.89e-08', dlogl='2.66e-01', energy_flux='2.02e-05', photon_flux2='1.91e-08', job_status='DONE', time_completed='2021-08-28 19:30:24.350586', photon_index_error2='0.64', photon_index2='1.51', ts='4.13', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='4.36e-05', EG='0.82', time_epoch_completed='1630204224.35', return_code='0', job_id='2628', GAL2='1.05', EG2='0.83', return_code2='0', energy_flux_error='1.68e-05', photon_flux_error2='2.16e-08', ts2='4.66', photon_index='2.03' WHERE bin_id='595' AND source_name='4FGL J0754.4-1148' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:30:24 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0754.4-1148_daily_bin595 118.61 -11.8052 393552001 393811201 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 :                                   668.29 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             308.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   875 sec.
    Turnaround time :                            877 sec.

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

