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


Performing analysis on: 4FGL_J2254.8-2725_daily_bin1510
RA = 343.718, Dec = -27.4171
tmin = 630720001, tmax = 630979201
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='587876', job_status='RUN', time_executed='2021-09-29 02:30:57.128584', time_epoch_executed='1632907857.13' WHERE source_name='4FGL J2254.8-2725' and cadence='daily' and bin_id='1510'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/587876

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/587876/ft1_4FGL_J2254.8-2725_daily_bin1510.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/587876/ft2_4FGL_J2254.8-2725_daily_bin1510.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/587876/ft1_4FGL_J2254.8-2725_daily_bin1510.fits outfile=/scratch/kocevski/587876/ft1_filteredMKT_4FGL_J2254.8-2725_daily_bin1510.fits ra=343.718 dec=-27.4171 rad=12.0 tmin=630720001.0 tmax=630979201.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 2.97
user 2.75
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/587876/ft2_4FGL_J2254.8-2725_daily_bin1510.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/587876/ft2_4FGL_J2254.8-2725_daily_bin1510.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/587876/ft1_filteredMKT_4FGL_J2254.8-2725_daily_bin1510.fits evtable="EVENTS" outfile="/scratch/kocevski/587876/ft1_filtered_4FGL_J2254.8-2725_daily_bin1510.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.51
user 0.30
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/587876/ft1_filtered_4FGL_J2254.8-2725_daily_bin1510.fits" evtable="EVENTS" scfile=/scratch/kocevski/587876/ft2_4FGL_J2254.8-2725_daily_bin1510.fits sctable="SC_DATA" outfile=/scratch/kocevski/587876/ltcube_630720001_630979201_4FGL_J2254.8-2725_daily_bin1510.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/587876/ft2_4FGL_J2254.8-2725_daily_bin1510.fits
.....................!
real 12.13
user 11.76
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/587876/ft1_filtered_4FGL_J2254.8-2725_daily_bin1510.fits evtable="EVENTS" scfile=/scratch/kocevski/587876/ft2_4FGL_J2254.8-2725_daily_bin1510.fits sctable="SC_DATA" expcube=/scratch/kocevski/587876/ltcube_630720001_630979201_4FGL_J2254.8-2725_daily_bin1510.fits outfile=/scratch/kocevski/587876/expmap_630720001_630979201_4FGL_J2254.8-2725_daily_bin1510.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/587876/ltcube_630720001_630979201_4FGL_J2254.8-2725_daily_bin1510.fits
.....................!
real 191.80
user 185.88
sys 5.61

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

Setting source of interest to:
4FGL J2254.8-2725 @ 343.718 -27.4171

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/587876/ft1_filtered_4FGL_J2254.8-2725_daily_bin1510.fits scfile=/scratch/kocevski/587876/ft2_4FGL_J2254.8-2725_daily_bin1510.fits outfile=/scratch/kocevski/587876/cmap_630720001_630979201_4FGL_J2254.8-2725_daily_bin1510.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=343.718 yref=-27.4171 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/587876/ft1_filtered_4FGL_J2254.8-2725_daily_bin1510.fits scfile=/scratch/kocevski/587876/ft2_4FGL_J2254.8-2725_daily_bin1510.fits outfile=/scratch/kocevski/587876/cmap_HighResolution_630720001_630979201_4FGL_J2254.8-2725_daily_bin1510.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=343.718 yref=-27.4171 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/587876/ft1_filtered_4FGL_J2254.8-2725_daily_bin1510.fits evtable="EVENTS" scfile=/scratch/kocevski/587876/ft2_4FGL_J2254.8-2725_daily_bin1510.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/587876/Model_4FGL_J2254.8-2725_daily_bin1510.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/587876/ft1_filtered_4FGL_J2254.8-2725_daily_bin1510.fits.....................!
real 58.18
user 56.83
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/587876/ft1_filtered_4FGL_J2254.8-2725_daily_bin1510.fits', '/scratch/kocevski/587876/ft2_4FGL_J2254.8-2725_daily_bin1510.fits', expMap='/scratch/kocevski/587876/expmap_630720001_630979201_4FGL_J2254.8-2725_daily_bin1510.fits', expCube='/scratch/kocevski/587876/ltcube_630720001_630979201_4FGL_J2254.8-2725_daily_bin1510.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/587876/Model_4FGL_J2254.8-2725_daily_bin1510.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2254.8-2725'

4FGL J2254.8-2725
   Spectrum: PowerLaw
