/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 167 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 = 7393
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1451.4+6355_daily_bin75
RA = 222.855, Dec = 63.9172
tmin = 258768001, tmax = 259027201
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='817534', job_status='RUN', time_executed='2021-09-10 11:14:04.750059', time_epoch_executed='1631297644.75' WHERE source_name='4FGL J1451.4+6355' and cadence='daily' and bin_id='75'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/817534

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/817534/ft1_4FGL_J1451.4+6355_daily_bin75.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/817534/ft2_4FGL_J1451.4+6355_daily_bin75.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/817534/ft1_4FGL_J1451.4+6355_daily_bin75.fits outfile=/scratch/kocevski/817534/ft1_filteredMKT_4FGL_J1451.4+6355_daily_bin75.fits ra=222.855 dec=63.9172 rad=12.0 tmin=258768001.0 tmax=259027201.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 1.11
user 0.94
sys 0.15

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/817534/ft2_4FGL_J1451.4+6355_daily_bin75.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/817534/ft2_4FGL_J1451.4+6355_daily_bin75.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/817534/ft1_filteredMKT_4FGL_J1451.4+6355_daily_bin75.fits evtable="EVENTS" outfile="/scratch/kocevski/817534/ft1_filtered_4FGL_J1451.4+6355_daily_bin75.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.48
user 0.31
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/817534/ft1_filtered_4FGL_J1451.4+6355_daily_bin75.fits" evtable="EVENTS" scfile=/scratch/kocevski/817534/ft2_4FGL_J1451.4+6355_daily_bin75.fits sctable="SC_DATA" outfile=/scratch/kocevski/817534/ltcube_258768001_259027201_4FGL_J1451.4+6355_daily_bin75.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/817534/ft2_4FGL_J1451.4+6355_daily_bin75.fits
.....................!
real 8.73
user 8.39
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/817534/ft1_filtered_4FGL_J1451.4+6355_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/817534/ft2_4FGL_J1451.4+6355_daily_bin75.fits sctable="SC_DATA" expcube=/scratch/kocevski/817534/ltcube_258768001_259027201_4FGL_J1451.4+6355_daily_bin75.fits outfile=/scratch/kocevski/817534/expmap_258768001_259027201_4FGL_J1451.4+6355_daily_bin75.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/817534/ltcube_258768001_259027201_4FGL_J1451.4+6355_daily_bin75.fits
.....................!
real 192.58
user 186.35
sys 4.79

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 219 point sources and 0 extended sources

