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


Performing analysis on: 4FGL_J0754.7+4823_daily_bin718
RA = 118.693, Dec = 48.3932
tmin = 425433601, tmax = 425692801
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='11837', job_status='RUN', time_executed='2021-08-28 19:46:02.332216', time_epoch_executed='1630205162.33' WHERE source_name='4FGL J0754.7+4823' and cadence='daily' and bin_id='718'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/11837

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

Retrieving the FT1 file...

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

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

Retrieving 38 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/11837/ft1_4FGL_J0754.7+4823_daily_bin718.fits


Retrieving the FT1 file...

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

Retrieving 38 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/11837/ft2_4FGL_J0754.7+4823_daily_bin718.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/11837/ft1_4FGL_J0754.7+4823_daily_bin718.fits outfile=/scratch/kocevski/11837/ft1_filteredMKT_4FGL_J0754.7+4823_daily_bin718.fits ra=118.693 dec=48.3932 rad=12.0 tmin=425433601.0 tmax=425692801.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.13
user 2.83
sys 1.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/11837/ft2_4FGL_J0754.7+4823_daily_bin718.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/11837/ft2_4FGL_J0754.7+4823_daily_bin718.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/11837/ft1_filteredMKT_4FGL_J0754.7+4823_daily_bin718.fits evtable="EVENTS" outfile="/scratch/kocevski/11837/ft1_filtered_4FGL_J0754.7+4823_daily_bin718.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.54
user 0.32
sys 1.20

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/11837/ft1_filtered_4FGL_J0754.7+4823_daily_bin718.fits" evtable="EVENTS" scfile=/scratch/kocevski/11837/ft2_4FGL_J0754.7+4823_daily_bin718.fits sctable="SC_DATA" outfile=/scratch/kocevski/11837/ltcube_425433601_425692801_4FGL_J0754.7+4823_daily_bin718.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/11837/ft2_4FGL_J0754.7+4823_daily_bin718.fits
.....................!
real 11.33
user 9.79
sys 1.50

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/11837/ft1_filtered_4FGL_J0754.7+4823_daily_bin718.fits evtable="EVENTS" scfile=/scratch/kocevski/11837/ft2_4FGL_J0754.7+4823_daily_bin718.fits sctable="SC_DATA" expcube=/scratch/kocevski/11837/ltcube_425433601_425692801_4FGL_J0754.7+4823_daily_bin718.fits outfile=/scratch/kocevski/11837/expmap_425433601_425692801_4FGL_J0754.7+4823_daily_bin718.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/11837/ltcube_425433601_425692801_4FGL_J0754.7+4823_daily_bin718.fits
.....................!
real 193.01
user 186.66
sys 5.96

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 206 point sources and 0 extended sources

