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


Performing analysis on: 4FGL_J1254.2-2205_daily_bin1086
RA = 193.552, Dec = -22.0872
tmin = 520819201, tmax = 521078401
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='981892', job_status='RUN', time_executed='2021-09-06 08:46:35.499993', time_epoch_executed='1630943195.5' WHERE source_name='4FGL J1254.2-2205' and cadence='daily' and bin_id='1086'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/981892

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/981892/ft1_4FGL_J1254.2-2205_daily_bin1086.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/981892/ft2_4FGL_J1254.2-2205_daily_bin1086.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/981892/ft1_4FGL_J1254.2-2205_daily_bin1086.fits outfile=/scratch/kocevski/981892/ft1_filteredMKT_4FGL_J1254.2-2205_daily_bin1086.fits ra=193.552 dec=-22.0872 rad=12.0 tmin=520819201.0 tmax=521078401.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.26
user 3.24
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/981892/ft2_4FGL_J1254.2-2205_daily_bin1086.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/981892/ft2_4FGL_J1254.2-2205_daily_bin1086.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/981892/ft1_filteredMKT_4FGL_J1254.2-2205_daily_bin1086.fits evtable="EVENTS" outfile="/scratch/kocevski/981892/ft1_filtered_4FGL_J1254.2-2205_daily_bin1086.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 1.29
user 0.33
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/981892/ft1_filtered_4FGL_J1254.2-2205_daily_bin1086.fits" evtable="EVENTS" scfile=/scratch/kocevski/981892/ft2_4FGL_J1254.2-2205_daily_bin1086.fits sctable="SC_DATA" outfile=/scratch/kocevski/981892/ltcube_520819201_521078401_4FGL_J1254.2-2205_daily_bin1086.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/981892/ft2_4FGL_J1254.2-2205_daily_bin1086.fits
.....................!
real 13.75
user 12.33
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/981892/ft1_filtered_4FGL_J1254.2-2205_daily_bin1086.fits evtable="EVENTS" scfile=/scratch/kocevski/981892/ft2_4FGL_J1254.2-2205_daily_bin1086.fits sctable="SC_DATA" expcube=/scratch/kocevski/981892/ltcube_520819201_521078401_4FGL_J1254.2-2205_daily_bin1086.fits outfile=/scratch/kocevski/981892/expmap_520819201_521078401_4FGL_J1254.2-2205_daily_bin1086.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/981892/ltcube_520819201_521078401_4FGL_J1254.2-2205_daily_bin1086.fits
.....................!
real 195.12
user 186.10
sys 4.43

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

Setting source of interest to:
4FGL J1254.2-2205 @ 193.552 -22.0872

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/981892/ft1_filtered_4FGL_J1254.2-2205_daily_bin1086.fits scfile=/scratch/kocevski/981892/ft2_4FGL_J1254.2-2205_daily_bin1086.fits outfile=/scratch/kocevski/981892/cmap_520819201_521078401_4FGL_J1254.2-2205_daily_bin1086.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.552 yref=-22.0872 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.63
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/981892/ft1_filtered_4FGL_J1254.2-2205_daily_bin1086.fits scfile=/scratch/kocevski/981892/ft2_4FGL_J1254.2-2205_daily_bin1086.fits outfile=/scratch/kocevski/981892/cmap_HighResolution_520819201_521078401_4FGL_J1254.2-2205_daily_bin1086.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.552 yref=-22.0872 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.57
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/981892/ft1_filtered_4FGL_J1254.2-2205_daily_bin1086.fits evtable="EVENTS" scfile=/scratch/kocevski/981892/ft2_4FGL_J1254.2-2205_daily_bin1086.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/981892/Model_4FGL_J1254.2-2205_daily_bin1086.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/981892/ft1_filtered_4FGL_J1254.2-2205_daily_bin1086.fits.....................!
real 60.02
user 58.23
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/981892/ft1_filtered_4FGL_J1254.2-2205_daily_bin1086.fits', '/scratch/kocevski/981892/ft2_4FGL_J1254.2-2205_daily_bin1086.fits', expMap='/scratch/kocevski/981892/expmap_520819201_521078401_4FGL_J1254.2-2205_daily_bin1086.fits', expCube='/scratch/kocevski/981892/ltcube_520819201_521078401_4FGL_J1254.2-2205_daily_bin1086.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/981892/Model_4FGL_J1254.2-2205_daily_bin1086.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1254.2-2205'

4FGL J1254.2-2205
   Spectrum: PowerLaw