Setting source of interest to:
4FGL J1451.4+6355 @ 222.855 63.9172

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/817534/ft1_filtered_4FGL_J1451.4+6355_daily_bin75.fits scfile=/scratch/kocevski/817534/ft2_4FGL_J1451.4+6355_daily_bin75.fits outfile=/scratch/kocevski/817534/cmap_258768001_259027201_4FGL_J1451.4+6355_daily_bin75.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=222.855 yref=63.9172 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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/817534/ft1_filtered_4FGL_J1451.4+6355_daily_bin75.fits scfile=/scratch/kocevski/817534/ft2_4FGL_J1451.4+6355_daily_bin75.fits outfile=/scratch/kocevski/817534/cmap_HighResolution_258768001_259027201_4FGL_J1451.4+6355_daily_bin75.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=222.855 yref=63.9172 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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/817534/ft1_filtered_4FGL_J1451.4+6355_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/817534/ft2_4FGL_J1451.4+6355_daily_bin75.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/817534/Model_4FGL_J1451.4+6355_daily_bin75.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/817534/ft1_filtered_4FGL_J1451.4+6355_daily_bin75.fits.....................!
real 41.60
user 38.57
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/817534/ft1_filtered_4FGL_J1451.4+6355_daily_bin75.fits', '/scratch/kocevski/817534/ft2_4FGL_J1451.4+6355_daily_bin75.fits', expMap='/scratch/kocevski/817534/expmap_258768001_259027201_4FGL_J1451.4+6355_daily_bin75.fits', expCube='/scratch/kocevski/817534/ltcube_258768001_259027201_4FGL_J1451.4+6355_daily_bin75.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/817534/Model_4FGL_J1451.4+6355_daily_bin75.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1451.4+6355'

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  1.733e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
350        Index:  1.822e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
351        Scale:  3.982e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/817534/ft1_filtered_4FGL_J1451.4+6355_daily_bin75.fits
Spacecraft file(s): /scratch/kocevski/817534/ft2_4FGL_J1451.4+6355_daily_bin75.fits
Exposure map: /scratch/kocevski/817534/expmap_258768001_259027201_4FGL_J1451.4+6355_daily_bin75.fits
Exposure cube: /scratch/kocevski/817534/ltcube_258768001_259027201_4FGL_J1451.4+6355_daily_bin75.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/817534/Model_4FGL_J1451.4+6355_daily_bin75.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) = 4126.31651912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.060       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    32.742       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .27434       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .59320       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    29.848       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.8168       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    15.126       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    26.904       1.0000         .10000E-03   10000.    
    26 'norm      '    10.070       1.0000         .10000E-03   10000.    
    27 'Prefactor '    8.7085       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .50276       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.4615       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4126.302     FROM MIGRAD    STATUS=CONVERGED    749 CALLS     3853 TOTAL
                     EDM=   .93E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    65.095        .22607E-06** at limit **
   2  Prefactor     .10000E-03    14.494        .44887E-07** at limit **
   3  Prefactor     11.062        6.9657        .95367E-07   -.29451E-04
   4  Prefactor     .10000E-03    11.352        .97179E-07** at limit **
   5  Prefactor     .10000E-03    27.525       -.47159E-09** at limit **
   6  Prefactor     .10000E-03    16.120        .16622E-07** at limit **
   7  Prefactor     .10000E-03    6.6909        .12418E-06** at limit **
   8  norm          .10000E-03    36.616       -.16692E-08** at limit **
   9  norm          .10000E-03    1.1967       -.54384E-08** at limit **
  10  Prefactor     32.699        40.629       -.13409E-06   -.52448E-05
  11  Prefactor     .10020E-03    8963.2       -.34671E-03** at limit **
  12  Prefactor     .59328        2.6501        .13461E-05    .22830E-03
  13  Prefactor     .10000E-03    8.0892       -.77679E-08** at limit **
  14  Prefactor     .10000E-03    51.243        .68647E-07** at limit **
  15  Prefactor     29.850        36.071       -.62025E-06   -.74524E-04
  16  Prefactor     .10000E-03    11.402        .32056E-08** at limit **
  17  Prefactor     .10000E-03    10.381        .42613E-07** at limit **
  18  Prefactor     8.8175        38.689        .37205E-05   -.21708E-05
  19  Prefactor     .10000E-03    4.3097        .87173E-07** at limit **
  20  Prefactor     .10000E-03    1.8530        .40077E-07** at limit **
  21  Prefactor     .10000E-03    26.889        .62029E-06** at limit **
  22  Prefactor     .10000E-03    22.340        .13097E-06** at limit **
  23  norm          15.125        5.3614        .33067E-06   -.12569E-04
  24  Prefactor     .10000E-03    112.68        .10511E-05** at limit **
  25  Prefactor     26.901        19.212        .17435E-06    .17758E-05
  26  norm          10.068        15.946        .10463E-05    .12542E-04
  27  Prefactor     8.7991        83.012        .10388E-05    .16974E-05
  28  Prefactor     .10000E-03    53.922        .22965E-06** at limit **
  29  Normalizat    .50273        .20940       -.43038E-05   -.45844E-04
  30  Prefactor     1.4615        .22608       -.17201E-05   -.63146E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.0621
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 32.6987
  Prefactor  = 0.000100199
  Prefactor  = 0.593282
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.8496
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.81749
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 15.1249
  Prefactor  = 0.0001
  Prefactor  = 26.9006
  norm       = 10.0678
  Prefactor  = 8.79912
  Prefactor  = 0.0001
  Normalizat = 0.502732
  Prefactor  = 1.46149
 **********
 **   18 **HESSE 
 **********

 FCN=   4126.302     FROM HESSE     STATUS=OK           580 CALLS     4433 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    65.155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    14.497        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.062        6.9686        .12047E-03   -1.5043    
   4  Prefactor     .10000E-03    11.383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    27.574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    16.203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.7192        .16229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    36.616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.1990        .68624E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     32.699        40.631        .70028E-04   -1.4564    
  11  Prefactor     .10020E-03    8858.6        .20624E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .59328        2.3514        .17415E-03   -1.5554    
  13  Prefactor     .10000E-03    8.0930        .17843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    51.261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     29.850        34.373        .73336E-04   -1.4615    
  16  Prefactor     .10000E-03    11.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.8175        38.654        .13499E-03   -1.5114    
  19  Prefactor     .10000E-03    4.3340        .13025E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.8545        .85400E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    27.146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    22.359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          15.125        5.3594        .84748E-04   -1.4930    
  24  Prefactor     .10000E-03    112.92        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     26.901        19.218        .77235E-04   -1.4670    
  26  norm          10.068        15.906        .12627E-03   -1.5073    
  27  Prefactor     8.7991        81.644        .13583E-03   -1.5115    
  28  Prefactor     .10000E-03    54.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .50273        .24441        .30917E-03   -1.1229    
  30  Prefactor     1.4615        .26639        .21448E-03   -.78624    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61153e-10