Setting source of interest to:
4FGL J0754.7+4823 @ 118.693 48.3932

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/11837/ft1_filtered_4FGL_J0754.7+4823_daily_bin718.fits scfile=/scratch/kocevski/11837/ft2_4FGL_J0754.7+4823_daily_bin718.fits outfile=/scratch/kocevski/11837/cmap_425433601_425692801_4FGL_J0754.7+4823_daily_bin718.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.693 yref=48.3932 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.55
user 0.38
sys 1.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/11837/ft1_filtered_4FGL_J0754.7+4823_daily_bin718.fits scfile=/scratch/kocevski/11837/ft2_4FGL_J0754.7+4823_daily_bin718.fits outfile=/scratch/kocevski/11837/cmap_HighResolution_425433601_425692801_4FGL_J0754.7+4823_daily_bin718.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.693 yref=48.3932 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.57
user 0.38
sys 1.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/11837/ft1_filtered_4FGL_J0754.7+4823_daily_bin718.fits evtable="EVENTS" scfile=/scratch/kocevski/11837/ft2_4FGL_J0754.7+4823_daily_bin718.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/11837/Model_4FGL_J0754.7+4823_daily_bin718.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/11837/ft1_filtered_4FGL_J0754.7+4823_daily_bin718.fits.....................!
real 61.26
user 58.61
sys 2.48

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/11837/ft1_filtered_4FGL_J0754.7+4823_daily_bin718.fits', '/scratch/kocevski/11837/ft2_4FGL_J0754.7+4823_daily_bin718.fits', expMap='/scratch/kocevski/11837/expmap_425433601_425692801_4FGL_J0754.7+4823_daily_bin718.fits', expCube='/scratch/kocevski/11837/ltcube_425433601_425692801_4FGL_J0754.7+4823_daily_bin718.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/11837/Model_4FGL_J0754.7+4823_daily_bin718.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0754.7+4823'

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  1.564e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  1.983e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
276         beta:  8.608e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  1.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/11837/ft1_filtered_4FGL_J0754.7+4823_daily_bin718.fits
Spacecraft file(s): /scratch/kocevski/11837/ft2_4FGL_J0754.7+4823_daily_bin718.fits
Exposure map: /scratch/kocevski/11837/expmap_425433601_425692801_4FGL_J0754.7+4823_daily_bin718.fits
Exposure cube: /scratch/kocevski/11837/ltcube_425433601_425692801_4FGL_J0754.7+4823_daily_bin718.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/11837/Model_4FGL_J0754.7+4823_daily_bin718.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) = 5676.71937808

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.3463       1.0000         .10000E-03   10000.    
     2 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .57910       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.4759       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    25.806       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10418E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10096E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.106       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.6100       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    66.534       1.0000         .10000E-03   10000.    
    17 'Prefactor '    32.299       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.7857       1.0000         .10000E-03   10000.    
    19 'norm      '    2.2945       1.0000         .10000E-03   10000.    
    20 'norm      '    4.7267       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .31307       1.0000         .10000E-03   10000.    
    22 'norm      '    1.2037       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .14683E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10291E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .43004       1.0000         .10000E-03   10000.    
    27 'Prefactor '    3.4983       1.0000         .10000E-03   10000.    
    28 'Prefactor '    8.3957       1.0000         .10000E-03   10000.    
    29 'norm      '    18.570       1.0000         .10000E-03   10000.    
    30 'norm      '    .10089E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    2.5235       1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10170E-03   1.0000         .10000E-03   10000.    
    34 'Prefactor '    157.33       1.0000         .10000E-03   10000.    
    35 'Normalizat'    .67097       1.0000         .10000E-01   10.000    
    36 'Prefactor '    .96506       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5676.711     FROM MIGRAD    STATUS=CONVERGED   1031 CALLS     5409 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.3473        5.3138       -.12382E-05    .37701E-03
   2  norm          .10000E-03    4.2875       -.12772E-06** at limit **
   3  Prefactor     .10000E-03    40.083       -.85807E-07** at limit **
   4  norm          .58012        4.2789       -.11765E-05   -.19801E-04
   5  Prefactor     .10000E-03    1.2823       -.55483E-07** at limit **
   6  Prefactor     .10000E-03    6.8998       -.13625E-06** at limit **
   7  Prefactor     7.4764        12.565        .40095E-07   -.27900E-04
   8  norm          .10000E-03    2.3863       -.22983E-07** at limit **
   9  Prefactor     25.800        25.278       -.17537E-06   -.15772E-03
  10  Prefactor     .10000E-03    78.140       -.55628E-06** at limit **
  11  norm          .10000E-03    .77778        .31360E-06** at limit **
  12  Prefactor     20.104        13.038       -.88796E-07   -.15350E-03
  13  Prefactor     .10000E-03    7.3779       -.68841E-07** at limit **
  14  norm          2.6102        2.3993        .26561E-07   -.75666E-04
  15  Prefactor     .10000E-03    8.8383       -.38020E-06** at limit **
  16  Prefactor     66.536        49.652        .46815E-06   -.88244E-04
  17  Prefactor     32.263        33.294       -.55984E-05    .48955E-04
  18  Prefactor     5.7856        5.7130        .10939E-06   -.13490E-03
  19  norm          2.2924        5.5251       -.11591E-05   -.64186E-03
  20  norm          4.7266        2.6329        .27417E-07   -.77722E-03
  21  Prefactor     .36596        64.203        .28225E-04   -.17609E-03
  22  norm          1.2038        .72675        .41520E-07   -.43039E-03
  23  Prefactor     .10000E-03    5.6896       -.45163E-07** at limit **
  24  Prefactor     .10003E-03    5.6847        .41609E-06** at limit **
  25  Prefactor     .10000E-03    1.6205       -.11538E-05** at limit **
  26  Prefactor     .39861        101.37       -.33354E-04   -.99606E-04
  27  Prefactor     3.5005        8.0408        .13225E-05   -.85089E-04
  28  Prefactor     8.3955        5.9111       -.22806E-07   -.16467E-03
  29  norm          18.571        8.3912        .89343E-07   -.99516E-04
  30  norm          .10000E-03    1.8687        .13211E-06** at limit **
  31  Prefactor     .10000E-03    4.9984        .30444E-07** at limit **
  32  Prefactor     2.5223        3.3203        .11297E-06   -.20573E-05
  33  Prefactor     .10000E-03    7.6884        .17288E-06** at limit **
  34  Prefactor     157.31        108.24        .10689E-06    .12242E-03
  35  Normalizat    .67125        .20333       -.19417E-05   -.76198E-03
  36  Prefactor     .96480        .13220        .12500E-06   -.12858E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 5.34725
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.580125
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.47641
  norm       = 0.0001
  Prefactor  = 25.8001
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 20.1045
  Prefactor  = 0.0001
  norm       = 2.6102
  Prefactor  = 0.0001
  Prefactor  = 66.5364
  Prefactor  = 32.2626
  Prefactor  = 5.78563
  norm       = 2.29245
  norm       = 4.72657
  Prefactor  = 0.365963
  norm       = 1.20385
  Prefactor  = 0.0001
  Prefactor  = 0.00010003
  Prefactor  = 0.000100003
  Prefactor  = 0.398611
  Prefactor  = 3.5005
  Prefactor  = 8.39552
  norm       = 18.5708
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.52226
  Prefactor  = 0.0001
  Prefactor  = 157.307
  Normalizat = 0.671245
  Prefactor  = 0.964796
 **********
 **   18 **HESSE 
 **********

 FCN=   5676.711     FROM HESSE     STATUS=OK           815 CALLS     6224 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.3473        5.3220        .81972E-03   -1.5245    
   2  norm          .10000E-03    4.4686        .30429E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    40.255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .58012        4.1611        .29286E-03   -1.5556    
   5  Prefactor     .10000E-03    1.2843        .83295E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.9148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.4764        12.556        .14668E-03   -1.5161    
   8  norm          .10000E-03    2.3925        .11366E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.800        25.081        .78858E-04   -1.4692    
  10  Prefactor     .10000E-03    79.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.8653        .12552E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     20.104        13.023        .89325E-04   -1.4811    
  13  Prefactor     .10000E-03    7.4073        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.6102        2.4020        .10718E-03   -1.5385    
  15  Prefactor     .10000E-03    8.9878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     66.536        49.573        .49204E-04   -1.4075    
  17  Prefactor     32.263        34.187        .70505E-04   -1.4571    
  18  Prefactor     5.7856        5.6651        .16157E-03   -1.5227    
  19  norm          2.2924        5.4161        .23964E-03   -1.5405    
  20  norm          4.7266        2.6112        .82469E-04   -1.5273    
  21  Prefactor     .36596        126.32        .40757E-02   -1.5587    
  22  norm          1.2038        .70833        .45682E-04   -1.5489    
  23  Prefactor     .10000E-03    5.7113        .17542E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10003E-03    18.325        .32055E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    5.5206        .17751E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .39861        191.72        .59499E-02   -1.5582    
  27  Prefactor     3.5005        8.0191        .21617E-03   -1.5334    
  28  Prefactor     8.3955        5.9083        .13835E-03   -1.5128    
  29  norm          18.571        8.3890        .92942E-04   -1.4846    
  30  norm          .10000E-03    1.8712        .10057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    5.0111        .16451E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     2.5223        3.3112        .14836E-03   -1.5390    
  33  Prefactor     .10000E-03    7.6920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     157.31        108.41        .16072E-03   -1.3193    
  35  Normalizat    .67125        .22883        .31342E-03   -1.0504    
  36  Prefactor     .96480        .15091        .18940E-03   -.93912    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.69542e-09