283    Prefactor:  8.803e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  2.191e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  2.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/981892/ft1_filtered_4FGL_J1254.2-2205_daily_bin1086.fits
Spacecraft file(s): /scratch/kocevski/981892/ft2_4FGL_J1254.2-2205_daily_bin1086.fits
Exposure map: /scratch/kocevski/981892/expmap_520819201_521078401_4FGL_J1254.2-2205_daily_bin1086.fits
Exposure cube: /scratch/kocevski/981892/ltcube_520819201_521078401_4FGL_J1254.2-2205_daily_bin1086.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/981892/Model_4FGL_J1254.2-2205_daily_bin1086.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) = 6934.8826678

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.041       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.9144       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.167       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.2159       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.6215       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.8312       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    25.461       1.0000         .10000E-03   10000.    
    11 'norm      '    .98501       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .32729E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    9.1761       1.0000         .10000E-03   10000.    
    14 'norm      '    5.7737       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.3387       1.0000         .10000E-03   10000.    
    16 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    9.3775       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    24.940       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.7293       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .85844       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6934.849     FROM MIGRAD    STATUS=CONVERGED    545 CALLS     2743 TOTAL
                     EDM=   .59E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.040        11.629        .11821E-06   -.10347E-04
   2  Prefactor     1.8758        302.68       -.10946E-05   -.18130E-04
   3  Prefactor     .10000E-03    131.79        .24382E-07** at limit **
   4  Prefactor     .10000E-03    37.586       -.26859E-05** at limit **
   5  Prefactor     15.154        34.130        .25849E-06    .45761E-05
   6  Prefactor     8.2140        24.843        .30715E-06   -.80041E-05
   7  Prefactor     1.6223        5.0192        .13193E-05    .18897E-04
   8  Prefactor     9.8309        3.3186       -.36157E-07   -.85253E-04
   9  Prefactor     .10000E-03    10.885        .73583E-07** at limit **
  10  Prefactor     25.459        20.063        .15685E-06   -.24792E-04
  11  norm          .98451        1.4488        .36609E-06    .40509E-04
  12  Prefactor     .10000E-03    252.87        .48032E-06** at limit **
  13  norm          9.1757        10.565        .19304E-05   -.10077E-03
  14  norm          5.7761        6.0737       -.88257E-07    .85516E-04
  15  Prefactor     3.3391        4.2085       -.46549E-07   -.53611E-04
  16  norm          .10000E-03    2.0282        .27937E-07** at limit **
  17  norm          9.3772        4.1729        .25778E-07    .15717E-04
  18  Prefactor     .10000E-03    4.6230        .25188E-07** at limit **
  19  Prefactor     .10000E-03    23.802       -.14426E-06** at limit **
  20  Prefactor     24.943        22.423        .92863E-07   -.13207E-04
  21  Prefactor     .10000E-03    13.883       -.51742E-07** at limit **
  22  Prefactor     .10000E-03    18.813        .42138E-06** at limit **
  23  Normalizat    1.7293        .30430       -.17629E-05    .37374E-05
  24  Prefactor     .85847        .13157        .18580E-06   -.11158E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.0398
  Prefactor  = 1.87582
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.1537
  Prefactor  = 8.21399
  Prefactor  = 1.6223
  Prefactor  = 9.83087
  Prefactor  = 0.0001
  Prefactor  = 25.4592
  norm       = 0.984506
  Prefactor  = 0.000100002
  norm       = 9.17569
  norm       = 5.77612
  Prefactor  = 3.33909
  norm       = 0.0001
  norm       = 9.37715
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.9435
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.72932
  Prefactor  = 0.858475
 **********
 **   18 **HESSE 
 **********

 FCN=   6934.849     FROM HESSE     STATUS=OK           403 CALLS     3146 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.040        11.619        .12646E-03   -1.5074    
   2  Prefactor     1.8758        307.60        .30040E-03   -1.5434    
   3  Prefactor     .10000E-03    133.03        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    37.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.154        33.993        .10284E-03   -1.4929    
   6  Prefactor     8.2140        24.829        .13987E-03   -1.5135    
   7  Prefactor     1.6223        4.9800        .31454E-03   -1.5453    
   8  Prefactor     9.8309        3.3136        .84006E-04   -1.5081    
   9  Prefactor     .10000E-03    10.936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     25.459        20.174        .79390E-04   -1.4698    
  11  norm          .98451        1.4239        .11346E-03   -1.5510    
  12  Prefactor     .10000E-03    255.14        .21353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          9.1757        10.533        .66153E-03   -1.5102    
  14  norm          5.7761        6.0652        .16715E-03   -1.5227    
  15  Prefactor     3.3391        4.1965        .18248E-03   -1.5342    
  16  norm          .10000E-03    2.0366        .11582E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          9.3772        4.1761        .10911E-03   -1.5095    
  18  Prefactor     .10000E-03    4.6366        .17487E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    24.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     24.943        22.423        .80212E-04   -1.4709    
  21  Prefactor     .10000E-03    14.044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    19.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.7293        .36508        .35171E-03   -.71523    
  24  Prefactor     .85847        .15959        .21232E-03   -.97608    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36689e-10
