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


Performing analysis on: 4FGL_J0754.7+4823_daily_bin1512
RA = 118.693, Dec = 48.3932
tmin = 631238401, tmax = 631497601
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='19667', job_status='RUN', time_executed='2021-08-28 20:12:57.684603', time_epoch_executed='1630206777.68' WHERE source_name='4FGL J0754.7+4823' and cadence='daily' and bin_id='1512'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/19667

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/19667/ft1_4FGL_J0754.7+4823_daily_bin1512.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/19667/ft2_4FGL_J0754.7+4823_daily_bin1512.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/19667/ft1_4FGL_J0754.7+4823_daily_bin1512.fits outfile=/scratch/kocevski/19667/ft1_filteredMKT_4FGL_J0754.7+4823_daily_bin1512.fits ra=118.693 dec=48.3932 rad=12.0 tmin=631238401.0 tmax=631497601.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.35
user 2.50
sys 1.73

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/19667/ft1_filtered_4FGL_J0754.7+4823_daily_bin1512.fits" evtable="EVENTS" scfile=/scratch/kocevski/19667/ft2_4FGL_J0754.7+4823_daily_bin1512.fits sctable="SC_DATA" outfile=/scratch/kocevski/19667/ltcube_631238401_631497601_4FGL_J0754.7+4823_daily_bin1512.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/19667/ft2_4FGL_J0754.7+4823_daily_bin1512.fits
.....................!
real 14.49
user 12.39
sys 2.06

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/19667/ft1_filtered_4FGL_J0754.7+4823_daily_bin1512.fits evtable="EVENTS" scfile=/scratch/kocevski/19667/ft2_4FGL_J0754.7+4823_daily_bin1512.fits sctable="SC_DATA" expcube=/scratch/kocevski/19667/ltcube_631238401_631497601_4FGL_J0754.7+4823_daily_bin1512.fits outfile=/scratch/kocevski/19667/expmap_631238401_631497601_4FGL_J0754.7+4823_daily_bin1512.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/19667/ltcube_631238401_631497601_4FGL_J0754.7+4823_daily_bin1512.fits
.....................!
real 192.70
user 185.62
sys 6.18

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/19667/ft1_filtered_4FGL_J0754.7+4823_daily_bin1512.fits scfile=/scratch/kocevski/19667/ft2_4FGL_J0754.7+4823_daily_bin1512.fits outfile=/scratch/kocevski/19667/cmap_631238401_631497601_4FGL_J0754.7+4823_daily_bin1512.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 2.06
user 0.37
sys 1.67

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/19667/ft1_filtered_4FGL_J0754.7+4823_daily_bin1512.fits scfile=/scratch/kocevski/19667/ft2_4FGL_J0754.7+4823_daily_bin1512.fits outfile=/scratch/kocevski/19667/cmap_HighResolution_631238401_631497601_4FGL_J0754.7+4823_daily_bin1512.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 2.04
user 0.38
sys 1.65

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/19667/ft1_filtered_4FGL_J0754.7+4823_daily_bin1512.fits evtable="EVENTS" scfile=/scratch/kocevski/19667/ft2_4FGL_J0754.7+4823_daily_bin1512.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/19667/Model_4FGL_J0754.7+4823_daily_bin1512.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/19667/ft1_filtered_4FGL_J0754.7+4823_daily_bin1512.fits.......................!
real 24.34
user 20.76
sys 3.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .28984E-01   1.0000         .10000E-03   10000.    
     2 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     3 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     4 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10604E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.8105       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10859E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .11087E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.1006       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10844E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.1292       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10514E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.9600       1.0000         .10000E-03   10000.    
    22 'norm      '    .10164E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    24.486       1.0000         .10000E-03   10000.    
    24 'Prefactor '    16.791       1.0000         .10000E-03   10000.    
    25 'Prefactor '    12.683       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10272E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    11.570       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    .10057E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    32.023       1.0000         .10000E-03   10000.    
    32 'Prefactor '    6.0940       1.0000         .10000E-03   10000.    
    33 'Prefactor '    40.175       1.0000         .10000E-03   10000.    
    34 'Prefactor '    64.499       1.0000         .10000E-03   10000.    
    35 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    36 'Prefactor '    1.0102       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=   1094.522     FROM MIGRAD    STATUS=CONVERGED    994 CALLS     6258 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10028E-03    7794.0       -.19402E-04** at limit **
   2  norm         10000.0        1079.7        .10586E-05** at limit **
   3  Prefactor    10000.0        9438.9        .23373E-05** at limit **
   4  norm          .10000E-03    219.02       -.63017E-06** at limit **
   5  Prefactor     .10000E-03    181.92       -.36951E-06** at limit **
   6  Prefactor     .10000E-03    146.46       -.11652E-06** at limit **
   7  Prefactor     .10000E-03    33.872       -.91482E-06** at limit **
   8  norm          .10000E-03    179.88       -.10226E-06** at limit **
   9  Prefactor     2.7285        237.55        .18337E-05    .37010E-05
  10  Prefactor     .10000E-03    56.347       -.15683E-06** at limit **
  11  norm          .29971E-01    3.8957        .20553E-05   -.13673E-02
  12  Prefactor     .10000E-03    13.087       -.65083E-07** at limit **
  13  Prefactor     .10000E-03    37.155       -.41018E-07** at limit **
  14  norm          5.1054        6.8226       -.75543E-07    .16879E-04
  15  Prefactor     .10000E-03    14.171       -.90581E-07** at limit **
  16  Prefactor     .10000E-03    62.211       -.13486E-06** at limit **
  17  Prefactor     4.1524        74.898       -.10987E-05    .13930E-04
  18  Prefactor     .10000E-03    10.469       -.91971E-06** at limit **
  19  norm          .10000E-03    2.7527       -.49287E-07** at limit **
  20  norm          .10000E-03    1.6161        .41483E-07** at limit **
  21  Prefactor     7.9839        20.097        .53812E-06    .11297E-03
  22  norm          .10000E-03    .77952       -.98444E-06** at limit **
  23  Prefactor     24.427        71.321       -.15971E-05    .74659E-04
  24  Prefactor     16.805        12.439       -.21391E-06    .11068E-03
  25  Prefactor     12.722        19.594        .88499E-06    .29835E-03
  26  Prefactor     .10000E-03    42.756       -.49573E-06** at limit **
  27  Prefactor     11.624        30.207        .12911E-06    .11548E-03
  28  Prefactor     .10000E-03    18.749        .86730E-06** at limit **
  29  norm          .10000E-03    8.3441        .12406E-05** at limit **
  30  norm          .10000E-03    10.451        .24632E-05** at limit **
  31  Prefactor     32.051        25.239       -.10857E-06    .73884E-04
  32  Prefactor     6.1013        6.6331        .96233E-07    .30097E-03
  33  Prefactor     40.220        51.662       -.58451E-06    .23170E-04
  34  Prefactor     64.555        191.10        .70123E-06    .25651E-04
  35  Normalizat    .10000E-01    .24224       -.10522E-04** at limit **
  36  Prefactor     1.0091        .22767        .10085E-05    .28462E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100277
  norm       = 10000
  Prefactor  = 10000
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.72849
  Prefactor  = 0.0001
  norm       = 0.0299708
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.10539
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.15245
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 7.98389
  norm       = 0.0001
  Prefactor  = 24.4269
  Prefactor  = 16.805
  Prefactor  = 12.7217
  Prefactor  = 0.0001
  Prefactor  = 11.6239
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 0.000100003
  Prefactor  = 32.0513
  Prefactor  = 6.10125
  Prefactor  = 40.2201
  Prefactor  = 64.5553
  Normalizat = 0.01
  Prefactor  = 1.00914
 **********
 **   18 **HESSE 
 **********

 FCN=   1094.522     FROM HESSE     STATUS=OK           801 CALLS     7059 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10028E-03    7799.5        .18334E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm         10000.0        1080.1        .19515E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor    10000.0        9439.2        .18172E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    219.05        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    181.92        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    146.47        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    33.885        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    179.88        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.7285        239.68        .24264E-03   -1.5378    
  10  Prefactor     .10000E-03    56.348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .29971E-01    12.037        .81223E-03   -1.5673    
  12  Prefactor     .10000E-03    13.087        .11693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    37.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.1054        6.8278        .96959E-04   -1.5256    
  15  Prefactor     .10000E-03    14.173        .12168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    62.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.1524        73.982        .19837E-03   -1.5300    
  18  Prefactor     .10000E-03    10.480        .10458E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.7562        .53612E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.6271        .41065E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.9839        20.065        .14212E-03   -1.5143    
  22  norm          .10000E-03    .78825        .28450E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     24.427        71.235        .80951E-04   -1.4719    
  24  Prefactor     16.805        12.407        .88529E-04   -1.4888    
  25  Prefactor     12.722        19.739        .11248E-03   -1.4994    
  26  Prefactor     .10000E-03    42.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     11.624        30.427        .11778E-03   -1.5026    
  28  Prefactor     .10000E-03    19.135        .27906E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .10000E-03    8.3438        .93097E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    10.484        .10404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     32.051        25.271        .70807E-04   -1.4575    
  32  Prefactor     6.1013        6.6134        .78560E-04   -1.5214    
  33  Prefactor     40.220        51.553        .63240E-04   -1.4439    
  34  Prefactor     64.555        191.11        .24985E-03   -1.4099    
  35  Normalizat    .10000E-01    .28857        .90694E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  36  Prefactor     1.0091        .23698        .17940E-03   -.92426    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.065e-08
