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


Performing analysis on: 4FGL_J0754.7+4823_daily_bin1509
RA = 118.693, Dec = 48.3932
tmin = 630460801, tmax = 630720001
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='19660', job_status='RUN', time_executed='2021-08-28 20:13:11.397797', time_epoch_executed='1630206791.4' WHERE source_name='4FGL J0754.7+4823' and cadence='daily' and bin_id='1509'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/19660

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/19660/ft1_4FGL_J0754.7+4823_daily_bin1509.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/19660/ft2_4FGL_J0754.7+4823_daily_bin1509.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/19660/ft1_4FGL_J0754.7+4823_daily_bin1509.fits outfile=/scratch/kocevski/19660/ft1_filteredMKT_4FGL_J0754.7+4823_daily_bin1509.fits ra=118.693 dec=48.3932 rad=12.0 tmin=630460801.0 tmax=630720001.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.06
user 2.61
sys 0.44

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/19660/ft2_4FGL_J0754.7+4823_daily_bin1509.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/19660/ft1_filteredMKT_4FGL_J0754.7+4823_daily_bin1509.fits evtable="EVENTS" outfile="/scratch/kocevski/19660/ft1_filtered_4FGL_J0754.7+4823_daily_bin1509.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.74
user 0.33
sys 0.41

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/19660/ft1_filtered_4FGL_J0754.7+4823_daily_bin1509.fits" evtable="EVENTS" scfile=/scratch/kocevski/19660/ft2_4FGL_J0754.7+4823_daily_bin1509.fits sctable="SC_DATA" outfile=/scratch/kocevski/19660/ltcube_630460801_630720001_4FGL_J0754.7+4823_daily_bin1509.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/19660/ft2_4FGL_J0754.7+4823_daily_bin1509.fits
.....................!
real 12.88
user 12.06
sys 0.77

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/19660/ft1_filtered_4FGL_J0754.7+4823_daily_bin1509.fits evtable="EVENTS" scfile=/scratch/kocevski/19660/ft2_4FGL_J0754.7+4823_daily_bin1509.fits sctable="SC_DATA" expcube=/scratch/kocevski/19660/ltcube_630460801_630720001_4FGL_J0754.7+4823_daily_bin1509.fits outfile=/scratch/kocevski/19660/expmap_630460801_630720001_4FGL_J0754.7+4823_daily_bin1509.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/19660/ltcube_630460801_630720001_4FGL_J0754.7+4823_daily_bin1509.fits
.....................!
real 194.30
user 187.46
sys 6.38

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/19660/ft1_filtered_4FGL_J0754.7+4823_daily_bin1509.fits scfile=/scratch/kocevski/19660/ft2_4FGL_J0754.7+4823_daily_bin1509.fits outfile=/scratch/kocevski/19660/cmap_630460801_630720001_4FGL_J0754.7+4823_daily_bin1509.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 0.80
user 0.37
sys 0.40

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/19660/ft1_filtered_4FGL_J0754.7+4823_daily_bin1509.fits scfile=/scratch/kocevski/19660/ft2_4FGL_J0754.7+4823_daily_bin1509.fits outfile=/scratch/kocevski/19660/cmap_HighResolution_630460801_630720001_4FGL_J0754.7+4823_daily_bin1509.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 0.79
user 0.38
sys 0.40

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/19660/ft1_filtered_4FGL_J0754.7+4823_daily_bin1509.fits evtable="EVENTS" scfile=/scratch/kocevski/19660/ft2_4FGL_J0754.7+4823_daily_bin1509.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/19660/Model_4FGL_J0754.7+4823_daily_bin1509.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/19660/ft1_filtered_4FGL_J0754.7+4823_daily_bin1509.fits.....!
real 14.46
user 12.90
sys 1.49

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/19660/ft1_filtered_4FGL_J0754.7+4823_daily_bin1509.fits', '/scratch/kocevski/19660/ft2_4FGL_J0754.7+4823_daily_bin1509.fits', expMap='/scratch/kocevski/19660/expmap_630460801_630720001_4FGL_J0754.7+4823_daily_bin1509.fits', expCube='/scratch/kocevski/19660/ltcube_630460801_630720001_4FGL_J0754.7+4823_daily_bin1509.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/19660/Model_4FGL_J0754.7+4823_daily_bin1509.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/19660/ft1_filtered_4FGL_J0754.7+4823_daily_bin1509.fits
Spacecraft file(s): /scratch/kocevski/19660/ft2_4FGL_J0754.7+4823_daily_bin1509.fits
Exposure map: /scratch/kocevski/19660/expmap_630460801_630720001_4FGL_J0754.7+4823_daily_bin1509.fits
Exposure cube: /scratch/kocevski/19660/ltcube_630460801_630720001_4FGL_J0754.7+4823_daily_bin1509.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/19660/Model_4FGL_J0754.7+4823_daily_bin1509.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 67.324014694

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 64.6854726354

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12336       1.0000         .10000E-03   10000.    
     2 'norm      '    2.4961       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.7036       1.0000         .10000E-03   10000.    
     4 'norm      '    .74340       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.6632       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.9546       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .17021E-01   1.0000         .10000E-03   10000.    
     8 'norm      '    2.7603       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .73153       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.1350       1.0000         .10000E-03   10000.    
    11 'norm      '    .80312E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.5974       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.7827       1.0000         .10000E-03   10000.    
    14 'norm      '    2.6395       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .30703       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.6552       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.4407       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .27233E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.2745       1.0000         .10000E-03   10000.    
    20 'norm      '    12.305       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.7533       1.0000         .10000E-03   10000.    
    22 'norm      '    .10134E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .20651E-01   1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.0067       1.0000         .10000E-03   10000.    
    25 'Prefactor '    48.650       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .56190E-01   1.0000         .10000E-03   10000.    
    27 'Prefactor '    79.403       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .21158       1.0000         .10000E-03   10000.    
    29 'norm      '    .28499E-01   1.0000         .10000E-03   10000.    
    30 'norm      '    83.235       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .17148E-01   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .12816E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .27879E-02   1.0000         .10000E-03   10000.    
    34 'Prefactor '    267.89       1.0000         .10000E-03   10000.    
    35 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    36 'Prefactor '    .72636E-06   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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   62.22873     FROM MIGRAD    STATUS=CONVERGED    526 CALLS      844 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    211.67        .96220E-02** at limit **
   2  norm          2.4961        1.0216         .0000         .0000    
   3  Prefactor     2.7036        1.0182         .0000         .0000    
   4  norm          .12794E-03    .37376        .20184E-04** at limit **
   5  Prefactor     1.6632        1.0544         .0000         .0000    
   6  Prefactor     7.8381        .93710        .50415E-05   -.22199E-02
   7  Prefactor     .10000E-03    .20738        .48410E-06** at limit **
   8  norm          2.7603        1.0174         .0000         .0000    
   9  Prefactor     .10001E-03    .37101       -.30591E-05** at limit **
  10  Prefactor     9.1350        1.0015         .0000         .0000    
  11  norm          .10033E-03    .21322        .17839E-04** at limit **
  12  Prefactor     1.5974        1.0600         .0000         .0000    
  13  Prefactor     87.134        4.2744        .41034E-05   -.27788E-02
  14  norm          9998.7        .71452       -.94950E-04   -.23046E-02
  15  Prefactor     .10586E-03    .27331       -.25240E-04** at limit **
  16  Prefactor     .17052E-02    .54364E-01   -.24375E-04** at limit **
  17  Prefactor     .10248E-03    .20183        .14513E-04** at limit **
  18  Prefactor     .10000E-03    .28703        .23060E-06** at limit **
  19  norm         10000.0        .59336E-01   -.65792E-04** at limit **
  20  norm         10000.0        .20375E-01   -.43441E-04    .57984E-03
  21  Prefactor     356.25        7.7594        .96604E-05   -.80360E-02
  22  norm          .10000E-03    .20571        .13573E-06** at limit **
  23  Prefactor     .10000E-03    .20820        .81515E-06** at limit **
  24  Prefactor     9999.8        .20108       -.39986E-04    .14030E-02
  25  Prefactor     46.384        .97659       -.24246E-06   -.42795E-04
  26  Prefactor     .10000E-03    .21623        .14065E-05** at limit **
  27  Prefactor     20.450        .50901        .18622E-04    .54388E-03
  28  Prefactor     .10001E-03    .25152        .55909E-05** at limit **
  29  norm          .10000E-03    .20997        .73217E-06** at limit **
  30  norm          76.077        .95640       -.34280E-05    .25750E-03
  31  Prefactor     .10000E-03    .20741       -.60685E-06** at limit **
  32  Prefactor     .10000E-03    .20571        .87078E-07** at limit **
  33  Prefactor     .10000E-03    .24767       -.27180E-06** at limit **
  34  Prefactor     .54383E-02    .45250E-02    .48714E-05   -.10711E-01
  35  Normalizat    .10000E-01    .25505       -.84486E-05** at limit **
  36  Prefactor     .39396E-11    .25728       -.62212E-05** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.49607
  Prefactor  = 2.70356
  norm       = 0.000127945
  Prefactor  = 1.66321
  Prefactor  = 7.83808
  Prefactor  = 0.0001
  norm       = 2.76033
  Prefactor  = 0.00010001
  Prefactor  = 9.13501
  norm       = 0.000100326
  Prefactor  = 1.5974
  Prefactor  = 87.1343
  norm       = 9998.7
  Prefactor  = 0.000105858
  Prefactor  = 0.00170515
  Prefactor  = 0.000102482
  Prefactor  = 0.0001
  norm       = 10000
  norm       = 10000
  Prefactor  = 356.248
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9999.8
  Prefactor  = 46.3841
  Prefactor  = 0.000100004
  Prefactor  = 20.4504
  Prefactor  = 0.000100011
  norm       = 0.0001
  norm       = 76.0769
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00543825
  Normalizat = 0.01
  Prefactor  = 3.93963e-12
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   62.22873     FROM HESSE     STATUS=FAILED        11 CALLS      855 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    211.67        .96220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          561.34        558.74         .0000       -1.5392    
   3  Prefactor     2.7036        1.0182         .0000       -1.5379    
   4  norm          .12794E-03    .37376        .20184E-04   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.6632        1.0544         .0000       -1.5450    
   6  Prefactor     7.8381        .93710        .50415E-05   -1.6268    
   7  Prefactor     .10000E-03    .20738        .48410E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.7603        1.0174         .0000       -1.5376    
   9  Prefactor     .10001E-03    .37101       -.30591E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.1350        1.0015         .0000       -1.5103    
  11  norm          .10033E-03    .21322        .17839E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.5974        1.0600         .0000       -1.5455    
  13  Prefactor     87.134        4.2744        .41034E-05   -1.3838    
  14  norm          9998.7        .71452       -.94950E-04    1.5480    
  15  Prefactor     .10586E-03    .27331       -.25240E-04   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .17052E-02    .54364E-01   -.24375E-04   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10248E-03    .20183        .14513E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    .28703        .23060E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm         10000.0        .59336E-01   -.65792E-04    1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm         10000.0        .20375E-01   -.43441E-04    1.5721    
  21  Prefactor     356.25        7.7594        .96604E-05   -1.1910    
  22  norm          .10000E-03    .20571        .13573E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    .20820        .81515E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     9999.8        .20108       -.39986E-04    1.5797    
  25  Prefactor     46.384        .97659       -.24246E-06   -1.4345    
  26  Prefactor     .10000E-03    .21623        .14065E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     20.450        .50901        .18622E-04   -1.4803    
  28  Prefactor     .10001E-03    .25152        .55909E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .10000E-03    .20997        .73217E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          76.077        .95640       -.34280E-05   -1.3961    
  31  Prefactor     .10000E-03    .20741       -.60685E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    .20571        .87078E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    .24767       -.27180E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     .54383E-02    .45250E-02    .48714E-05   -1.5723    
  35  Normalizat    .10000E-01    .25505       -.84486E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  36  Prefactor     .39396E-11    .25728       -.62212E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.18236e-09
