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


Performing analysis on: 4FGL_J0754.7+4823_daily_bin1211
RA = 118.693, Dec = 48.3932
tmin = 553219201, tmax = 553478401
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='16459', job_status='RUN', time_executed='2021-08-28 20:02:46.757559', time_epoch_executed='1630206166.76' WHERE source_name='4FGL J0754.7+4823' and cadence='daily' and bin_id='1211'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/16459

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/16459/ft1_4FGL_J0754.7+4823_daily_bin1211.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/16459/ft2_4FGL_J0754.7+4823_daily_bin1211.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/16459/ft1_4FGL_J0754.7+4823_daily_bin1211.fits outfile=/scratch/kocevski/16459/ft1_filteredMKT_4FGL_J0754.7+4823_daily_bin1211.fits ra=118.693 dec=48.3932 rad=12.0 tmin=553219201.0 tmax=553478401.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.21
user 2.53
sys 1.48

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/16459/ft1_filtered_4FGL_J0754.7+4823_daily_bin1211.fits" evtable="EVENTS" scfile=/scratch/kocevski/16459/ft2_4FGL_J0754.7+4823_daily_bin1211.fits sctable="SC_DATA" outfile=/scratch/kocevski/16459/ltcube_553219201_553478401_4FGL_J0754.7+4823_daily_bin1211.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/16459/ft2_4FGL_J0754.7+4823_daily_bin1211.fits
.....................!
real 14.04
user 12.17
sys 1.82

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/16459/ft1_filtered_4FGL_J0754.7+4823_daily_bin1211.fits evtable="EVENTS" scfile=/scratch/kocevski/16459/ft2_4FGL_J0754.7+4823_daily_bin1211.fits sctable="SC_DATA" expcube=/scratch/kocevski/16459/ltcube_553219201_553478401_4FGL_J0754.7+4823_daily_bin1211.fits outfile=/scratch/kocevski/16459/expmap_553219201_553478401_4FGL_J0754.7+4823_daily_bin1211.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/16459/ltcube_553219201_553478401_4FGL_J0754.7+4823_daily_bin1211.fits
.....................!
real 192.47
user 185.59
sys 6.46

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/16459/ft1_filtered_4FGL_J0754.7+4823_daily_bin1211.fits scfile=/scratch/kocevski/16459/ft2_4FGL_J0754.7+4823_daily_bin1211.fits outfile=/scratch/kocevski/16459/cmap_553219201_553478401_4FGL_J0754.7+4823_daily_bin1211.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.80
user 0.36
sys 1.41

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/16459/ft1_filtered_4FGL_J0754.7+4823_daily_bin1211.fits scfile=/scratch/kocevski/16459/ft2_4FGL_J0754.7+4823_daily_bin1211.fits outfile=/scratch/kocevski/16459/cmap_HighResolution_553219201_553478401_4FGL_J0754.7+4823_daily_bin1211.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.86
user 0.37
sys 1.45

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/16459/ft1_filtered_4FGL_J0754.7+4823_daily_bin1211.fits evtable="EVENTS" scfile=/scratch/kocevski/16459/ft2_4FGL_J0754.7+4823_daily_bin1211.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/16459/Model_4FGL_J0754.7+4823_daily_bin1211.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/16459/ft1_filtered_4FGL_J0754.7+4823_daily_bin1211.fits.......................!
real 25.84
user 22.77
sys 2.96

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10378E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    61.308       1.0000         .10000E-03   10000.    
     4 'norm      '    .10094E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    29.667       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.430       1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    247.85       1.0000         .10000E-03   10000.    
    10 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    11 'norm      '    .11641E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .15206E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10329E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.0917       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10669E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.3957       1.0000         .10000E-03   10000.    
    21 'Prefactor '    34.466       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    3.2677       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10314E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    87.620       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    10.132       1.0000         .10000E-03   10000.    
    30 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    13.208       1.0000         .10000E-03   10000.    
    32 'Prefactor '    6.6482       1.0000         .10000E-03   10000.    
    33 'Prefactor '    11.992       1.0000         .10000E-03   10000.    
    34 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    35 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    36 'Prefactor '    .65131       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=   1247.347     FROM MIGRAD    STATUS=CONVERGED    992 CALLS     6090 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.7112       -.18295E-06** at limit **
   2  norm          .10000E-03    20.445       -.71671E-05** at limit **
   3  Prefactor     61.345        75.904        .33893E-04    .21535E-04
   4  norm          .10000E-03    8.0047       -.14742E-05** at limit **
   5  Prefactor     29.711        31.292        .62115E-05    .66585E-04
   6  Prefactor     .10000E-03    19.833       -.63254E-05** at limit **
   7  Prefactor     16.436        25.087       -.77775E-05    .28437E-04
   8  norm          .10000E-03    70.615        .12849E-04** at limit **
   9  Prefactor     248.01        208.69        .10346E-03    .66427E-04
  10  Prefactor    10000.0        6930.8        .22240E-02** at limit **
  11  norm          .10001E-03    9.3497       -.19153E-05** at limit **
  12  Prefactor     .10000E-03    66.619        .16261E-05** at limit **
  13  Prefactor     .10000E-03    144.23        .12758E-04** at limit **
  14  norm          .10000E-03    8.6992        .22449E-05** at limit **
  15  Prefactor     .10000E-03    20.108       -.68453E-05** at limit **
  16  Prefactor     .10000E-03    41.681       -.10034E-04** at limit **
  17  Prefactor     7.0380        104.00       -.11422E-03   -.65409E-05
  18  Prefactor     .10000E-03    11.431        .27100E-05** at limit **
  19  norm          .10000E-03    10.904       -.46306E-05** at limit **
  20  norm          1.3972        3.7538        .37116E-06    .12292E-03
  21  Prefactor     34.481        24.333        .75898E-05    .20290E-03
  22  norm          .10000E-03    .51764        .20080E-07** at limit **
  23  Prefactor     .10000E-03    17.388        .10391E-04** at limit **
  24  Prefactor     .10000E-03    4.8160        .33786E-06** at limit **
  25  Prefactor     3.2645        5.8901        .46333E-05   -.80065E-04
  26  Prefactor     .10000E-03    43.115       -.14487E-04** at limit **
  27  Prefactor     87.608        33.892       -.10736E-05    .66179E-04
  28  Prefactor     .10000E-03    3.9716        .17321E-06** at limit **
  29  norm          10.130        8.9398        .15227E-06    .49058E-04
  30  norm          .10000E-03    2.8076       -.13464E-06** at limit **
  31  Prefactor     13.200        12.524        .26575E-06    .39895E-04
  32  Prefactor     6.6439        4.7521        .25559E-06    .21289E-04
  33  Prefactor     11.981        16.750       -.18539E-06    .97070E-05
  34  Prefactor     .10000E-03    28.887        .22528E-04** at limit **
  35  Normalizat    .10000E-01    .87853E-01   -.18062E-05** at limit **
  36  Prefactor     .65109        .16403       -.42130E-05    .25016E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 61.3446
  norm       = 0.0001
  Prefactor  = 29.7109
  Prefactor  = 0.0001
  Prefactor  = 16.4356
  norm       = 0.0001
  Prefactor  = 248.013
  Prefactor  = 10000
  norm       = 0.000100013
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.03803
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.39724
  Prefactor  = 34.4808
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.26446
  Prefactor  = 0.0001
  Prefactor  = 87.6078
  Prefactor  = 0.0001
  norm       = 10.1305
  norm       = 0.0001
  Prefactor  = 13.2001
  Prefactor  = 6.64395
  Prefactor  = 11.9814
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.651089
 **********
 **   18 **HESSE 
 **********

 FCN=   1247.347     FROM HESSE     STATUS=OK           795 CALLS     6885 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.7179        .56801E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    21.210        .31172E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     61.345        75.904        .25622E-03   -1.4140    
   4  norm          .10000E-03    8.0295        .97579E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     29.711        31.308        .36779E-03   -1.4617    
   6  Prefactor     .10000E-03    19.833        .15368E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.436        25.095        .98810E-04   -1.4897    
   8  norm          .10000E-03    70.662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     248.01        208.67        .12864E-03   -1.2545    
  10  Prefactor    10000.0        6929.4        .18192E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10001E-03    9.4620        .10535E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    66.620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    144.23        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    8.7000        .10176E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    20.109        .15474E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    41.681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.0380        104.29        .15064E-03   -1.5177    
  18  Prefactor     .10000E-03    11.462        .11664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    10.936        .11349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.3972        3.6857        .10792E-03   -1.5472    
  21  Prefactor     34.481        24.317        .68259E-04   -1.4533    
  22  norm          .10000E-03    .52042        .24804E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    17.397        .14386E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    4.8381        .75676E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     3.2645        5.8880        .11031E-03   -1.5347    
  26  Prefactor     .10000E-03    43.161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     87.608        33.866        .42922E-04   -1.3833    
  28  Prefactor     .10000E-03    3.9777        .68738E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          10.130        8.9409        .94167E-04   -1.5071    
  30  norm          .10000E-03    2.8103        .57793E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     13.200        12.525        .11022E-03   -1.4981    
  32  Prefactor     6.6439        4.7514        .61581E-04   -1.5192    
  33  Prefactor     11.981        16.739        .11568E-03   -1.5016    
  34  Prefactor     .10000E-03    28.887        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Normalizat    .10000E-01    .90586E-01    .62380E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  36  Prefactor     .65109        .16329        .19232E-03   -1.0548    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98522e-09