324    Prefactor:  1.706e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
325        Index:  2.012e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  4.538e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/587876/ft1_filtered_4FGL_J2254.8-2725_daily_bin1510.fits
Spacecraft file(s): /scratch/kocevski/587876/ft2_4FGL_J2254.8-2725_daily_bin1510.fits
Exposure map: /scratch/kocevski/587876/expmap_630720001_630979201_4FGL_J2254.8-2725_daily_bin1510.fits
Exposure cube: /scratch/kocevski/587876/ltcube_630720001_630979201_4FGL_J2254.8-2725_daily_bin1510.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/587876/Model_4FGL_J2254.8-2725_daily_bin1510.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) = 7882.34962403

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .19594E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    3.5459       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.265       1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.960       1.0000         .10000E-03   10000.    
     9 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.6091       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.812       1.0000         .10000E-03   10000.    
    12 'norm      '    .39750       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .14370E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.632       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    12.544       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.7129       1.0000         .10000E-03   10000.    
    18 'norm      '    1.8636       1.0000         .10000E-03   10000.    
    19 'Prefactor '    19.891       1.0000         .10000E-03   10000.    
    20 'Prefactor '    82.989       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4270       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .52913       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7882.347     FROM MIGRAD    STATUS=CONVERGED    476 CALLS     2386 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    33.190        .11153E-05** at limit **
   2  Prefactor     .10000E-03    2.1407       -.11065E-06** at limit **
   3  norm          .10000E-03    5.0385       -.29851E-07** at limit **
   4  Prefactor     .10000E-03    6.8735       -.98346E-07** at limit **
   5  Prefactor     .10000E-03    6.4863        .15351E-05** at limit **
   6  norm          3.5461        2.3125        .78010E-06   -.80986E-03
   7  Prefactor     15.244        43.892       -.13275E-04   -.11464E-03
   8  Prefactor     19.957        11.380        .15744E-06   -.45096E-04
   9  norm          .10000E-03    .99048       -.55104E-07** at limit **
  10  Prefactor     3.6084        8.7068        .13176E-04   -.91329E-04
  11  Prefactor     14.803        9.8068       -.43634E-05   -.49287E-03
  12  norm          .39822        .62048        .38474E-06   -.14777E-02
  13  Prefactor     .10000E-03    140.47       -.91238E-05** at limit **
  14  Prefactor     10.632        9.4207        .12409E-05   -.51735E-04
  15  Prefactor     .10000E-03    4.0228        .68427E-07** at limit **
  16  norm          12.544        6.8024       -.35144E-06    .21677E-04
  17  Prefactor     6.7115        37.239       -.72599E-05   -.85615E-05
  18  norm          1.8626        2.4700        .10860E-07   -.69495E-03
  19  Prefactor     19.894        25.714       -.33506E-05    .20469E-05
  20  Prefactor     82.991        67.403        .77000E-06    .85532E-05
  21  Normalizat    1.4271        .16442        .24826E-05   -.60053E-03
  22  Prefactor     .52901        .14683       -.18357E-05   -.80776E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 3.54613
  Prefactor  = 15.2442
  Prefactor  = 19.9574
  norm       = 0.0001
  Prefactor  = 3.60842
  Prefactor  = 14.8028
  norm       = 0.398219
  Prefactor  = 0.0001
  Prefactor  = 10.6324
  Prefactor  = 0.0001
  norm       = 12.544
  Prefactor  = 6.71154
  norm       = 1.86259
  Prefactor  = 19.8943
  Prefactor  = 82.9912
  Normalizat = 1.42711
  Prefactor  = 0.529006
 **********
 **   18 **HESSE 
 **********

 FCN=   7882.347     FROM HESSE     STATUS=OK           356 CALLS     2742 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    34.128        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.1510        .12685E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    5.0411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.8953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.724        .62619E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.5461        2.3491        .87989E-04   -1.5331    
   7  Prefactor     15.244        45.111        .10251E-03   -1.4927    
   8  Prefactor     19.957        11.453        .89650E-04   -1.4814    
   9  norm          .10000E-03    .99359        .86200E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.6084        8.5864        .21269E-03   -1.5328    
  11  Prefactor     14.803        9.4423        .10407E-03   -1.4938    
  12  norm          .39822        .56226        .60188E-03   -1.5582    
  13  Prefactor     .10000E-03    142.27        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.632        9.4146        .12288E-03   -1.5056    
  15  Prefactor     .10000E-03    4.0668        .17370E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          12.544        6.8012        .11310E-03   -1.4999    
  17  Prefactor     6.7115        37.407        .15487E-03   -1.5190    
  18  norm          1.8626        2.4335        .14713E-03   -1.5435    
  19  Prefactor     19.894        25.596        .89806E-04   -1.4816    
  20  Prefactor     82.991        67.516        .44093E-04   -1.3883    
  21  Normalizat    1.4271        .19743        .20902E-03   -.79848    
  22  Prefactor     .52901        .17322        .30846E-03   -1.1066    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03638e-09
