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


Performing analysis on: 4FGL_J2254.8-2725_daily_bin812
RA = 343.718, Dec = -27.4171
tmin = 449798401, tmax = 450057601
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='586121', job_status='RUN', time_executed='2021-09-29 02:29:20.381817', time_epoch_executed='1632907760.38' WHERE source_name='4FGL J2254.8-2725' and cadence='daily' and bin_id='812'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/586121

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/586121/ft1_4FGL_J2254.8-2725_daily_bin812.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/586121/ft2_4FGL_J2254.8-2725_daily_bin812.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/586121/ft1_4FGL_J2254.8-2725_daily_bin812.fits outfile=/scratch/kocevski/586121/ft1_filteredMKT_4FGL_J2254.8-2725_daily_bin812.fits ra=343.718 dec=-27.4171 rad=12.0 tmin=449798401.0 tmax=450057601.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.41
user 4.18
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/586121/ft2_4FGL_J2254.8-2725_daily_bin812.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/586121/ft1_filteredMKT_4FGL_J2254.8-2725_daily_bin812.fits evtable="EVENTS" outfile="/scratch/kocevski/586121/ft1_filtered_4FGL_J2254.8-2725_daily_bin812.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/586121/ft1_filtered_4FGL_J2254.8-2725_daily_bin812.fits" evtable="EVENTS" scfile=/scratch/kocevski/586121/ft2_4FGL_J2254.8-2725_daily_bin812.fits sctable="SC_DATA" outfile=/scratch/kocevski/586121/ltcube_449798401_450057601_4FGL_J2254.8-2725_daily_bin812.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/586121/ft2_4FGL_J2254.8-2725_daily_bin812.fits
.....................!
real 13.80
user 13.39
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/586121/ft1_filtered_4FGL_J2254.8-2725_daily_bin812.fits evtable="EVENTS" scfile=/scratch/kocevski/586121/ft2_4FGL_J2254.8-2725_daily_bin812.fits sctable="SC_DATA" expcube=/scratch/kocevski/586121/ltcube_449798401_450057601_4FGL_J2254.8-2725_daily_bin812.fits outfile=/scratch/kocevski/586121/expmap_449798401_450057601_4FGL_J2254.8-2725_daily_bin812.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/586121/ltcube_449798401_450057601_4FGL_J2254.8-2725_daily_bin812.fits
.....................!
real 190.99
user 185.02
sys 5.52

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/586121/ft1_filtered_4FGL_J2254.8-2725_daily_bin812.fits scfile=/scratch/kocevski/586121/ft2_4FGL_J2254.8-2725_daily_bin812.fits outfile=/scratch/kocevski/586121/cmap_449798401_450057601_4FGL_J2254.8-2725_daily_bin812.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/586121/ft1_filtered_4FGL_J2254.8-2725_daily_bin812.fits scfile=/scratch/kocevski/586121/ft2_4FGL_J2254.8-2725_daily_bin812.fits outfile=/scratch/kocevski/586121/cmap_HighResolution_449798401_450057601_4FGL_J2254.8-2725_daily_bin812.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/586121/ft1_filtered_4FGL_J2254.8-2725_daily_bin812.fits evtable="EVENTS" scfile=/scratch/kocevski/586121/ft2_4FGL_J2254.8-2725_daily_bin812.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/586121/Model_4FGL_J2254.8-2725_daily_bin812.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/586121/ft1_filtered_4FGL_J2254.8-2725_daily_bin812.fits.....................!
real 36.46
user 35.09
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/586121/ft1_filtered_4FGL_J2254.8-2725_daily_bin812.fits', '/scratch/kocevski/586121/ft2_4FGL_J2254.8-2725_daily_bin812.fits', expMap='/scratch/kocevski/586121/expmap_449798401_450057601_4FGL_J2254.8-2725_daily_bin812.fits', expCube='/scratch/kocevski/586121/ltcube_449798401_450057601_4FGL_J2254.8-2725_daily_bin812.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/586121/Model_4FGL_J2254.8-2725_daily_bin812.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/586121/ft1_filtered_4FGL_J2254.8-2725_daily_bin812.fits
Spacecraft file(s): /scratch/kocevski/586121/ft2_4FGL_J2254.8-2725_daily_bin812.fits
Exposure map: /scratch/kocevski/586121/expmap_449798401_450057601_4FGL_J2254.8-2725_daily_bin812.fits
Exposure cube: /scratch/kocevski/586121/ltcube_449798401_450057601_4FGL_J2254.8-2725_daily_bin812.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/586121/Model_4FGL_J2254.8-2725_daily_bin812.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) = 4029.29265765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.6256       1.0000         .10000E-03   10000.    
     3 'norm      '    28.924       1.0000         .10000E-03   10000.    
     4 'Prefactor '    29.459       1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.468       1.0000         .10000E-03   10000.    
     6 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.7996       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.0529       1.0000         .10000E-03   10000.    
     9 'norm      '    1.6142       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .42611E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .90350       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    19.220       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .23349       1.0000         .10000E-03   10000.    
    19 'Prefactor '    58.747       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1981       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .70306       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.

 FCN=   4029.273     FROM MIGRAD    STATUS=CONVERGED    879 CALLS     2782 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.908        .18142E-02** at limit **
   2  Prefactor     3.6217        11.662        .21218E-03    .70297E-04
   3  norm          28.927        25.771        .74494E-04   -.27852E-04
   4  Prefactor     29.461        25.979        .73817E-04    .47743E-05
   5  Prefactor     17.463        19.617        .95828E-04   -.26159E-04
   6  norm          .10000E-03    1.0405        .62786E-03** at limit **
   7  Prefactor     8.8171        36.744        .13512E-03    .32266E-04
   8  Prefactor     6.0673        19.535        .16320E-03    .18461E-04
   9  norm          1.6207        3.7491        .18035E-03   -.14114E-03
  10  Prefactor     .10000E-03    6.8095        .16166E-02** at limit **
  11  Prefactor     .10014E-03    154.67        .29641E-02** at limit **
  12  norm          .10000E-03    .40837        .68281E-03** at limit **
  13  Prefactor     .68535        90.115        .16162        .40336E-04
  14  Prefactor     .10000E-03    10.722        .18142E-02** at limit **
  15  Prefactor     .10000E-03    8.3913        .17908E-02** at limit **
  16  norm          19.221        13.944        .91359E-04   -.49029E-04
  17  Prefactor     .10000E-03    18.830        .18142E-02** at limit **
  18  norm          .23354        6.4382        .20597E-02    .43692E-03
  19  Prefactor     58.744        40.773        .52344E-04   -.19330E-04
  20  Prefactor     .10000E-03    38.565        .18142E-02** at limit **
  21  Normalizat    1.1984        .28447        .22626E-03   -.72349E-04
  22  Prefactor     .70299        .23980        .26337E-03   -.12333E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.62174
  norm       = 28.9273
  Prefactor  = 29.4612
  Prefactor  = 17.4634
  norm       = 0.0001
  Prefactor  = 8.81706
  Prefactor  = 6.06728
  norm       = 1.62067
  Prefactor  = 0.0001
  Prefactor  = 0.000100139
  norm       = 0.0001
  Prefactor  = 0.68535
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 19.2211
  Prefactor  = 0.0001
  norm       = 0.233545
  Prefactor  = 58.7438
  Prefactor  = 0.0001
  Normalizat = 1.19843
  Prefactor  = 0.702986
 **********
 **   18 **HESSE 
 **********

 FCN=   4029.273     FROM HESSE     STATUS=OK           332 CALLS     3114 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.909        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.6217        11.658        .84872E-05   -1.5327    
   3  norm          28.927        25.770        .14899E-04   -1.4632    
   4  Prefactor     29.461        25.975        .29527E-05   -1.4622    
   5  Prefactor     17.463        19.614        .38331E-05   -1.4872    
   6  norm          .10000E-03    1.0405        .12557E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.8171        36.718        .54049E-05   -1.5114    
   8  Prefactor     6.0673        19.530        .65279E-05   -1.5215    
   9  norm          1.6207        3.7337        .72140E-05   -1.5453    
  10  Prefactor     .10000E-03    6.8096        .32331E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10014E-03    158.58        .11857E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .40858        .13656E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .68535        87.794        .16453       -1.5542    
  14  Prefactor     .10000E-03    10.724        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.3929        .35816E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          19.221        13.943        .36544E-05   -1.4831    
  17  Prefactor     .10000E-03    18.830        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .23354        6.4251        .82389E-04   -1.5611    
  19  Prefactor     58.744        40.696        .10469E-04   -1.4174    
  20  Prefactor     .10000E-03    38.566        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1984        .28446        .45252E-04   -.86651    
  22  Prefactor     .70299        .23995        .10535E-04   -1.0341    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33121e-09