Minuit parameter uncertainties:
  1  9.57016e-07
  2  0.000259801
  3  76.0236
  4  3.14923e-05
  5  31.3257
  6  9.44917e-06
  7  25.1113
  8  0.00014572
  9  209.304
  10  0.00818902
  11  0.000712468
  12  4.64732e-05
  13  7.99127e-06
  14  1.28891e-06
  15  3.09889e-07
  16  1.70568e-07
  17  54.299
  18  5.61354e-06
  19  1.97796e-05
  20  3.68629
  21  24.3241
  22  4.98584e-07
  23  4.45724e-05
  24  2.09016e-05
  25  5.88907
  26  2.16914e-05
  27  33.8739
  28  3.1755e-08
  29  8.94207
  30  1.99844e-06
  31  12.5277
  32  4.75167
  33  16.746
  34  1.50752e-06
  35  2.35448e-06
  36  0.163413
Done.

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

Extracting fit parameters...

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  1.000e-04  1.289e-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.511e-01  1.634e-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  2.354e-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: 4.41e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.80e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/16459/likelihoodResults_553219201_553478401_4FGL_J0754.7+4823_daily_bin1211.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) = 1247.34706932
delta logL = -0.00053949905282

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1247.34653065
delta logL = -8.33648982734e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9721       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65111       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   1247.347     FROM MIGRAD    STATUS=FAILED        92 CALLS      235 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    505.87        .10220E-01** at limit **
   2  alpha         1.6271        3.7213        .16950       -.46682E-07
   3  Normalizat    .10000E-01    .11118E-01    .62379E-02** at limit **
   4  Prefactor     .65109        .48106E-01    .19232E-03    .32207E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   1247.347     FROM SIMPLEX   STATUS=UNCHANGED    173 CALLS      408 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    505.87        .36648E-03** at limit **
   2  alpha         1.6271        3.7213        .79011E-06   -.46682E-07
   3  Normalizat    .10000E-01    .11118E-01    .14041E-02** at limit **
   4  Prefactor     .65109        .48106E-01    .25969E-07    .32207E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1247.347     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      436 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.4360        .10589E-02** at limit **
   2  alpha         1.6313        3.5681        .67801E-02    .27918E-07
   3  Normalizat    .10000E-01    .90591E-01    .12476E-02** at limit **
   4  Prefactor     .65109        .13742        .38465E-04    .32216E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.63129
  Normalizat = 0.01
  Prefactor  = 0.651087
 **********
 **   18 **HESSE 
 **********

 FCN=   1247.347     FROM HESSE     STATUS=OK            23 CALLS      459 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.4191        .21177E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6313        4.0596        .13560E-02   -.35488    
   3  Normalizat    .10000E-01    .90591E-01    .24952E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .65109        .13742        .76930E-05   -1.0548    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.99092e-11
