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


Performing analysis on: 4FGL_J1254.5+2210_daily_bin1090
RA = 193.637, Dec = 22.1808
tmin = 521856001, tmax = 522115201
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='991260', job_status='RUN', time_executed='2021-09-06 09:15:59.062055', time_epoch_executed='1630944959.06' WHERE source_name='4FGL J1254.5+2210' and cadence='daily' and bin_id='1090'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/991260

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/991260/ft1_4FGL_J1254.5+2210_daily_bin1090.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/991260/ft2_4FGL_J1254.5+2210_daily_bin1090.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/991260/ft1_4FGL_J1254.5+2210_daily_bin1090.fits outfile=/scratch/kocevski/991260/ft1_filteredMKT_4FGL_J1254.5+2210_daily_bin1090.fits ra=193.637 dec=22.1808 rad=12.0 tmin=521856001.0 tmax=522115201.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 3.71
user 3.47
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/991260/ft1_filtered_4FGL_J1254.5+2210_daily_bin1090.fits" evtable="EVENTS" scfile=/scratch/kocevski/991260/ft2_4FGL_J1254.5+2210_daily_bin1090.fits sctable="SC_DATA" outfile=/scratch/kocevski/991260/ltcube_521856001_522115201_4FGL_J1254.5+2210_daily_bin1090.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/991260/ft2_4FGL_J1254.5+2210_daily_bin1090.fits
.....................!
real 11.92
user 11.50
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/991260/ft1_filtered_4FGL_J1254.5+2210_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/991260/ft2_4FGL_J1254.5+2210_daily_bin1090.fits sctable="SC_DATA" expcube=/scratch/kocevski/991260/ltcube_521856001_522115201_4FGL_J1254.5+2210_daily_bin1090.fits outfile=/scratch/kocevski/991260/expmap_521856001_522115201_4FGL_J1254.5+2210_daily_bin1090.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/991260/ltcube_521856001_522115201_4FGL_J1254.5+2210_daily_bin1090.fits
.....................!
real 190.35
user 184.77
sys 5.17

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/991260/ft1_filtered_4FGL_J1254.5+2210_daily_bin1090.fits scfile=/scratch/kocevski/991260/ft2_4FGL_J1254.5+2210_daily_bin1090.fits outfile=/scratch/kocevski/991260/cmap_521856001_522115201_4FGL_J1254.5+2210_daily_bin1090.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/991260/ft1_filtered_4FGL_J1254.5+2210_daily_bin1090.fits scfile=/scratch/kocevski/991260/ft2_4FGL_J1254.5+2210_daily_bin1090.fits outfile=/scratch/kocevski/991260/cmap_HighResolution_521856001_522115201_4FGL_J1254.5+2210_daily_bin1090.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.36
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/991260/ft1_filtered_4FGL_J1254.5+2210_daily_bin1090.fits', '/scratch/kocevski/991260/ft2_4FGL_J1254.5+2210_daily_bin1090.fits', expMap='/scratch/kocevski/991260/expmap_521856001_522115201_4FGL_J1254.5+2210_daily_bin1090.fits', expCube='/scratch/kocevski/991260/ltcube_521856001_522115201_4FGL_J1254.5+2210_daily_bin1090.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/991260/Model_4FGL_J1254.5+2210_daily_bin1090.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/991260/ft1_filtered_4FGL_J1254.5+2210_daily_bin1090.fits
Spacecraft file(s): /scratch/kocevski/991260/ft2_4FGL_J1254.5+2210_daily_bin1090.fits
Exposure map: /scratch/kocevski/991260/expmap_521856001_522115201_4FGL_J1254.5+2210_daily_bin1090.fits
Exposure cube: /scratch/kocevski/991260/ltcube_521856001_522115201_4FGL_J1254.5+2210_daily_bin1090.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/991260/Model_4FGL_J1254.5+2210_daily_bin1090.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) = 5967.03185835

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1609       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.4261       1.0000         .10000E-03   10000.    
     3 'norm      '    13.186       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.1408       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.7078       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    8.6349       1.0000         .10000E-03   10000.    
     9 'Prefactor '    28.251       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.7299       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12567E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.1389       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .48645       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    39.247       1.0000         .10000E-03   10000.    
    19 'norm      '    6.6940       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    23.467       1.0000         .10000E-03   10000.    
    23 'norm      '    25.940       1.0000         .10000E-03   10000.    
    24 'Prefactor '    51.152       1.0000         .10000E-03   10000.    
    25 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    8.5611       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .73349       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.2600       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=   5967.029     FROM MIGRAD    STATUS=CONVERGED    719 CALLS     3673 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1609        3.2297        .48683E-06    .11686E-04
   2  Prefactor     4.4259        3.9655       -.98540E-06   -.71445E-04
   3  norm          13.186        5.2841       -.94973E-07   -.42994E-04
   4  Prefactor     3.1409        2.7817        .67705E-08   -.36997E-04
   5  Prefactor     1.7078        1.8094       -.37490E-07   -.52422E-04
   6  Prefactor     .10000E-03    10.541        .42486E-06** at limit **
   7  norm          .10000E-03    .61989E-01   -.10710E-07** at limit **
   8  norm          8.6335        5.3995       -.24118E-06   -.48299E-04
   9  Prefactor     28.240        14.858       -.56971E-06   -.17538E-03
  10  Prefactor     3.7308        10.418       -.13442E-06   -.16962E-03
  11  Prefactor     .10000E-03    36.059        .11540E-04** at limit **
  12  Prefactor     .10000E-03    40.888       -.75676E-05** at limit **
  13  Prefactor     .10000E-03    25.771       -.33047E-05** at limit **
  14  Prefactor     1.1402        2.0467        .76969E-07   -.72479E-03
  15  Prefactor     .10000E-03    5.4716        .41235E-07** at limit **
  16  norm          .49032        4.8764        .37385E-05   -.20653E-03
  17  Prefactor     .10000E-03    9.3700       -.29213E-06** at limit **
  18  Prefactor     39.237        33.368       -.95954E-05   -.46797E-03
  19  norm          6.6939        4.6306        .48441E-06   -.38264E-04
  20  norm          .10000E-03    1.1205        .60504E-07** at limit **
  21  norm          .10000E-03    3.0749        .41162E-07** at limit **
  22  norm          23.467        22.239        .11697E-06   -.39812E-05
  23  norm          25.938        9.1642       -.19092E-06   -.27259E-05
  24  Prefactor     51.157        37.492        .34630E-05    .10906E-05
  25  norm          .10000E-03    2.3204       -.23817E-07** at limit **
  26  Prefactor     8.5461        20.596       -.11067E-04   -.18020E-04
  27  Prefactor     .10000E-03    6.4655        .37989E-07** at limit **
  28  Normalizat    .73368        .19476        .27337E-05   -.31454E-03
  29  Prefactor     1.2598        .19303       -.84884E-06   -.12594E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.16089
  Prefactor  = 4.42594
  norm       = 13.1856
  Prefactor  = 3.14086
  Prefactor  = 1.70782
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 8.63351
  Prefactor  = 28.2404
  Prefactor  = 3.73081
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.14018
  Prefactor  = 0.0001
  norm       = 0.490317
  Prefactor  = 0.0001
  Prefactor  = 39.2374
  norm       = 6.69393
  norm       = 0.0001
  norm       = 0.0001
  norm       = 23.4671
  norm       = 25.9376
  Prefactor  = 51.1566
  norm       = 0.0001
  Prefactor  = 8.5461
  Prefactor  = 0.0001
  Normalizat = 0.733676
  Prefactor  = 1.25979
 **********
 **   18 **HESSE 
 **********

 FCN=   5967.029     FROM HESSE     STATUS=OK           555 CALLS     4228 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1609        3.2132        .12964E-03   -1.5352    
   2  Prefactor     4.4259        3.9464        .13317E-03   -1.5287    
   3  norm          13.186        5.2776        .10103E-03   -1.4982    
   4  Prefactor     3.1409        2.7841        .11013E-03   -1.5354    
   5  Prefactor     1.7078        1.8060        .10190E-03   -1.5447    
   6  Prefactor     .10000E-03    10.834        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .65385E-01    .37386E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          8.6335        5.3856        .13491E-03   -1.5120    
   9  Prefactor     28.240        14.863        .75375E-04   -1.4645    
  10  Prefactor     3.7308        10.550        .10454E-02   -1.5322    
  11  Prefactor     .10000E-03    36.036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    40.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    25.782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.1402        14.734        .21798E-02   -1.5494    
  15  Prefactor     .10000E-03    5.4921        .17645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .49032        9.6039        .29186E-02   -1.5568    
  17  Prefactor     .10000E-03    9.4130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     39.237        33.085        .63980E-04   -1.4454    
  19  norm          6.6939        4.6435        .13212E-03   -1.5190    
  20  norm          .10000E-03    1.1253        .79842E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    3.1241        .13227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          23.467        22.235        .82688E-04   -1.4739    
  23  norm          25.938        9.1684        .78654E-04   -1.4689    
  24  Prefactor     51.157        37.526        .56074E-04   -1.4276    
  25  norm          .10000E-03    2.3227        .11489E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     8.5461        20.451        .13700E-03   -1.5123    
  27  Prefactor     .10000E-03    6.4689        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .73368        .23005        .30291E-03   -1.0258    
  29  Prefactor     1.2598        .23188        .24557E-03   -.84511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.37565e-08