Minuit parameter uncertainties:
  1  0.0890478
  2  0.00317506
  3  0.0283074
  4  0.000523921
  5  0.000208828
  6  2.69217e-05
  7  0.000221937
  8  4.29747e-05
  9  51.3578
  10  6.32201e-05
  11  1.19951
  12  1.00549e-05
  13  1.02849e-05
  14  6.82882
  15  1.15268e-05
  16  3.56618e-05
  17  35.1049
  18  0.000124883
  19  4.15224e-06
  20  1.83439e-06
  21  20.0816
  22  3.5988e-05
  23  71.485
  24  12.4089
  25  19.7491
  26  0.000146676
  27  30.4672
  28  0.000155531
  29  0.000150228
  30  0.000337264
  31  25.2795
  32  6.61418
  33  51.6099
  34  192.975
  35  9.2309e-06
  36  0.237221
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  1.009e+00  2.372e-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  9.231e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.19
Ra Dec: 118.693 48.393
Photon Index (Fixed Index): 1.98 +/- 0.00
Photon Flux (Fixed Index): 4.48e-08 +/- 5.99e-08
Energy Flux (Fixed Index): 2.84e-05 +/- 3.80e-05

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

Saving results to:
/scratch/kocevski/19667/likelihoodResults_631238401_631497601_4FGL_J0754.7+4823_daily_bin1512.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) = 1094.28000979
delta logL = 0.242029178508

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1094.27824871
delta logL = 0.243790260652

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.5114       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3500       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0105       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=   1094.278     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      206 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.5114        6.8046        .42786E-02   -.12989E-03
   2  alpha         1.3498        .74098        .26176        .12685E-06
   3  Normalizat    .10000E-01    .25128        .18354    ** at limit **
   4  Prefactor     1.0106        .18832        .43249E-01   -.21360E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.51143
  alpha      = 1.3498
  Normalizat = 0.01
  Prefactor  = 1.01065
 **********
 **   18 **HESSE 
 **********

 FCN=   1094.278     FROM HESSE     STATUS=OK            29 CALLS      235 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.5114        7.2008        .93395E-04   -1.5238    
   2  alpha         1.3498        .82371        .10979E-01   -.47808    
   3  Normalizat    .10000E-01    .29589        .91400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0106        .16746        .17912E-03   -.92376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99021e-10
