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


Performing analysis on: 4FGL_J0754.7+4823_daily_bin710
RA = 118.693, Dec = 48.3932
tmin = 423360001, tmax = 423619201
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='11826', job_status='RUN', time_executed='2021-08-28 19:46:01.972013', time_epoch_executed='1630205161.97' WHERE source_name='4FGL J0754.7+4823' and cadence='daily' and bin_id='710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/11826

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/11826/ft1_4FGL_J0754.7+4823_daily_bin710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/11826/ft2_4FGL_J0754.7+4823_daily_bin710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/11826/ft1_4FGL_J0754.7+4823_daily_bin710.fits outfile=/scratch/kocevski/11826/ft1_filteredMKT_4FGL_J0754.7+4823_daily_bin710.fits ra=118.693 dec=48.3932 rad=12.0 tmin=423360001.0 tmax=423619201.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.68
user 3.98
sys 0.69

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/11826/ft2_4FGL_J0754.7+4823_daily_bin710.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/11826/ft1_filteredMKT_4FGL_J0754.7+4823_daily_bin710.fits evtable="EVENTS" outfile="/scratch/kocevski/11826/ft1_filtered_4FGL_J0754.7+4823_daily_bin710.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.84
user 0.28
sys 0.54

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/11826/ft1_filtered_4FGL_J0754.7+4823_daily_bin710.fits" evtable="EVENTS" scfile=/scratch/kocevski/11826/ft2_4FGL_J0754.7+4823_daily_bin710.fits sctable="SC_DATA" outfile=/scratch/kocevski/11826/ltcube_423360001_423619201_4FGL_J0754.7+4823_daily_bin710.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/11826/ft2_4FGL_J0754.7+4823_daily_bin710.fits
.....................!
real 9.12
user 8.34
sys 0.75

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/11826/ft1_filtered_4FGL_J0754.7+4823_daily_bin710.fits evtable="EVENTS" scfile=/scratch/kocevski/11826/ft2_4FGL_J0754.7+4823_daily_bin710.fits sctable="SC_DATA" expcube=/scratch/kocevski/11826/ltcube_423360001_423619201_4FGL_J0754.7+4823_daily_bin710.fits outfile=/scratch/kocevski/11826/expmap_423360001_423619201_4FGL_J0754.7+4823_daily_bin710.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/11826/ltcube_423360001_423619201_4FGL_J0754.7+4823_daily_bin710.fits
.....................!
real 140.12
user 136.27
sys 3.60

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/11826/ft1_filtered_4FGL_J0754.7+4823_daily_bin710.fits scfile=/scratch/kocevski/11826/ft2_4FGL_J0754.7+4823_daily_bin710.fits outfile=/scratch/kocevski/11826/cmap_423360001_423619201_4FGL_J0754.7+4823_daily_bin710.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.89
user 0.28
sys 0.59

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/11826/ft1_filtered_4FGL_J0754.7+4823_daily_bin710.fits scfile=/scratch/kocevski/11826/ft2_4FGL_J0754.7+4823_daily_bin710.fits outfile=/scratch/kocevski/11826/cmap_HighResolution_423360001_423619201_4FGL_J0754.7+4823_daily_bin710.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.90
user 0.32
sys 0.52

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/11826/ft1_filtered_4FGL_J0754.7+4823_daily_bin710.fits evtable="EVENTS" scfile=/scratch/kocevski/11826/ft2_4FGL_J0754.7+4823_daily_bin710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/11826/Model_4FGL_J0754.7+4823_daily_bin710.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/11826/ft1_filtered_4FGL_J0754.7+4823_daily_bin710.fits....................!
real 48.41
user 46.72
sys 1.60

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.1332       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10122       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.4288       1.0000         .10000E-03   10000.    
     9 'Prefactor '    25.868       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.3972       1.0000         .10000E-03   10000.    
    11 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.4250       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.9450       1.0000         .10000E-03   10000.    
    14 'norm      '    .10866E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.588       1.0000         .10000E-03   10000.    
    17 'Prefactor '    35.326       1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.347       1.0000         .10000E-03   10000.    
    19 'norm      '    6.9995       1.0000         .10000E-03   10000.    
    20 'norm      '    4.6509       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10227E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .47747       1.0000         .10000E-03   10000.    
    23 'Prefactor '    7.7264       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    13.260       1.0000         .10000E-03   10000.    
    28 'Prefactor '    17.410       1.0000         .10000E-03   10000.    
    29 'norm      '    .68523       1.0000         .10000E-03   10000.    
    30 'norm      '    8.0584       1.0000         .10000E-03   10000.    
    31 'Prefactor '    2.1044       1.0000         .10000E-03   10000.    
    32 'Prefactor '    4.3798       1.0000         .10000E-03   10000.    
    33 'Prefactor '    .22562E-03   1.0000         .10000E-03   10000.    
    34 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    35 'Normalizat'    1.0597       1.0000         .10000E-01   10.000    
    36 'Prefactor '    .87665       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=   6444.402     FROM MIGRAD    STATUS=CONVERGED   1070 CALLS     5407 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.8945        .72518E-07** at limit **
   2  norm          .10000E-03    1.5222        .10354E-06** at limit **
   3  Prefactor     .10000E-03    13.761        .12775E-08** at limit **
   4  norm          1.1403        2.8907        .49317E-06   -.21340E-03
   5  Prefactor     .16638E-01    3.9071        .34651E-06    .10794E-03
   6  Prefactor     .10000E-03    15.041        .30856E-06** at limit **
   7  Prefactor     .10000E-03    7.6958       -.13265E-06** at limit **
   8  norm          3.4625        9.2439       -.24263E-05   -.38232E-03
   9  Prefactor     25.859        22.018        .13874E-05    .13441E-03
  10  Prefactor     8.4200        31.301       -.10031E-06   -.26161E-04
  11  norm          .10000E-03    .35472       -.14881E-07** at limit **
  12  Prefactor     1.4142        15.920        .10656E-07   -.12218E-03
  13  Prefactor     4.9373        14.644        .33842E-05   -.31131E-03
  14  norm          .10000E-03    1.9041       -.96787E-07** at limit **
  15  Prefactor     .10000E-03    2.3535       -.77596E-07** at limit **
  16  Prefactor     10.576        27.552        .19779E-05    .55659E-04
  17  Prefactor     35.314        31.373        .10504E-07   -.30221E-05
  18  Prefactor     15.344        7.0403        .29687E-06    .18723E-03
  19  norm          6.9987        3.8804       -.34925E-09    .79109E-06
  20  norm          4.6503        2.2637       -.11483E-07   -.45271E-04
  21  Prefactor     .10000E-03    8.2907        .15168E-06** at limit **
  22  norm          .47739        .44219       -.27043E-07   -.13194E-03
  23  Prefactor     7.7217        13.409        .38322E-06    .24647E-04
  24  Prefactor     .10000E-03    3.6013        .15556E-08** at limit **
  25  Prefactor     .10000E-03    2.1408        .10288E-06** at limit **
  26  Prefactor     .10000E-03    24.114        .16522E-06** at limit **
  27  Prefactor     13.255        12.368        .40760E-06   -.20606E-03
  28  Prefactor     17.401        11.535        .34038E-06    .35758E-04
  29  norm          .67589        5.2724        .52490E-06   -.21453E-03
  30  norm          8.0522        7.7432       -.54263E-06   -.18854E-03
  31  Prefactor     2.1008        10.482       -.62677E-06   -.10549E-03
  32  Prefactor     4.3786        3.5360       -.28596E-07   -.10460E-03
  33  Prefactor     .10000E-03    82.850       -.16860E-06** at limit **
  34  Prefactor     .10000E-03    47.284       -.99918E-06** at limit **
  35  Normalizat    1.0600        .20590       -.39640E-06   -.89857E-04
  36  Prefactor     .87665        .13077       -.59605E-07   -.14580E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.14035
  Prefactor  = 0.0166379
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.46245
  Prefactor  = 25.8593
  Prefactor  = 8.42
  norm       = 0.0001
  Prefactor  = 1.41423
  Prefactor  = 4.93726
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.5756
  Prefactor  = 35.3135
  Prefactor  = 15.3442
  norm       = 6.99872
  norm       = 4.65031
  Prefactor  = 0.0001
  norm       = 0.477387
  Prefactor  = 7.72167
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.2552
  Prefactor  = 17.401
  norm       = 0.675888
  norm       = 8.05215
  Prefactor  = 2.10076
  Prefactor  = 4.37856
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.05997
  Prefactor  = 0.876651
 **********
 **   18 **HESSE 
 **********

 FCN=   6444.402     FROM HESSE     STATUS=OK           835 CALLS     6242 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.9144        .10786E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.5446        .96717E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    13.780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.1403        2.8527        .20617E-03   -1.5494    
   5  Prefactor     .16638E-01    14.652        .41485E-01   -1.5682    
   6  Prefactor     .10000E-03    15.328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.7086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.4625        10.340        .21844E-03   -1.5336    
   9  Prefactor     25.859        22.050        .78763E-04   -1.4690    
  10  Prefactor     8.4200        31.213        .13834E-03   -1.5128    
  11  norm          .10000E-03    .60790        .92563E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.4142        16.385        .36217E-03   -1.5470    
  13  Prefactor     4.9373        16.940        .90430E-03   -1.5264    
  14  norm          .10000E-03    1.9858        .21579E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.3564        .12029E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.576        27.693        .12313E-03   -1.5057    
  17  Prefactor     35.314        31.405        .67425E-04   -1.4519    
  18  Prefactor     15.344        7.0426        .10224E-03   -1.4924    
  19  norm          6.9987        3.8822        .11268E-03   -1.5179    
  20  norm          4.6503        2.2643        .80482E-04   -1.5277    
  21  Prefactor     .10000E-03    8.3741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .47739        .45238        .48610E-03   -1.5570    
  23  Prefactor     7.7217        13.342        .14426E-03   -1.5152    
  24  Prefactor     .10000E-03    3.6523        .14869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    2.1955        .22886E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    24.176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     13.255        12.601        .55000E-03   -1.4980    
  28  Prefactor     17.401        11.550        .95987E-04   -1.4873    
  29  norm          .67589        11.231        .34184E-02   -1.5544    
  30  norm          8.0522        7.6978        .14124E-03   -1.5140    
  31  Prefactor     2.1008        10.668        .28445E-03   -1.5418    
  32  Prefactor     4.3786        3.5246        .12966E-03   -1.5289    
  33  Prefactor     .10000E-03    85.542        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     .10000E-03    47.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Normalizat    1.0600        .24474        .28282E-03   -.91047    
  36  Prefactor     .87665        .15380        .20870E-03   -.96962    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.84597e-08
