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


Performing analysis on: 4FGL_J0754.7+4823_daily_bin1513
RA = 118.693, Dec = 48.3932
tmin = 631497601, tmax = 631756801
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='19670', job_status='RUN', time_executed='2021-08-28 20:13:54.026504', time_epoch_executed='1630206834.03' WHERE source_name='4FGL J0754.7+4823' and cadence='daily' and bin_id='1513'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/19670

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/19670/ft1_4FGL_J0754.7+4823_daily_bin1513.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/19670/ft2_4FGL_J0754.7+4823_daily_bin1513.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/19670/ft1_4FGL_J0754.7+4823_daily_bin1513.fits outfile=/scratch/kocevski/19670/ft1_filteredMKT_4FGL_J0754.7+4823_daily_bin1513.fits ra=118.693 dec=48.3932 rad=12.0 tmin=631497601.0 tmax=631756801.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.67
user 2.31
sys 1.32

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/19670/ft2_4FGL_J0754.7+4823_daily_bin1513.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/19670/ft1_filteredMKT_4FGL_J0754.7+4823_daily_bin1513.fits evtable="EVENTS" outfile="/scratch/kocevski/19670/ft1_filtered_4FGL_J0754.7+4823_daily_bin1513.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.69
user 0.33
sys 1.28

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/19670/ft1_filtered_4FGL_J0754.7+4823_daily_bin1513.fits" evtable="EVENTS" scfile=/scratch/kocevski/19670/ft2_4FGL_J0754.7+4823_daily_bin1513.fits sctable="SC_DATA" outfile=/scratch/kocevski/19670/ltcube_631497601_631756801_4FGL_J0754.7+4823_daily_bin1513.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/19670/ft2_4FGL_J0754.7+4823_daily_bin1513.fits
.....................!
real 13.89
user 12.25
sys 1.60

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/19670/ft1_filtered_4FGL_J0754.7+4823_daily_bin1513.fits evtable="EVENTS" scfile=/scratch/kocevski/19670/ft2_4FGL_J0754.7+4823_daily_bin1513.fits sctable="SC_DATA" expcube=/scratch/kocevski/19670/ltcube_631497601_631756801_4FGL_J0754.7+4823_daily_bin1513.fits outfile=/scratch/kocevski/19670/expmap_631497601_631756801_4FGL_J0754.7+4823_daily_bin1513.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/19670/ltcube_631497601_631756801_4FGL_J0754.7+4823_daily_bin1513.fits
.....................!
real 192.06
user 185.55
sys 6.15

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/19670/ft1_filtered_4FGL_J0754.7+4823_daily_bin1513.fits scfile=/scratch/kocevski/19670/ft2_4FGL_J0754.7+4823_daily_bin1513.fits outfile=/scratch/kocevski/19670/cmap_631497601_631756801_4FGL_J0754.7+4823_daily_bin1513.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.64
user 0.37
sys 1.26

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/19670/ft1_filtered_4FGL_J0754.7+4823_daily_bin1513.fits scfile=/scratch/kocevski/19670/ft2_4FGL_J0754.7+4823_daily_bin1513.fits outfile=/scratch/kocevski/19670/cmap_HighResolution_631497601_631756801_4FGL_J0754.7+4823_daily_bin1513.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.65
user 0.38
sys 1.24

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/19670/ft1_filtered_4FGL_J0754.7+4823_daily_bin1513.fits evtable="EVENTS" scfile=/scratch/kocevski/19670/ft2_4FGL_J0754.7+4823_daily_bin1513.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/19670/Model_4FGL_J0754.7+4823_daily_bin1513.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/19670/ft1_filtered_4FGL_J0754.7+4823_daily_bin1513.fits............................!
real 21.70
user 18.32
sys 2.88

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/19670/ft1_filtered_4FGL_J0754.7+4823_daily_bin1513.fits', '/scratch/kocevski/19670/ft2_4FGL_J0754.7+4823_daily_bin1513.fits', expMap='/scratch/kocevski/19670/expmap_631497601_631756801_4FGL_J0754.7+4823_daily_bin1513.fits', expCube='/scratch/kocevski/19670/ltcube_631497601_631756801_4FGL_J0754.7+4823_daily_bin1513.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/19670/Model_4FGL_J0754.7+4823_daily_bin1513.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/19670/ft1_filtered_4FGL_J0754.7+4823_daily_bin1513.fits
Spacecraft file(s): /scratch/kocevski/19670/ft2_4FGL_J0754.7+4823_daily_bin1513.fits
Exposure map: /scratch/kocevski/19670/expmap_631497601_631756801_4FGL_J0754.7+4823_daily_bin1513.fits
Exposure cube: /scratch/kocevski/19670/ltcube_631497601_631756801_4FGL_J0754.7+4823_daily_bin1513.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/19670/Model_4FGL_J0754.7+4823_daily_bin1513.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) = 684.703159234

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10990E-03   1.0000         .10000E-03   10000.    
     2 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.9722       1.0000         .10000E-03   10000.    
     4 'norm      '    .10160E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10313E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .14336E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    127.19       1.0000         .10000E-03   10000.    
     8 'norm      '    .11001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    369.85       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    70.962       1.0000         .10000E-03   10000.    
    14 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .19311E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    14.299       1.0000         .10000E-03   10000.    
    20 'norm      '    5.2061       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.4885       1.0000         .10000E-03   10000.    
    22 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    46.504       1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.8575       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    38.414       1.0000         .10000E-03   10000.    
    27 'Prefactor '    17.066       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    24.444       1.0000         .10000E-03   10000.    
    30 'norm      '    .10543E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    56.272       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10242E-03   1.0000         .10000E-03   10000.    
    34 'Prefactor '    143.55       1.0000         .10000E-03   10000.    
    35 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    36 'Prefactor '    .66369       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 TERMINATED WITHOUT CONVERGENCE.

 FCN=   682.3382     FROM MIGRAD    STATUS=FAILED      1009 CALLS     7847 TOTAL
                     EDM=   .66E-02  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 41.1%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .61235E-02    6764.1         .0000       -.20404E-01
   2  norm          9961.7        9859.2         .0000        .12691    
   3  Prefactor     5195.9        5576.7         .0000       -.12264E-01
   4  norm          .10172E-03    6767.7         .0000    ** at limit **
   5  Prefactor     .54452E-02    6764.2         .0000       -.18642E-01
   6  Prefactor     .49626E-02    6764.2         .0000       -.17426E-01
   7  Prefactor     127.51        7260.3         .0000        .69643E-01
   8  norm          .62218E-03    6767.5         .0000    ** at limit **
   9  Prefactor     .83085E-03    6767.5         .0000    ** at limit **
  10  Prefactor     374.45        7545.6         .0000        .10962    
  11  norm          .16013E-03    6769.6         .0000    ** at limit **
  12  Prefactor     .10630E-03    6768.6         .0000    ** at limit **
  13  Prefactor     71.332        7145.3         .0000        .52409E-01
  14  norm          .10009E-03    6769.1         .0000    ** at limit **
  15  Prefactor     .13728E-03    6768.3         .0000    ** at limit **
  16  Prefactor     .21727E-01    6774.8         .0000        .16514E-01
  17  Prefactor     .18264E-03    6768.5         .0000    ** at limit **
  18  Prefactor     .22954E-03    6769.0         .0000    ** at limit **
  19  norm          14.324        6945.0         .0000        .26399    
  20  norm          5.2105        6876.5         .0000        .24482    
  21  Prefactor     6.7291        6890.8         .0000        .19228    
  22  norm          .66941E-03    6768.2         .0000    ** at limit **
  23  Prefactor     47.616        7081.8         .0000        .18309    
  24  Prefactor     5.8101        6882.3         .0000        .17924    
  25  Prefactor     .60438E-03    6768.0         .0000    ** at limit **
  26  Prefactor     38.788        7049.8         .0000        .99117E-01
  27  Prefactor     17.296        6961.6         .0000        .21485    
  28  Prefactor     .10104E-03    6769.1         .0000    ** at limit **
  29  norm          25.067        6999.9         .0000        .71376    
  30  norm          .36451E-03    6768.4         .0000    ** at limit **
  31  Prefactor     56.520        7107.7         .0000        .31744    
  32  Prefactor     .17182E-03    6768.8         .0000    ** at limit **
  33  Prefactor     .23261E-03    6769.4         .0000    ** at limit **
  34  Prefactor     140.55        7283.0         .0000        .74537E-01
  35  Normalizat    .10098E-01    6.7554         .0000       -.46418E-01
  36  Prefactor     .66595        7.7256         .0000        .42910    
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   682.3214     FROM SIMPLEX   STATUS=PROGRESS    4506 CALLS    12353 TOTAL
                     EDM=   .19E-04  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 41.1%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .38575E-02    6764.1        .17537E-02   -1.5720    
   2  norm         10000.0        9859.2        .53958E-02    1.5680    
   3  Prefactor     9460.3        5576.7        .36289E-01    1.1019    
   4  norm          .34044E-03    6767.7        .11685E-02   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10028        6764.2        .39534E-03   -1.5645    
   6  Prefactor     .16062        6764.2        .46456E-03   -1.5628    
   7  Prefactor     126.76        7260.3        .24188E-04   -1.3451    
   8  norm          .37828E-02    6767.5        .10954E-02   -1.5696    
   9  Prefactor     .62748E-03    6767.5        .91154E-03   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     373.45        7545.6        .18883E-04   -1.1819    
  11  norm          .11380E-03    6769.6        .12407E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10439E-02    6768.6        .81970E-03   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     70.757        7145.3        .24402E-04   -1.4024    
  14  norm          .10661E-03    6769.1        .47372E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .25922E-02    6768.3        .60604E-04   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .12371E-01    6774.8        .27393E-04   -1.5686    
  17  Prefactor     .24228E-01    6768.5        .16234E-03   -1.5677    
  18  Prefactor     .16571E-01    6769.0        .19885E-03   -1.5682    
  19  norm          14.058        6945.0        .25115E-04   -1.4958    
  20  norm          5.0454        6876.5        .26133E-04   -1.5259    
  21  Prefactor     6.5408        6890.8        .26260E-04   -1.5196    
  22  norm          .21591E-03    6768.2        .13054E-03   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     47.141        7081.8        .24654E-04   -1.4334    
  24  Prefactor     5.6306        6882.3        .27001E-04   -1.5233    
  25  Prefactor     .39251E-03    6768.0        .35214E-03   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     38.337        7049.8        .25738E-04   -1.4469    
  27  Prefactor     16.991        6961.6        .26076E-04   -1.4883    
  28  Prefactor     .13061E-03    6769.1        .34084E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          24.711        6999.9        .25390E-04   -1.4713    
  30  norm          .80857E-02    6768.4        .87856E-04   -1.5726    
  31  Prefactor     56.006        7107.7        .24511E-04   -1.4210    
  32  Prefactor     .13228E-03    6768.8        .17515E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .32884E-02    6769.4        .21668E-03   -1.5719    
  34  Prefactor     139.79        7283.0        .23166E-04   -1.3338    
  35  Normalizat    .10124E-01    6.7554        .28451E-04   -1.5778    
  36  Prefactor     .66469        7.7256        .18095E-04   -1.0493    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   682.3170     FROM MIGRAD    STATUS=CONVERGED    798 CALLS    13151 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    189.48       -.16530E-05** at limit **
   2  norm         10000.0        2233.9       -.37905E-05** at limit **
   3  Prefactor    10000.0        9793.1        .14359E-03** at limit **
   4  norm          .10000E-03    122.81       -.44628E-06** at limit **
   5  Prefactor     .10000E-03    195.50        .80402E-05** at limit **
   6  Prefactor     .10000E-03    199.58        .98332E-05** at limit **
   7  Prefactor     127.06        120.21       -.10800E-05   -.33550E-05
   8  norm          .10000E-03    258.88        .15147E-05** at limit **
   9  Prefactor     .10000E-03    46.133       -.59199E-06** at limit **
  10  Prefactor     369.59        326.00        .69107E-06   -.12711E-05
  11  norm          .10000E-03    1.3617        .12590E-06** at limit **
  12  Prefactor     .10000E-03    40.360       -.86233E-06** at limit **
  13  Prefactor     70.980        163.86       -.15691E-05    .10661E-05
  14  norm          .10000E-03    17.936       -.21686E-06** at limit **
  15  Prefactor     .10000E-03    57.027        .18844E-06** at limit **
  16  Prefactor     .10000E-03    457.02       -.31115E-05** at limit **
  17  Prefactor     .10000E-03    26.457        .45730E-05** at limit **
  18  Prefactor     .10000E-03    69.991       -.58291E-05** at limit **
  19  norm          14.301        12.785       -.97911E-06   -.24966E-04
  20  norm          5.2061        5.0158       -.64094E-06   -.20628E-04
  21  Prefactor     6.4826        28.971        .81972E-06   -.56043E-05
  22  norm          .10000E-03    2.5732       -.59091E-07** at limit **
  23  Prefactor     46.498        105.76       -.70583E-05    .16812E-04
  24  Prefactor     5.8549        14.404       -.25631E-05   -.58751E-04
  25  Prefactor     .10000E-03    18.240       -.75769E-06** at limit **
  26  Prefactor     38.548        253.14        .39632E-05    .21822E-05
  27  Prefactor     17.047        43.405       -.63618E-06    .26143E-05
  28  Prefactor     .10000E-03    5.6480        .21294E-06** at limit **
  29  norm          24.341        30.305        .18080E-06   -.27086E-04
  30  norm          .10000E-03    12.064       -.25959E-05** at limit **
  31  Prefactor     56.243        32.768       -.42443E-06   -.14203E-04
  32  Prefactor     .10000E-03    4.2229        .11551E-06** at limit **
  33  Prefactor     .10000E-03    33.472       -.16647E-05** at limit **
  34  Prefactor     144.21        305.45       -.65933E-05   -.13019E-04
  35  Normalizat    .10000E-01    .36768       -.10612E-04** at limit **
  36  Prefactor     .66324        .30260       -.22356E-06   -.13375E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 10000
  Prefactor  = 10000
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 127.057
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 369.594
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 70.9803
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 14.301
  norm       = 5.20609
  Prefactor  = 6.48257
  norm       = 0.0001
  Prefactor  = 46.4977
  Prefactor  = 5.85486
  Prefactor  = 0.0001
  Prefactor  = 38.5484
  Prefactor  = 17.0473
  Prefactor  = 0.0001
  norm       = 24.3408
  norm       = 0.0001
  Prefactor  = 56.2435
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 144.207
  Normalizat = 0.01
  Prefactor  = 0.663243
 **********
 **   18 **HESSE 
 **********

 FCN=   682.3170     FROM HESSE     STATUS=OK           781 CALLS    13932 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    189.46        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm         10000.0        2234.5        .41038E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor    10000.0        9791.4        .20238E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    122.85        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    195.46        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    199.52        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     127.06        120.14        .35696E-04   -1.3449    
   8  norm          .10000E-03    258.99        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    46.092        .34685E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     369.59        325.86        .21195E-04   -1.1839    
  11  norm          .10000E-03    1.3596        .59149E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    40.408        .32456E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     70.980        163.64        .95309E-05   -1.4021    
  14  norm          .10000E-03    17.985        .21535E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    57.250        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    462.30        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    26.427        .26245E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    70.135        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          14.301        12.772        .16455E-04   -1.4951    
  20  norm          5.2061        5.0324        .11020E-04   -1.5252    
  21  Prefactor     6.4826        28.683        .31511E-04   -1.5199    
  22  norm          .10000E-03    2.5966        .16114E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     46.498        106.06        .11759E-04   -1.4343    
  24  Prefactor     5.8549        14.132        .12871E-03   -1.5224    
  25  Prefactor     .10000E-03    18.423        .21865E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     38.548        256.68        .12934E-04   -1.4465    
  27  Prefactor     17.047        43.471        .19390E-04   -1.4882    
  28  Prefactor     .10000E-03    5.6367        .12117E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          24.341        30.328        .16204E-04   -1.4721    
  30  norm          .10000E-03    12.050        .17683E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     56.243        32.746        .10695E-04   -1.4207    
  32  Prefactor     .10000E-03    4.2228        .10467E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    33.245        .29443E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     144.21        300.58        .33628E-04   -1.3300    
  35  Normalizat    .10000E-01    .36344        .15759E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  36  Prefactor     .66324        .30199        .40638E-04   -1.0499    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.96865e-11
