/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 16 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 = 7646
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1254.5+2210_daily_bin1183
RA = 193.637, Dec = 22.1808
tmin = 545961601, tmax = 546220801
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='991429', job_status='RUN', time_executed='2021-09-06 09:17:03.654824', time_epoch_executed='1630945023.65' WHERE source_name='4FGL J1254.5+2210' and cadence='daily' and bin_id='1183'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/991429

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/991429/ft1_4FGL_J1254.5+2210_daily_bin1183.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/991429/ft2_4FGL_J1254.5+2210_daily_bin1183.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/991429/ft1_4FGL_J1254.5+2210_daily_bin1183.fits outfile=/scratch/kocevski/991429/ft1_filteredMKT_4FGL_J1254.5+2210_daily_bin1183.fits ra=193.637 dec=22.1808 rad=12.0 tmin=545961601.0 tmax=546220801.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.04
user 3.83
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/991429/ft2_4FGL_J1254.5+2210_daily_bin1183.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/991429/ft2_4FGL_J1254.5+2210_daily_bin1183.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/991429/ft1_filteredMKT_4FGL_J1254.5+2210_daily_bin1183.fits evtable="EVENTS" outfile="/scratch/kocevski/991429/ft1_filtered_4FGL_J1254.5+2210_daily_bin1183.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.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/991429/ft1_filtered_4FGL_J1254.5+2210_daily_bin1183.fits" evtable="EVENTS" scfile=/scratch/kocevski/991429/ft2_4FGL_J1254.5+2210_daily_bin1183.fits sctable="SC_DATA" outfile=/scratch/kocevski/991429/ltcube_545961601_546220801_4FGL_J1254.5+2210_daily_bin1183.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/991429/ft2_4FGL_J1254.5+2210_daily_bin1183.fits
.....................!
real 11.84
user 11.44
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/991429/ft1_filtered_4FGL_J1254.5+2210_daily_bin1183.fits evtable="EVENTS" scfile=/scratch/kocevski/991429/ft2_4FGL_J1254.5+2210_daily_bin1183.fits sctable="SC_DATA" expcube=/scratch/kocevski/991429/ltcube_545961601_546220801_4FGL_J1254.5+2210_daily_bin1183.fits outfile=/scratch/kocevski/991429/expmap_545961601_546220801_4FGL_J1254.5+2210_daily_bin1183.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/991429/ltcube_545961601_546220801_4FGL_J1254.5+2210_daily_bin1183.fits
.....................!
real 191.23
user 186.09
sys 4.58

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

Setting source of interest to:
4FGL J1254.5+2210 @ 193.637 22.1808

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/991429/ft1_filtered_4FGL_J1254.5+2210_daily_bin1183.fits scfile=/scratch/kocevski/991429/ft2_4FGL_J1254.5+2210_daily_bin1183.fits outfile=/scratch/kocevski/991429/cmap_545961601_546220801_4FGL_J1254.5+2210_daily_bin1183.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=193.637 yref=22.1808 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/991429/ft1_filtered_4FGL_J1254.5+2210_daily_bin1183.fits scfile=/scratch/kocevski/991429/ft2_4FGL_J1254.5+2210_daily_bin1183.fits outfile=/scratch/kocevski/991429/cmap_HighResolution_545961601_546220801_4FGL_J1254.5+2210_daily_bin1183.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=193.637 yref=22.1808 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/991429/ft1_filtered_4FGL_J1254.5+2210_daily_bin1183.fits evtable="EVENTS" scfile=/scratch/kocevski/991429/ft2_4FGL_J1254.5+2210_daily_bin1183.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/991429/Model_4FGL_J1254.5+2210_daily_bin1183.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/991429/ft1_filtered_4FGL_J1254.5+2210_daily_bin1183.fits.....................!
real 47.73
user 46.05
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/991429/ft1_filtered_4FGL_J1254.5+2210_daily_bin1183.fits', '/scratch/kocevski/991429/ft2_4FGL_J1254.5+2210_daily_bin1183.fits', expMap='/scratch/kocevski/991429/expmap_545961601_546220801_4FGL_J1254.5+2210_daily_bin1183.fits', expCube='/scratch/kocevski/991429/ltcube_545961601_546220801_4FGL_J1254.5+2210_daily_bin1183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/991429/Model_4FGL_J1254.5+2210_daily_bin1183.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1254.5+2210'

4FGL J1254.5+2210
   Spectrum: PowerLaw