Minuit parameter uncertainties:
  1  2.13351e-05
  2  11.665
  3  25.7801
  4  25.9855
  5  19.6213
  6  4.40009e-06
  7  36.0237
  8  19.5509
  9  3.7342
  10  2.093e-06
  11  0.00942246
  12  6.99378e-07
  13  15.536
  14  1.68676e-05
  15  1.16747e-05
  16  13.9456
  17  6.4672e-06
  18  2.4497
  19  40.7152
  20  1.81214e-05
  21  0.284827
  22  0.240307
Done.

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

Extracting fit parameters...

4FGL J2254.8-2725
   Spectrum: PowerLaw
324    Prefactor:  1.000e-04  2.093e-06  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:  7.030e-01  2.403e-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.198e+00  2.848e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/586121/likelihoodResults_449798401_450057601_4FGL_J2254.8-2725_daily_bin812.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) = 4029.27368965
delta logL = -0.00069672075324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4029.27299293
delta logL = -3.73347575078e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10177E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9909       1.0000          .0000       10.000    
     3 'Normalizat'    1.1984       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70302       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.

 FCN=   4029.273     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      200 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.894        .90712E-02** at limit **
   2  Index         1.9694        5.4358        .50000        .23915E-04
   3  Normalizat    1.1984        .84300E-02    .51176E-01    .21819E-03
   4  Prefactor     .70298        .77544E-02    .42441E-01    .54526E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 1.9694
  Normalizat = 1.19843
  Prefactor  = 0.702985
 **********
 **   18 **HESSE 
 **********

 FCN=   4029.273     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      231 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1591.8        .16468E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9694        7.4979        .50000       -.65117    
   3  Normalizat    1.1984        .19109        .22626E-03   -.86651    
   4  Prefactor     .70298        .17571        .26337E-03   -1.0341    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.65783e-07