Minuit parameter uncertainties:
  1  2.54354e-05
  2  0.000144932
  3  0.00582902
  4  3.19128e-06
  5  0.000152433
  6  0.000187706
  7  120.367
  8  3.24665e-05
  9  2.70275e-06
  10  327.505
  11  3.69419e-07
  12  3.734e-06
  13  164.689
  14  4.01975e-06
  15  5.50044e-05
  16  0.000821551
  17  3.80862e-05
  18  0.000476245
  19  12.7747
  20  5.03276
  21  27.2937
  22  2.01445e-06
  23  106.49
  24  14.1405
  25  7.04019e-06
  26  200.197
  27  43.5515
  28  1.31911e-06
  29  30.3468
  30  3.15931e-05
  31  32.7568
  32  1.6718e-06
  33  2.33133e-05
  34  303.86
  35  1.48549e-06
  36  0.302734
Done.

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

Extracting fit parameters...

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  1.000e-04  4.020e-06  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:  6.632e-01  3.027e-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:  1.000e-02  1.485e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 118.693 48.393
Photon Flux Upper Limit: 3.97e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.52e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/19670/likelihoodResults_631497601_631756801_4FGL_J0754.7+4823_daily_bin1513.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 682.31725473
delta logL = -0.000271274796205

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 682.316984607
delta logL = -1.15243437904e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1481       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66325       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   682.3170     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      292 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22399E-03    107.99        .72699E-01** at limit **
   2  alpha         1.1992        3.5379        .50000       -.87338E-06
   3  Normalizat    .10000E-01    .51298E-02    .78752E-02** at limit **
   4  Prefactor     .66324        .23447E-01    .20322E-03    .37362E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000223988
  alpha      = 1.19921
  Normalizat = 0.01
  Prefactor  = 0.663243
 **********
 **   18 **HESSE 
 **********

 FCN=   682.3170     FROM HESSE     STATUS=OK            33 CALLS      325 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .22399E-03    6282.5        .20240E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.1992        .84015        .50000       -.54722    
   3  Normalizat    .10000E-01    .18418        .15750E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .66324        .19710        .40643E-04   -1.0499    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96388e-06