Minuit parameter uncertainties:
  1  7.97883e-05
  2  364.771
  3  1.06232e-07
  4  0.137491
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/16459': 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) = 1247.34652938
delta logL = 4.38844153905e-07

Extracting fit parameters...

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  1.000e-04  7.979e-05  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  1.631e+00  3.648e+02  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.511e-01  1.375e-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.062e-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/16459/cmap_HighResolution_553219201_553478401_4FGL_J0754.7+4823_daily_bin1211.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.80e-04', job_status='DONE', photon_flux_upper_limit='4.41e-07', time_completed='2021-08-28 20:11:38.569783', job_id='16459', GAL2='0.65', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630206698.57', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='4.39e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1211' AND source_name='4FGL J0754.7+4823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 20:11:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 16459: <4FGL_J0754.7+4823_daily_bin1211> in cluster <slac> Done

Job <4FGL_J0754.7+4823_daily_bin1211> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 20:00:26 2021
Job was executed on host(s) <bullet0152>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 20:00:26 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:00:26 2021
Terminated at Sat Aug 28 20:11:39 2021
Results reported at Sat Aug 28 20:11:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0754.7+4823_daily_bin1211 118.693 48.3932 553219201 553478401 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 :                                   550.22 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             312.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   673 sec.
    Turnaround time :                            673 sec.

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