Minuit parameter uncertainties:
  1  3.21341
  2  3.94664
  3  5.27776
  4  2.78419
  5  1.80609
  6  1.74062e-05
  7  2.7686e-07
  8  5.38586
  9  14.8651
  10  10.5551
  11  4.489e-06
  12  2.76899e-05
  13  1.27197e-05
  14  8.19965
  15  7.76659e-06
  16  4.34037
  17  2.26548e-05
  18  33.1008
  19  4.64376
  20  6.91994e-06
  21  1.06151e-05
  22  22.2428
  23  9.16893
  24  37.5438
  25  3.74359e-07
  26  20.4678
  27  2.58164e-05
  28  0.230349
  29  0.23207
Done.

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

Extracting fit parameters...

4FGL J1254.5+2210
   Spectrum: PowerLaw
301    Prefactor:  1.140e+00  8.200e+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

GAL_V02
   Spectrum: PowerLaw
564    Prefactor:  1.260e+00  2.321e-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:  7.337e-01  2.303e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/991260/likelihoodResults_521856001_522115201_4FGL_J1254.5+2210_daily_bin1090.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) = 5967.02878904
delta logL = 0.000140616792123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5967.02872742
delta logL = 0.000202238554266

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1402       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0418       1.0000          .0000       10.000    
     3 'Normalizat'    .73416       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2596       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5967.029     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      262 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1986        16.081        .21772E-02    .65968E-03
   2  Index         2.0077        3.0146        .61966E-02    .68653E-05
   3  Normalizat    .73437        .22047        .30277E-03    .98753E-05
   4  Prefactor     1.2594        .22963        .24560E-03    .93966E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.19861
  Index      = 2.00774
  Normalizat = 0.734366
  Prefactor  = 1.25935
 **********
 **   18 **HESSE 
 **********

 FCN=   5967.029     FROM HESSE     STATUS=OK            25 CALLS      287 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1986        15.378        .43545E-03   -1.5489    
   2  Index         2.0077        2.9652        .24786E-03   -.64157    
   3  Normalizat    .73437        .22053        .12111E-04   -1.0255    
   4  Prefactor     1.2594        .22958        .98241E-05   -.84524    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.21748e-11