Minuit parameter uncertainties:
  1  5.32244
  2  1.4312e-05
  3  0.000213706
  4  3.10741
  5  2.84159e-06
  6  5.71965e-05
  7  12.5604
  8  1.1471e-06
  9  25.0909
  10  0.00107482
  11  1.07264e-05
  12  13.0252
  13  1.16393e-05
  14  2.40207
  15  5.68447e-05
  16  49.6035
  17  34.208
  18  5.66558
  19  5.4173
  20  2.61126
  21  13.6254
  22  0.708332
  23  3.58753e-06
  24  0.00148296
  25  0.00025092
  26  17.5385
  27  8.02153
  28  5.90874
  29  8.38956
  30  6.64149e-06
  31  1.39449e-05
  32  3.31141
  33  8.28565e-05
  34  108.547
  35  0.229158
  36  0.150978
Done.

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

Extracting fit parameters...

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  2.610e+00  2.402e+00  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  1.983e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
276         beta:  8.608e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  1.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  9.648e-01  1.510e-01  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
655   Normalization:  6.712e-01  2.292e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.69
Ra Dec: 118.693 48.393
Photon Index (Fixed Index): 1.98 +/- 0.00
Photon Flux (Fixed Index): 2.29e-08 +/- 2.11e-08
Energy Flux (Fixed Index): 1.45e-05 +/- 1.34e-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) = 5676.57873934
delta logL = 0.132240553155

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5676.57725629
delta logL = 0.133723603018

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5676.577     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      207 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4815        3.8377        .64877E-02   -.13601E-03
   2  alpha         1.5988        .89519        .45179       -.13395E-04
   3  Normalizat    .67703        .18123        .70552E-01    .25530E-04
   4  Prefactor     .96421        .12950        .45818E-01    .18670E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.48153
  alpha      = 1.59879
  Normalizat = 0.677027
  Prefactor  = 0.964205
 **********
 **   18 **HESSE 
 **********

 FCN=   5676.577     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4815        2.5208        .10967E-03   -1.5393    
   2  alpha         1.5988        .72773        .17627E-01   -.36878    
   3  Normalizat    .67703        .20439        .31224E-03   -1.0481    
   4  Prefactor     .96421        .14718        .18950E-03   -.93932    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9605e-10