301    Prefactor:  1.787e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
302        Index:  2.089e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  1.816e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/991429/ft1_filtered_4FGL_J1254.5+2210_daily_bin1183.fits
Spacecraft file(s): /scratch/kocevski/991429/ft2_4FGL_J1254.5+2210_daily_bin1183.fits
Exposure map: /scratch/kocevski/991429/expmap_545961601_546220801_4FGL_J1254.5+2210_daily_bin1183.fits
Exposure cube: /scratch/kocevski/991429/ltcube_545961601_546220801_4FGL_J1254.5+2210_daily_bin1183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/991429/Model_4FGL_J1254.5+2210_daily_bin1183.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) = 5082.05654453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8965       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.9100       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.4345       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.5960       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.3615       1.0000         .10000E-03   10000.    
     7 'norm      '    .77156       1.0000         .10000E-03   10000.    
     8 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.3060       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    25.794       1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.470       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.9734       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.3976       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.1668       1.0000         .10000E-03   10000.    
    20 'norm      '    .20414E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.3426       1.0000         .10000E-03   10000.    
    22 'norm      '    3.2857       1.0000         .10000E-03   10000.    
    23 'norm      '    .10307E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    48.922       1.0000         .10000E-03   10000.    
    25 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    36.235       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .92307       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0474       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5670E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5082.041     FROM MIGRAD    STATUS=CONVERGED    697 CALLS     3746 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8965        3.2820        .20553E-06    .25997E-03
   2  Prefactor     .10000E-03    1.0981        .13332E-06** at limit **
   3  norm          3.9100        3.9296       -.61333E-06   -.34682E-04
   4  Prefactor     4.4342        3.7399       -.57439E-06   -.23554E-04
   5  Prefactor     3.5930        3.8230        .30247E-05   -.90115E-03
   6  Prefactor     1.3617        6.2602        .81109E-06   -.13404E-03
   7  norm          .77159        .33525       -.30355E-07   -.35278E-03
   8  norm          .10000E-03    2.4978       -.11655E-06** at limit **
   9  Prefactor     5.3062        6.5467        .90027E-07   -.13384E-04
  10  Prefactor     .10000E-03    25.323       -.96627E-06** at limit **
  11  Prefactor     25.793        23.706       -.14983E-06   -.22691E-04
  12  Prefactor     28.419        79.773       -.10429E-04   -.10725E-03
  13  Prefactor     .10000E-03    15.481        .15450E-05** at limit **
  14  Prefactor     .10000E-03    8.1095        .10765E-05** at limit **
  15  Prefactor     8.9724        10.655        .74041E-07   -.37247E-04
  16  norm          .10004E-03    5.9090       -.47081E-06** at limit **
  17  Prefactor     2.3984        8.2835        .80020E-06   -.34657E-04
  18  Prefactor     .10000E-03    26.317       -.29489E-06** at limit **
  19  norm          5.1666        6.3954        .44595E-06    .10739E-03
  20  norm          .10001E-03    6.3158       -.26230E-05** at limit **
  21  norm          1.3490        15.395        .34097E-05    .39830E-03
  22  norm          3.2558        65.598       -.12002E-04   -.11782E-03
  23  norm          .10000E-03    6.8862       -.15149E-05** at limit **
  24  Prefactor     48.913        47.336       -.97596E-06   -.63868E-04
  25  norm          .10000E-03    4.3807       -.13190E-06** at limit **
  26  Prefactor     .10000E-03    12.397       -.76266E-06** at limit **
  27  Prefactor     36.237        33.828        .29493E-06    .38316E-04
  28  Normalizat    .92300        .21642       -.30554E-06    .10643E-03
  29  Prefactor     1.0475        .20005       -.18371E-06    .11487E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.89649
  Prefactor  = 0.0001
  norm       = 3.91004
  Prefactor  = 4.43415
  Prefactor  = 3.59304
  Prefactor  = 1.3617
  norm       = 0.771587
  norm       = 0.0001
  Prefactor  = 5.30622
  Prefactor  = 0.000100001
  Prefactor  = 25.7929
  Prefactor  = 28.419
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.97235
  norm       = 0.000100037
  Prefactor  = 2.39844
  Prefactor  = 0.0001
  norm       = 5.16664
  norm       = 0.000100011
  norm       = 1.349
  norm       = 3.25576
  norm       = 0.0001
  Prefactor  = 48.9128
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.2367
  Normalizat = 0.922999
  Prefactor  = 1.04746
 **********
 **   18 **HESSE 
 **********

 FCN=   5082.041     FROM HESSE     STATUS=OK           557 CALLS     4303 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8965        3.2771        .91870E-04   -1.5222    
   2  Prefactor     .10000E-03    1.1105        .72877E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.9100        3.9362        .13268E-03   -1.5312    
   4  Prefactor     4.4342        3.7413        .11757E-03   -1.5287    
   5  Prefactor     3.5930        3.9005        .66444E-03   -1.5329    
   6  Prefactor     1.3617        6.1695        .33893E-03   -1.5475    
   7  norm          .77159        .33309        .24946E-04   -1.5532    
   8  norm          .10000E-03    2.5081        .10997E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.3062        6.5356        .17448E-03   -1.5247    
  10  Prefactor     .10000E-03    25.830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     25.793        23.705        .78875E-04   -1.4692    
  12  Prefactor     28.419        81.168        .75085E-04   -1.4641    
  13  Prefactor     .10000E-03    15.530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.2166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.9724        10.650        .13380E-03   -1.5109    
  16  norm          .10004E-03    26.158        .33040E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.3984        8.2435        .26446E-03   -1.5398    
  18  Prefactor     .10000E-03    26.321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.1666        6.3824        .17686E-03   -1.5253    
  20  norm          .10001E-03    12.296        .30450E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.3490        12.536        .37814E-03   -1.5476    
  22  norm          3.2558        69.426        .22338E-03   -1.5347    
  23  norm          .10000E-03    6.9541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     48.913        47.630        .57332E-04   -1.4308    
  25  norm          .10000E-03    4.3991        .14569E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    12.415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     36.237        33.840        .66577E-04   -1.4503    
  28  Normalizat    .92300        .24628        .27483E-03   -.95657    
  29  Prefactor     1.0475        .22839        .24907E-03   -.91164    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.27191e-09