Minuit parameter uncertainties:
  1  0.000532289
  2  1.02162
  3  1.01821
  4  0.00646365
  5  1.05437
  6  0.937102
  7  2.32314e-06
  8  1.01743
  9  0.000121085
  10  1.0015
  11  0.000527263
  12  1.06006
  13  4.27443
  14  0.714523
  15  0.0025307
  16  0.0186828
  17  0.00141547
  18  2.48555e-06
  19  0.0136341
  20  0.0190333
  21  7.75938
  22  1.80601e-06
  23  7.06637e-06
  24  0.201079
  25  0.976595
  26  6.1312e-05
  27  0.509012
  28  0.000107006
  29  3.32956e-06
  30  0.956396
  31  5.97577e-05
  32  4.43064e-06
  33  6.69513e-07
  34  0.00452499
  35  2.27808e-06
  36  2.02227e-06
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 62.2287250029

Extracting fit parameters...

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  9.999e+03  7.145e-01  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:  3.940e-12  2.022e-06  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  2.278e-06  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = 2.62340085797e-05

TS (Fixed Index): 0.43
Ra Dec: 118.693 48.393
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -6.35e+02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/19660/likelihoodResults_630460801_630720001_4FGL_J0754.7+4823_daily_bin1509.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) = 59.0384101977
delta logL = 3.19031480521

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59.0377702691
delta logL = 3.1909547338

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'alpha     '    5.0000       1.0000          .0000       5.0000    
 **********
 **   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=   59.03777     FROM MIGRAD    STATUS=CONVERGED     16 CALLS       52 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    alpha       5.0000        .26520        .46267E-01** at limit **
                               ERR DEF=  .500    