Minuit parameter uncertainties:
  1  0.000113713
  2  1.51563e-05
  3  6.96913
  4  3.39662e-05
  5  6.25121e-05
  6  9.33134e-05
  7  2.66493e-05
  8  4.07219e-07
  9  1.87506e-06
  10  40.6655
  11  0.0957751
  12  2.35175
  13  8.2479e-06
  14  3.06777e-05
  15  34.3958
  16  5.7717e-06
  17  2.31876e-05
  18  36.9632
  19  1.2677e-05
  20  4.05319e-06
  21  0.00020992
  22  3.53188e-05
  23  5.35962
  24  0.000273114
  25  19.2223
  26  15.9132
  27  53.7025
  28  9.70142e-05
  29  0.244936
  30  0.266646
Done.

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

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  1.000e-04  2.319e-05  1.000e-04  1.000e+04 ( 1.000e-14)
350        Index:  1.822e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
351        Scale:  3.982e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  1.461e+00  2.666e-01  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  5.027e-01  2.449e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 222.855 63.917
Photon Flux Upper Limit: 4.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.58e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/817534/likelihoodResults_258768001_259027201_4FGL_J1451.4+6355_daily_bin75.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) = 4126.30244511
delta logL = -0.000455269494523

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4126.30198989
delta logL = -4.54183464171e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10188E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8046       1.0000          .0000       10.000    
     3 'Normalizat'    .50269       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4615       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4126.302     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      251 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10329E-03    1.0478        .18142E-01** at limit **
   2  Index         1.6439        7.6393        .50000        .77766E-05
   3  Normalizat    .50273        .14316E-02    .30917E-03   -.34161E-04
   4  Prefactor     1.4615        .16251E-02    .21448E-03   -.22263E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010329
  Index      = 1.64393
  Normalizat = 0.502731
  Prefactor  = 1.46149
 **********
 **   18 **HESSE 
 **********

 FCN=   4126.302     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      280 TOTAL
                     EDM=   .66E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10329E-03    122.07        .21321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6439        7.9877        .50000       -.73585    
   3  Normalizat    .50273        .15638E-01    .12367E-04   -1.1229    
   4  Prefactor     1.4615        .17750E-01    .85791E-05   -.78624    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.58675e-08
Minuit parameter uncertainties:
  1  0.0401596
  2  709.584
  3  0.0156383
  4  0.0177502
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/817534': 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): 102
logL (Free Index) = 4126.30198949
delta logL = 3.46970409737e-07

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  1.033e-04  4.016e-02  1.000e-04  1.000e+04 ( 1.000e-14)
350        Index:  1.644e+00  7.096e+02  0.000e+00  1.000e+01 (-1.000e+00)
351        Scale:  3.982e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  1.461e+00  1.775e-02  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  5.027e-01  1.564e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 222.855 63.917

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/817534/cmap_HighResolution_258768001_259027201_4FGL_J1451.4+6355_daily_bin75.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.58e-03', job_status='DONE', photon_flux_upper_limit='4.85e-08', time_completed='2021-09-10 11:26:13.293785', job_id='817534', GAL2='1.46', fit_tolerance='1e-08', EG2='0.50', EG='0.50', time_epoch_completed='1631298373.29', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.46', dlogl='3.47e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='75' AND source_name='4FGL J1451.4+6355' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:26:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 817534: <4FGL_J1451.4+6355_daily_bin75> in cluster <slac> Done

Job <4FGL_J1451.4+6355_daily_bin75> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 11:11:06 2021
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 11:11:08 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 11:11:08 2021
Terminated at Fri Sep 10 11:26:14 2021
Results reported at Fri Sep 10 11:26:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1451.4+6355_daily_bin75 222.855 63.9172 258768001 259027201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1451.4+6355 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   726.49 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             300.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   905 sec.
    Turnaround time :                            908 sec.

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

