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


Performing analysis on: 4FGL_J0754.4-1148_daily_bin1339
RA = 118.61, Dec = -11.8052
tmin = 586396801, tmax = 586656001
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='7009', job_status='RUN', time_executed='2021-08-28 19:31:03.933068', time_epoch_executed='1630204263.93' WHERE source_name='4FGL J0754.4-1148' and cadence='daily' and bin_id='1339'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/7009

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/7009/ft1_4FGL_J0754.4-1148_daily_bin1339.fits


Retrieving the FT1 file...

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

Retrieving 31 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/7009/ft2_4FGL_J0754.4-1148_daily_bin1339.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/7009/ft1_4FGL_J0754.4-1148_daily_bin1339.fits outfile=/scratch/kocevski/7009/ft1_filteredMKT_4FGL_J0754.4-1148_daily_bin1339.fits ra=118.61 dec=-11.8052 rad=12.0 tmin=586396801.0 tmax=586656001.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.43
user 2.41
sys 0.97

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/7009/ft1_filtered_4FGL_J0754.4-1148_daily_bin1339.fits" evtable="EVENTS" scfile=/scratch/kocevski/7009/ft2_4FGL_J0754.4-1148_daily_bin1339.fits sctable="SC_DATA" outfile=/scratch/kocevski/7009/ltcube_586396801_586656001_4FGL_J0754.4-1148_daily_bin1339.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/7009/ft2_4FGL_J0754.4-1148_daily_bin1339.fits
.....................!
real 9.16
user 7.96
sys 1.17

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/7009/ft1_filtered_4FGL_J0754.4-1148_daily_bin1339.fits evtable="EVENTS" scfile=/scratch/kocevski/7009/ft2_4FGL_J0754.4-1148_daily_bin1339.fits sctable="SC_DATA" expcube=/scratch/kocevski/7009/ltcube_586396801_586656001_4FGL_J0754.4-1148_daily_bin1339.fits outfile=/scratch/kocevski/7009/expmap_586396801_586656001_4FGL_J0754.4-1148_daily_bin1339.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/7009/ltcube_586396801_586656001_4FGL_J0754.4-1148_daily_bin1339.fits
.....................!
real 191.65
user 185.72
sys 5.52

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/7009/ft1_filtered_4FGL_J0754.4-1148_daily_bin1339.fits scfile=/scratch/kocevski/7009/ft2_4FGL_J0754.4-1148_daily_bin1339.fits outfile=/scratch/kocevski/7009/cmap_586396801_586656001_4FGL_J0754.4-1148_daily_bin1339.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 1.67
user 0.36
sys 0.90

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/7009/ft1_filtered_4FGL_J0754.4-1148_daily_bin1339.fits scfile=/scratch/kocevski/7009/ft2_4FGL_J0754.4-1148_daily_bin1339.fits outfile=/scratch/kocevski/7009/cmap_HighResolution_586396801_586656001_4FGL_J0754.4-1148_daily_bin1339.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 1.53
user 0.38
sys 0.89

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/7009/ft1_filtered_4FGL_J0754.4-1148_daily_bin1339.fits evtable="EVENTS" scfile=/scratch/kocevski/7009/ft2_4FGL_J0754.4-1148_daily_bin1339.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/7009/Model_4FGL_J0754.4-1148_daily_bin1339.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/7009/ft1_filtered_4FGL_J0754.4-1148_daily_bin1339.fits.....................!
real 129.92
user 126.40
sys 2.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10026E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.7404       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .68354       1.0000         .10000E-03   10000.    
     5 'norm      '    34.163       1.0000         .10000E-03   10000.    
     6 'norm      '    8.1251       1.0000         .10000E-03   10000.    
     7 'norm      '    3.4635       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    13.510       1.0000         .10000E-03   10000.    
    11 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .23972       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .92508       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0337       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=   9115.727     FROM MIGRAD    STATUS=CONVERGED    400 CALLS     1798 TOTAL
                     EDM=   .99E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.6887       -.19585E-07** at limit **
   2  norm          .10000E-03    .72642       -.29418E-07** at limit **
   3  Prefactor     7.7301        16.225        .14263E-04   -.19112E-04
   4  Prefactor     .50319        22.882       -.25088E-05    .72307E-04
   5  norm          34.162        25.432        .82774E-06    .15433E-04
   6  norm          8.1255        11.676       -.83424E-07   -.75875E-04
   7  norm          3.4634        3.4743        .43973E-06   -.13058E-03
   8  norm          .10000E-03    12.868       -.31918E-05** at limit **
   9  Prefactor     .10000E-03    20.720       -.14532E-05** at limit **
  10  norm          13.517        18.362       -.59312E-05    .40046E-04
  11  norm          .10000E-03    2.4940        .13172E-06** at limit **
  12  Prefactor     .10000E-03    2.5378       -.56934E-07** at limit **
  13  norm          .24005        .88423       -.31902E-06   -.33581E-03
  14  Prefactor     .10000E-03    15.363        .32187E-05** at limit **
  15  Prefactor     .10000E-03    2.9677       -.80569E-08** at limit **
  16  norm          .10000E-03    11.870        .14602E-05** at limit **
  17  Normalizat    .92509        .26014        .96537E-06    .10920E-04
  18  Prefactor     1.0337        .59264E-01   -.45216E-06    .28503E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.73009
  Prefactor  = 0.503194
  norm       = 34.1625
  norm       = 8.12551
  norm       = 3.46344
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 13.5173
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.240053
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.925095
  Prefactor  = 1.03368
 **********
 **   18 **HESSE 
 **********

 FCN=   9115.727     FROM HESSE     STATUS=OK           256 CALLS     2054 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.6900        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.1433        .15702E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.7301        16.164        .14413E-03   -1.5152    
   4  Prefactor     .50319        24.723        .15642       -1.5566    
   5  norm          34.162        25.433        .68560E-04   -1.4538    
   6  norm          8.1255        11.668        .14065E-03   -1.5138    
   7  norm          3.4634        3.4693        .17289E-03   -1.5336    
   8  norm          .10000E-03    12.872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    21.207        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          13.517        18.416        .10897E-03   -1.4972    
  11  norm          .10000E-03    2.5288        .14684E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.5449        .14852E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .24005        2.8045        .15407E-02   -1.5610    
  14  Prefactor     .10000E-03    15.823        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.0739        .32121E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    11.881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .92509        .26585        .55726E-03   -.95584    
  18  Prefactor     1.0337        .60905E-01    .13316E-03   -.91615    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28968e-08