Minuit parameter uncertainties:
  1  9.719e-07
  2  3.37383e-06
  3  2.9947e-06
  4  2.85305
  5  0.984756
  6  1.44527e-05
  7  1.44994e-05
  8  10.3454
  9  22.0572
  10  31.2734
  11  2.05049e-06
  12  9.6306
  13  16.9567
  14  1.09677e-06
  15  6.35995e-06
  16  27.7269
  17  31.4201
  18  7.04295
  19  3.88234
  20  2.26435
  21  6.62488e-06
  22  0.452381
  23  13.3469
  24  4.50688e-07
  25  2.86264e-06
  26  5.16384e-06
  27  12.6039
  28  11.5515
  29  5.51108
  30  7.69878
  31  9.47032
  32  3.52477
  33  7.07804e-05
  34  0.000118337
  35  0.245001
  36  0.153874
Done.

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

Extracting fit parameters...

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  1.000e-04  1.097e-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:  8.767e-01  1.539e-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.060e+00  2.450e-01  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.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.11e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/11826/likelihoodResults_423360001_423619201_4FGL_J0754.7+4823_daily_bin710.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) = 6444.2659727
delta logL = 0.135942692655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6444.25699647
delta logL = 0.144918922053

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6444.257     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      278 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10188E-01    .77681        .34624E-02    .82593E-02
   2  alpha         5.0000        3.8439        .46267    ** at limit **
   3  Normalizat    1.0276        .53646E-01    .64833E-01   -.16575E-04
   4  Prefactor     .88992        .35166E-01    .44876E-01   -.36686E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0101884
  alpha      = 5
  Normalizat = 1.02757
  Prefactor  = 0.889918
 **********
 **   18 **HESSE 
 **********

 FCN=   6444.257     FROM HESSE     STATUS=OK            35 CALLS      313 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10188E-01    .22932E-01    .15029E-04   -1.5688    
   2  alpha         5.0000        4.4222        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0276        .23052        .28678E-03   -.92112    
   4  Prefactor     .88992        .15301        .20732E-03   -.96494    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.05904e-11