Final values: 
  alpha      = 5
 **********
 **   18 **HESSE 
 **********

 FCN=   59.03777     FROM HESSE     STATUS=OK             5 CALLS       57 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    alpha       5.0000        .26506        .17511E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31451e-09
Minuit parameter uncertainties:
  1  1.95718e-05
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/19660': 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) = 59.0377702691
delta logL = 3.1909547338

Extracting fit parameters...

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  9.999e+03  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12) fixed
275        alpha:  5.000e+00  1.957e-05  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:  1.867e-04  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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.001e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 6.81
Ra Dec: 118.693 48.393
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 2.32e-02 +/- 9.46e-07
Energy Flux (Free Index): 3.17e+00 +/- 1.24e-04

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/19660/cmap_HighResolution_630460801_630720001_4FGL_J0754.7+4823_daily_bin1509.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-6.35e+02', comment='SUCCESS', energy_flux2='3.17e+00', dlogl='3.19e+00', photon_flux2='2.32e-02', job_status='DONE', time_completed='2021-08-28 20:18:59.012224', photon_index_error2='0.00', photon_index2='5.00', ts='0.43', fit_tolerance='1e-08', GAL='0.00', photon_index_error='0.00', photon_flux_upper_limit='-1.00e+00', energy_flux_error2='1.24e-04', EG='0.01', time_epoch_completed='1630207139.01', return_code='101', job_id='19660', GAL2='0.00', EG2='0.01', return_code2='0', photon_flux_error2='9.46e-07', ts2='6.81', photon_index='1.98' WHERE bin_id='1509' AND source_name='4FGL J0754.7+4823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 20:18:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 19660: <4FGL_J0754.7+4823_daily_bin1509> in cluster <slac> Done

Job <4FGL_J0754.7+4823_daily_bin1509> 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) <bullet0038>, 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:18:59 2021
Results reported at Sat Aug 28 20:18:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0754.7+4823_daily_bin1509 118.693 48.3932 630460801 630720001 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 :                                   338.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             390.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   509 sec.
    Turnaround time :                            511 sec.

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