Minuit parameter uncertainties:
  1  1.18294
  2  0.863498
  3  3.6492e-07
  4  0.197306
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/19670': 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) = 682.316980411
delta logL = 3.04396098727e-06

Extracting fit parameters...

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  2.240e-04  1.183e+00  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  1.199e+00  8.635e-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:  6.632e-01  1.973e-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:  1.000e-02  3.649e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 118.693 48.393

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/19670/cmap_HighResolution_631497601_631756801_4FGL_J0754.7+4823_daily_bin1513.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.52e-04', job_status='DONE', photon_flux_upper_limit='3.97e-07', time_completed='2021-08-28 20:22:25.720616', job_id='19670', GAL2='0.66', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630207345.72', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='3.04e-06', ts2='0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1513' AND source_name='4FGL J0754.7+4823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 20:22:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 19670: <4FGL_J0754.7+4823_daily_bin1513> in cluster <slac> Done

Job <4FGL_J0754.7+4823_daily_bin1513> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 28 20:10:28 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 20:10:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 20:10:30 2021
Terminated at Sat Aug 28 20:22:26 2021
Results reported at Sat Aug 28 20:22:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0754.7+4823_daily_bin1513 118.693 48.3932 631497601 631756801 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 :                                   524.09 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             236.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   716 sec.
    Turnaround time :                            718 sec.

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