Minuit parameter uncertainties:
  1  2.5209
  2  0.740088
  3  0.20462
  4  0.147242
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/11837': 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) = 5676.57725629
delta logL = 0.133723607702

Extracting fit parameters...

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  2.482e+00  2.521e+00  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  1.599e+00  7.401e-01  0.000e+00  5.000e+00 ( 1.000e+00)
276         beta:  8.608e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  1.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  9.642e-01  1.472e-01  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
655   Normalization:  6.770e-01  2.046e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.96
Ra Dec: 118.693 48.393
Photon Index (Free Index): 1.60 +/- 0.74
Photon Flux (Free Index): 1.45e-08 +/- 1.95e-08
Energy Flux (Free Index): 2.15e-05 +/- 2.84e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/11837/cmap_HighResolution_425433601_425692801_4FGL_J0754.7+4823_daily_bin718.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.29e-08', energy_flux2='2.15e-05', photon_flux_error='2.11e-08', dlogl='1.34e-01', energy_flux='1.45e-05', photon_flux2='1.45e-08', job_status='DONE', time_completed='2021-08-28 20:01:56.706239', photon_index_error2='0.74', photon_index2='1.60', ts='5.69', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='2.84e-05', EG='0.67', time_epoch_completed='1630206116.71', return_code='0', job_id='11837', GAL2='0.96', EG2='0.68', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='1.95e-08', ts2='5.96', photon_index='1.98' WHERE bin_id='718' AND source_name='4FGL J0754.7+4823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 20:01:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 11837: <4FGL_J0754.7+4823_daily_bin718> in cluster <slac> Done

Job <4FGL_J0754.7+4823_daily_bin718> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Aug 28 19:45:33 2021
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 19:45:35 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:45:35 2021
Terminated at Sat Aug 28 20:01:57 2021
Results reported at Sat Aug 28 20:01:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0754.7+4823_daily_bin718 118.693 48.3932 425433601 425692801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0754.7+4823 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   968.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             307.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   982 sec.
    Turnaround time :                            984 sec.

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