Minuit parameter uncertainties:
  1  3.27725
  2  2.38299e-06
  3  3.93643
  4  3.74147
  5  3.90081
  6  5.79769
  7  0.333094
  8  1.34669e-05
  9  6.53652
  10  0.000300281
  11  23.7139
  12  81.4855
  13  0.000159535
  14  5.22839e-05
  15  10.6519
  16  0.00198134
  17  8.24745
  18  1.64489e-05
  19  6.38328
  20  0.000719479
  21  8.22656
  22  30.1083
  23  8.44543e-05
  24  47.6672
  25  1.72694e-05
  26  7.09279e-05
  27  33.8575
  28  0.246578
  29  0.228605
Done.

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

Extracting fit parameters...

4FGL J1254.5+2210
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  5.228e-05  1.000e-04  1.000e+04 ( 1.000e-13)
302        Index:  2.089e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  1.816e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
564    Prefactor:  1.047e+00  2.286e-01  0.000e+00  1.000e+01 ( 1.000e+00)
565        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
566        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
563   Normalization:  9.230e-01  2.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 193.637 22.181
Photon Flux Upper Limit: 7.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.03e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/991429/likelihoodResults_545961601_546220801_4FGL_J1254.5+2210_daily_bin1183.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) = 5082.04150175
delta logL = -0.000580259417802

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5082.04092125
delta logL = 2.4225028028e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5082.041     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      203 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    130.60        .90712E-02** at limit **
   2  Index         2.1545        8.8440        .50000       -.36740E-04
   3  Normalizat    .92300        .20216        .45195E-01   -.45056E-05
   4  Prefactor     1.0475        .19431        .40061E-01    .11786E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.15452
  Normalizat = 0.922997
  Prefactor  = 1.04746
 **********
 **   18 **HESSE 
 **********

 FCN=   5082.041     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      236 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    239.64        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1545        7.5987        .50000       -.60541    
   3  Normalizat    .92300        .27075E-01    .27483E-03   -.95657    
   4  Prefactor     1.0475        .26113E-01    .24907E-03   -.91164    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.25428e-08
Minuit parameter uncertainties:
  1  0.000184552
  2  21.33
  3  0.0270756
  4  0.0261132
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/991429': 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) = 5082.04092095
delta logL = 5.34221726411e-07

Extracting fit parameters...

4FGL J1254.5+2210
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  1.846e-04  1.000e-04  1.000e+04 ( 1.000e-13)
302        Index:  2.155e+00  2.133e+01  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  1.816e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
564    Prefactor:  1.047e+00  2.611e-02  0.000e+00  1.000e+01 ( 1.000e+00)
565        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
566        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
563   Normalization:  9.230e-01  2.708e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 193.637 22.181

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/991429/cmap_HighResolution_545961601_546220801_4FGL_J1254.5+2210_daily_bin1183.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.03e-03', job_status='DONE', photon_flux_upper_limit='7.98e-08', time_completed='2021-09-06 09:29:31.252947', job_id='991429', GAL2='1.05', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1630945771.25', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='5.34e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1183' AND source_name='4FGL J1254.5+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 09:29:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 991429: <4FGL_J1254.5+2210_daily_bin1183> in cluster <slac> Done

Job <4FGL_J1254.5+2210_daily_bin1183> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Sep  6 09:15:50 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 09:15:52 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep  6 09:15:52 2021
Terminated at Mon Sep  6 09:29:31 2021
Results reported at Mon Sep  6 09:29:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.5+2210_daily_bin1183 193.637 22.1808 545961601 546220801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1254.5+2210 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   699.03 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             273.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   819 sec.
    Turnaround time :                            821 sec.

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