Minuit parameter uncertainties:
  1  0.00332829
  2  61.4852
  3  0.191205
  4  0.175849
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/586121': 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) = 4029.27299266
delta logL = 2.65118160314e-07

Extracting fit parameters...

4FGL J2254.8-2725
   Spectrum: PowerLaw
324    Prefactor:  1.000e-04  3.328e-03  1.000e-04  1.000e+04 ( 1.000e-14)
325        Index:  1.969e+00  6.149e+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:  7.030e-01  1.758e-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.198e+00  1.912e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/586121/cmap_HighResolution_449798401_450057601_4FGL_J2254.8-2725_daily_bin812.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.00e-03', job_status='DONE', photon_flux_upper_limit='6.66e-08', time_completed='2021-09-29 02:38:39.224399', job_id='586121', GAL2='0.70', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1632908319.22', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='2.65e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='812' AND source_name='4FGL J2254.8-2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:38:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 586121: <4FGL_J2254.8-2725_daily_bin812> in cluster <slac> Done

Job <4FGL_J2254.8-2725_daily_bin812> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:25:19 2021
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:25:22 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:25:22 2021
Terminated at Wed Sep 29 02:38:39 2021
Results reported at Wed Sep 29 02:38:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2254.8-2725_daily_bin812 343.718 -27.4171 449798401 450057601 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 :                                   526.31 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             282.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   797 sec.
    Turnaround time :                            800 sec.

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