Minuit parameter uncertainties:
  1  8.58894
  2  3.33852
  3  0.220793
  4  0.229766
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/991260': 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) = 5967.02866645
delta logL = 0.000263204894509

Extracting fit parameters...

4FGL J1254.5+2210
   Spectrum: PowerLaw
301    Prefactor:  1.199e+00  8.589e+00  1.000e-04  1.000e+04 ( 1.000e-13)
302        Index:  2.008e+00  3.339e+00  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.259e+00  2.298e-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:  7.344e-01  2.208e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/991260/cmap_HighResolution_521856001_522115201_4FGL_J1254.5+2210_daily_bin1090.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.52e-03', job_status='DONE', photon_flux_upper_limit='8.63e-08', time_completed='2021-09-06 09:28:41.994437', job_id='991260', GAL2='1.26', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1630945721.99', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.26', dlogl='2.63e-04', ts2='0.02', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1090' AND source_name='4FGL J1254.5+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 09:28:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 991260: <4FGL_J1254.5+2210_daily_bin1090> in cluster <slac> Done

Job <4FGL_J1254.5+2210_daily_bin1090> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Sep  6 09:15:38 2021
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 09:15:40 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:40 2021
Terminated at Mon Sep  6 09:28:42 2021
Results reported at Mon Sep  6 09:28:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.5+2210_daily_bin1090 193.637 22.1808 521856001 522115201 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 :                                   758.22 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             332.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   782 sec.
    Turnaround time :                            784 sec.

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