Minuit parameter uncertainties:
  1  0.0229315
  2  5.80992e-05
  3  0.230749
  4  0.153079
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/11826': 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) = 6444.2569958
delta logL = 0.144919595964

Extracting fit parameters...

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  1.019e-02  2.293e-02  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  5.000e+00  5.810e-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:  8.899e-01  1.531e-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.028e+00  2.307e-01  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/11826/cmap_HighResolution_423360001_423619201_4FGL_J0754.7+4823_daily_bin710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.11e-05', job_status='DONE', photon_flux_upper_limit='4.90e-08', time_completed='2021-08-28 20:00:47.453522', job_id='11826', GAL2='0.89', fit_tolerance='1e-08', EG2='1.03', EG='1.06', time_epoch_completed='1630206047.45', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.45e-01', ts2='0.31', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='710' AND source_name='4FGL J0754.7+4823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 20:00:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 11826: <4FGL_J0754.7+4823_daily_bin710> in cluster <slac> Done

Job <4FGL_J0754.7+4823_daily_bin710> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Aug 28 19:45:32 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 19:45:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 19:45:34 2021
Terminated at Sat Aug 28 20:00:48 2021
Results reported at Sat Aug 28 20:00:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0754.7+4823_daily_bin710 118.693 48.3932 423360001 423619201 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 :                                   886.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             331.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   913 sec.
    Turnaround time :                            916 sec.

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