Minuit parameter uncertainties:
  1  7.68431e-07
  2  6.46942e-06
  3  16.1728
  4  7.05654
  5  25.4411
  6  11.6711
  7  3.46949
  8  9.6925e-07
  9  0.000295825
  10  18.4242
  11  1.78476e-05
  12  3.2666e-08
  13  1.64076
  14  1.29247e-05
  15  5.30855e-07
  16  1.23099e-06
  17  0.266232
  18  0.0609091
Done.

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

Extracting fit parameters...

4FGL J0754.4-1148
   Spectrum: LogParabola
234         norm:  3.463e+00  3.469e+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.034e+00  6.091e-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:  9.251e-01  2.662e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.36
Ra Dec: 118.610 -11.805
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 3.27e-08 +/- 3.27e-08
Energy Flux (Fixed Index): 1.90e-05 +/- 1.91e-05

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

Saving results to:
/scratch/kocevski/7009/likelihoodResults_586396801_586656001_4FGL_J0754.4-1148_daily_bin1339.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) = 9115.70393895
delta logL = 0.0226139126971

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9115.70255558
delta logL = 0.0239972743238

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2899       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1840       1.0000          .0000       5.0000    
     3 'Normalizat'    .92183       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0337       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=   9115.703     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      250 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2901        3.4943        .16395E-03   -.44061E-03
   2  alpha         2.1841        .69987        .18897E-01   -.52744E-04
   3  Normalizat    .92180        .23588        .55810E-03   -.19111E-03
   4  Prefactor     1.0337        .59687E-01    .13315E-03    .20782E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.29008
  alpha      = 2.18406
  Normalizat = 0.921803
  Prefactor  = 1.03373
 **********
 **   18 **HESSE 
 **********

 FCN=   9115.703     FROM HESSE     STATUS=OK            25 CALLS      275 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2901        3.4195        .65579E-05   -1.5345    
   2  alpha         2.1841        .68536        .75589E-03   -.12671    
   3  Normalizat    .92180        .23589        .22324E-04   -.95698    
   4  Prefactor     1.0337        .59693E-01    .53261E-05   -.91613    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.6083e-10
Minuit parameter uncertainties:
  1  3.41967
  2  0.694403
  3  0.23615
  4  0.0596966
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/7009': 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) = 9115.70255556
delta logL = 0.0239972981399

Extracting fit parameters...

4FGL J0754.4-1148
   Spectrum: LogParabola
234         norm:  3.290e+00  3.420e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.184e+00  6.944e-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.034e+00  5.970e-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:  9.218e-01  2.362e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.41
Ra Dec: 118.610 -11.805
Photon Index (Free Index): 2.18 +/- 0.69
Photon Flux (Free Index): 3.83e-08 +/- 4.46e-08
Energy Flux (Free Index): 1.75e-05 +/- 1.83e-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/7009/cmap_HighResolution_586396801_586656001_4FGL_J0754.4-1148_daily_bin1339.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.01e-05', comment='SUCCESS', photon_flux='3.27e-08', energy_flux2='1.75e-05', photon_flux_error='3.27e-08', dlogl='2.40e-02', energy_flux='1.90e-05', photon_flux2='3.83e-08', job_status='DONE', time_completed='2021-08-28 19:42:46.192468', photon_index_error2='0.69', photon_index2='2.18', ts='2.36', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='1.20e-07', energy_flux_error2='1.83e-05', EG='0.93', time_epoch_completed='1630204966.19', return_code='0', job_id='7009', GAL2='1.03', EG2='0.92', return_code2='0', energy_flux_error='1.91e-05', photon_flux_error2='4.46e-08', ts2='2.41', photon_index='2.03' WHERE bin_id='1339' AND source_name='4FGL J0754.4-1148' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:42:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0303>
Subject: Job 7009: <4FGL_J0754.4-1148_daily_bin1339> in cluster <slac> Done

Job <4FGL_J0754.4-1148_daily_bin1339> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 28 19:30:40 2021
Job was executed on host(s) <bullet0303>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 19:30:42 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:30:42 2021
Terminated at Sat Aug 28 19:42:47 2021
Results reported at Sat Aug 28 19:42:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0754.4-1148_daily_bin1339 118.61 -11.8052 586396801 586656001 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 :                                   709.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             350.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            727 sec.

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