Minuit parameter uncertainties:
  1  9.87961e-05
  2  2.22058e-06
  3  4.48129e-06
  4  4.84297e-06
  5  0.000281211
  6  2.34914
  7  45.2123
  8  11.4541
  9  6.37292e-06
  10  8.58937
  11  9.44325
  12  0.562267
  13  8.36439e-05
  14  9.4159
  15  2.42885e-05
  16  6.80165
  17  31.7199
  18  2.43362
  19  25.6104
  20  67.5785
  21  0.197531
  22  0.173392
Done.

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

Extracting fit parameters...

4FGL J2254.8-2725
   Spectrum: PowerLaw
324    Prefactor:  3.608e+00  8.589e+00  1.000e-04  1.000e+04 ( 1.000e-14)
325        Index:  2.012e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  4.538e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  5.290e-01  1.734e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  1.427e+00  1.975e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.29
Ra Dec: 343.718 -27.417
Photon Flux Upper Limit: 5.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/587876/likelihoodResults_630720001_630979201_4FGL_J2254.8-2725_daily_bin1510.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) = 7882.02898216
delta logL = 0.318190580834

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7881.99705884
delta logL = 0.350113903931

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7881.997     FROM MIGRAD    STATUS=FAILED        83 CALLS      290 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.1828        13.164        .13228E-03   -.22115E-02
   2  Index         1.2596        .79732        .13215E-01   -.62217E-03
   3  Normalizat    1.4308        .17800        .20879E-03    .64440E-03
   4  Prefactor     .52664        .16826        .30905E-03    .45324E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7881.997     FROM SIMPLEX   STATUS=UNCHANGED     71 CALLS      361 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.1828        13.164        .23597E-03   -1.5102    
   2  Index         1.2596        .79732        .10700E-02   -.84515    
   3  Normalizat    1.4308        .17800        .24013E-03   -.79742    
   4  Prefactor     .52664        .16826        .39554E-03   -1.1077    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7881.997     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      389 TOTAL
                     EDM=   .72E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.1842        13.221        .26455E-04   -.15101E-03
   2  Index         1.2598        .80093        .52860E-03   -.18883E-04
   3  Normalizat    1.4308        .17812        .41758E-04   -.12088E-04
   4  Prefactor     .52664        .16838        .12362E-04   -.71733E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.18423
  Index      = 1.25976
  Normalizat = 1.43078
  Prefactor  = 0.526636
 **********
 **   18 **HESSE 
 **********

 FCN=   7881.997     FROM HESSE     STATUS=OK            23 CALLS      412 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.1842        13.224        .52911E-05   -1.5102    
   2  Index         1.2598        .80106        .21144E-04   -.84511    
   3  Normalizat    1.4308        .17799        .83516E-05   -.79742    
   4  Prefactor     .52664        .16823        .24724E-05   -1.1077    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.27878e-11
Minuit parameter uncertainties:
  1  13.2283
  2  0.809056
  3  0.178072
  4  0.168386
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/587876': 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) = 7881.99705845
delta logL = 0.350114294913

Extracting fit parameters...

4FGL J2254.8-2725
   Spectrum: PowerLaw
324    Prefactor:  9.184e+00  1.323e+01  1.000e-04  1.000e+04 ( 1.000e-14)
325        Index:  1.260e+00  8.091e-01  0.000e+00  1.000e+01 (-1.000e+00)
326        Scale:  4.538e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  5.266e-01  1.684e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  1.431e+00  1.781e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.29
Ra Dec: 343.718 -27.417

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/587876/cmap_HighResolution_630720001_630979201_4FGL_J2254.8-2725_daily_bin1510.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.31e-03', job_status='DONE', photon_flux_upper_limit='5.74e-08', time_completed='2021-09-29 02:43:25.975063', job_id='587876', GAL2='0.53', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1632908605.98', return_code2='0', ts='0.29', comment='SUCCESS', return_code='0', GAL='0.53', dlogl='3.50e-01', ts2='0.98', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='1510' AND source_name='4FGL J2254.8-2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:43:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 587876: <4FGL_J2254.8-2725_daily_bin1510> in cluster <slac> Done

Job <4FGL_J2254.8-2725_daily_bin1510> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 02:30:33 2021
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:30:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 02:30:35 2021
Terminated at Wed Sep 29 02:43:26 2021
Results reported at Wed Sep 29 02:43:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2254.8-2725_daily_bin1510 343.718 -27.4171 630720001 630979201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2254.8-2725 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   717.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             290.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            773 sec.

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