Minuit parameter uncertainties:
  1  11.6216
  2  48.2945
  3  0.000118031
  4  0.000192984
  5  34.0366
  6  24.8598
  7  4.98131
  8  3.31369
  9  1.17721e-05
  10  20.1793
  11  1.42396
  12  0.0013633
  13  10.5352
  14  6.06586
  15  4.19689
  16  1.18063e-06
  17  4.17627
  18  2.09833e-06
  19  0.000105998
  20  22.4303
  21  1.87661e-05
  22  0.000134702
  23  0.365654
  24  0.159681
Done.

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

Extracting fit parameters...

4FGL J1254.2-2205
   Spectrum: PowerLaw
283    Prefactor:  1.000e-04  1.363e-03  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  2.191e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  2.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  8.585e-01  1.597e-01  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
605   Normalization:  1.729e+00  3.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 193.552 -22.087
Photon Flux Upper Limit: 1.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/981892/likelihoodResults_520819201_521078401_4FGL_J1254.2-2205_daily_bin1086.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) = 6934.84887239
delta logL = -1.85288417924e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6934.84887239
delta logL = -1.85283006431e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96365E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1912       1.0000          .0000       10.000    
     3 'Normalizat'    1.7293       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85848       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6933.091     FROM MIGRAD    STATUS=CONVERGED    167 CALLS      312 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44524        3.5120        .71174E-02   -.17689E-02
   2  Index         4.7931        1.6899        .76208E-01   -.27594E-04
   3  Normalizat    1.4969        .78390E-01    .83996E-01   -.58947E-04
   4  Prefactor     .92321        .35062E-01    .44474E-01    .24916E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.44524
  Index      = 4.79306
  Normalizat = 1.49695
  Prefactor  = 0.923209
 **********
 **   18 **HESSE 
 **********

 FCN=   6933.091     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      345 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44524        7.6330        .32164E-04   -1.5575    
   2  Index         4.7931        2.8267        .29602E-02   -.41399E-01
   3  Normalizat    1.4969        .30813        .37187E-03   -.77864    
   4  Prefactor     .92321        .13563        .20527E-03   -.95335    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.38847e-10
Minuit parameter uncertainties:
  1  3.68715
  2  3.00455
  3  0.308515
  4  0.135677
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/981892': 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) = 6933.09106707
delta logL = 1.75778678583

Extracting fit parameters...

4FGL J1254.2-2205
   Spectrum: PowerLaw
283    Prefactor:  4.452e-01  3.687e+00  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  4.793e+00  3.005e+00  0.000e+00  1.000e+01 (-1.000e+00)
285        Scale:  2.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  9.232e-01  1.357e-01  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
605   Normalization:  1.497e+00  3.085e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.85
Ra Dec: 193.552 -22.087
Photon Index (Free Index): 4.79 +/- 3.00
Photon Flux (Free Index): 2.03e-07 +/- 1.21e-07
Energy Flux (Free Index): 2.75e-05 +/- 1.88e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/981892/cmap_HighResolution_520819201_521078401_4FGL_J1254.2-2205_daily_bin1086.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.49e-03', comment='SUCCESS', energy_flux2='2.75e-05', dlogl='1.76e+00', photon_flux2='2.03e-07', job_status='DONE', time_completed='2021-09-06 08:59:31.565765', photon_index_error2='3.00', photon_index2='4.79', ts='-0.00', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='1.25e-07', energy_flux_error2='1.88e-05', EG='1.73', time_epoch_completed='1630943971.57', return_code='0', job_id='981892', GAL2='0.92', EG2='1.50', return_code2='102', photon_flux_error2='1.21e-07', ts2='3.85', photon_index='2.19' WHERE bin_id='1086' AND source_name='4FGL J1254.2-2205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 08:59:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 981892: <4FGL_J1254.2-2205_daily_bin1086> in cluster <slac> Done

Job <4FGL_J1254.2-2205_daily_bin1086> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Sep  6 08:45:44 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 08:45:46 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep  6 08:45:46 2021
Terminated at Mon Sep  6 08:59:32 2021
Results reported at Mon Sep  6 08:59:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.2-2205_daily_bin1086 193.552 -22.0872 520819201 521078401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1254.2-2205 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   743.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             317.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            828 sec.

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