Minuit parameter uncertainties:
  1  7.20191
  2  0.843895
  3  4.07103e-06
  4  0.167547
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/19667': 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) = 1094.2782485
delta logL = 0.243790474708

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  1.011e+00  1.675e-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  4.071e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.67
Ra Dec: 118.693 48.393
Photon Index (Free Index): 1.35 +/- 0.84
Photon Flux (Free Index): 2.79e-08 +/- 3.99e-08
Energy Flux (Free Index): 7.96e-05 +/- 1.58e-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/19667/cmap_HighResolution_631238401_631497601_4FGL_J0754.7+4823_daily_bin1512.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.57e-04', comment='SUCCESS', photon_flux='4.48e-08', energy_flux2='7.96e-05', photon_flux_error='5.99e-08', dlogl='2.44e-01', energy_flux='2.84e-05', photon_flux2='2.79e-08', job_status='DONE', time_completed='2021-08-28 20:21:40.332993', photon_index_error2='0.84', photon_index2='1.35', ts='1.19', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='2.47e-07', energy_flux_error2='1.58e-04', EG='0.01', time_epoch_completed='1630207300.33', return_code='0', job_id='19667', GAL2='1.01', EG2='0.01', return_code2='0', energy_flux_error='3.80e-05', photon_flux_error2='3.99e-08', ts2='1.67', photon_index='1.98' WHERE bin_id='1512' AND source_name='4FGL J0754.7+4823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 20:21:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 19667: <4FGL_J0754.7+4823_daily_bin1512> in cluster <slac> Done

Job <4FGL_J0754.7+4823_daily_bin1512> 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) <bullet0207>, 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:21:41 2021
Results reported at Sat Aug 28 20:21:41 2021

Your job looked like:

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

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

