/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 26 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 = 7350
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1123.4-2529_daily_bin1603
RA = 170.868, Dec = -25.488
tmin = 654825601, tmax = 655084801
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='913686', job_status='RUN', time_executed='2021-10-05 00:02:51.074551', time_epoch_executed='1633417371.07' WHERE source_name='4FGL J1123.4-2529' and cadence='daily' and bin_id='1603'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/913686

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/913686/ft1_4FGL_J1123.4-2529_daily_bin1603.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/913686/ft2_4FGL_J1123.4-2529_daily_bin1603.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/913686/ft1_4FGL_J1123.4-2529_daily_bin1603.fits outfile=/scratch/kocevski/913686/ft1_filteredMKT_4FGL_J1123.4-2529_daily_bin1603.fits ra=170.868 dec=-25.488 rad=12.0 tmin=654825601.0 tmax=655084801.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.21
user 2.79
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/913686/ft2_4FGL_J1123.4-2529_daily_bin1603.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/913686/ft2_4FGL_J1123.4-2529_daily_bin1603.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/913686/ft1_filteredMKT_4FGL_J1123.4-2529_daily_bin1603.fits evtable="EVENTS" outfile="/scratch/kocevski/913686/ft1_filtered_4FGL_J1123.4-2529_daily_bin1603.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.05
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/913686/ft1_filtered_4FGL_J1123.4-2529_daily_bin1603.fits" evtable="EVENTS" scfile=/scratch/kocevski/913686/ft2_4FGL_J1123.4-2529_daily_bin1603.fits sctable="SC_DATA" outfile=/scratch/kocevski/913686/ltcube_654825601_655084801_4FGL_J1123.4-2529_daily_bin1603.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/913686/ft2_4FGL_J1123.4-2529_daily_bin1603.fits
.....................!
real 12.45
user 11.72
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/913686/ft1_filtered_4FGL_J1123.4-2529_daily_bin1603.fits evtable="EVENTS" scfile=/scratch/kocevski/913686/ft2_4FGL_J1123.4-2529_daily_bin1603.fits sctable="SC_DATA" expcube=/scratch/kocevski/913686/ltcube_654825601_655084801_4FGL_J1123.4-2529_daily_bin1603.fits outfile=/scratch/kocevski/913686/expmap_654825601_655084801_4FGL_J1123.4-2529_daily_bin1603.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/913686/ltcube_654825601_655084801_4FGL_J1123.4-2529_daily_bin1603.fits
.....................!
real 190.71
user 185.65
sys 4.75

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

Setting source of interest to:
4FGL J1123.4-2529 @ 170.868 -25.488

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/913686/ft1_filtered_4FGL_J1123.4-2529_daily_bin1603.fits scfile=/scratch/kocevski/913686/ft2_4FGL_J1123.4-2529_daily_bin1603.fits outfile=/scratch/kocevski/913686/cmap_654825601_655084801_4FGL_J1123.4-2529_daily_bin1603.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=170.868 yref=-25.488 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/913686/ft1_filtered_4FGL_J1123.4-2529_daily_bin1603.fits scfile=/scratch/kocevski/913686/ft2_4FGL_J1123.4-2529_daily_bin1603.fits outfile=/scratch/kocevski/913686/cmap_HighResolution_654825601_655084801_4FGL_J1123.4-2529_daily_bin1603.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=170.868 yref=-25.488 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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/913686/ft1_filtered_4FGL_J1123.4-2529_daily_bin1603.fits evtable="EVENTS" scfile=/scratch/kocevski/913686/ft2_4FGL_J1123.4-2529_daily_bin1603.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/913686/Model_4FGL_J1123.4-2529_daily_bin1603.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/913686/ft1_filtered_4FGL_J1123.4-2529_daily_bin1603.fits......................!
real 34.08
user 32.85
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/913686/ft1_filtered_4FGL_J1123.4-2529_daily_bin1603.fits', '/scratch/kocevski/913686/ft2_4FGL_J1123.4-2529_daily_bin1603.fits', expMap='/scratch/kocevski/913686/expmap_654825601_655084801_4FGL_J1123.4-2529_daily_bin1603.fits', expCube='/scratch/kocevski/913686/ltcube_654825601_655084801_4FGL_J1123.4-2529_daily_bin1603.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/913686/Model_4FGL_J1123.4-2529_daily_bin1603.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1123.4-2529'

4FGL J1123.4-2529
   Spectrum: PowerLaw
284    Prefactor:  1.199e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  2.239e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  1.433e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/913686/ft1_filtered_4FGL_J1123.4-2529_daily_bin1603.fits
Spacecraft file(s): /scratch/kocevski/913686/ft2_4FGL_J1123.4-2529_daily_bin1603.fits
Exposure map: /scratch/kocevski/913686/expmap_654825601_655084801_4FGL_J1123.4-2529_daily_bin1603.fits
Exposure cube: /scratch/kocevski/913686/ltcube_654825601_655084801_4FGL_J1123.4-2529_daily_bin1603.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/913686/Model_4FGL_J1123.4-2529_daily_bin1603.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) = 2658.69884274

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12307E-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 '    23.113       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .28785E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    23.446       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10512E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    188.47       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10271E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    76.723       1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.121       1.0000         .10000E-03   10000.    
    14 'Prefactor '    65.106       1.0000         .10000E-03   10000.    
    15 'norm      '    .10185E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.277       1.0000         .10000E-03   10000.    
    17 'Prefactor '    44.441       1.0000         .10000E-03   10000.    
    18 'Prefactor '    25.567       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.7077       1.0000         .10000E-03   10000.    
    20 'norm      '    76.242       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10959E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10219E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .13816E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .11696E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .69453       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.2157       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2658.672     FROM MIGRAD    STATUS=CONVERGED    719 CALLS     3696 TOTAL
                     EDM=   .26E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    35.573        .14572E-06** at limit **
   2  Prefactor     .10000E-03    9.8926       -.28531E-07** at limit **
   3  norm          .10000E-03    1.4352       -.10018E-07** at limit **
   4  Prefactor     23.129        22.405       -.43371E-07    .65166E-05
   5  Prefactor     .10000E-03    5.9891       -.22248E-07** at limit **
   6  Prefactor     .10000E-03    8.1530       -.83177E-07** at limit **
   7  Prefactor     .10000E-03    3.0589        .13044E-07** at limit **
   8  Prefactor     23.447        21.005       -.81295E-07    .67525E-05
   9  Prefactor     .10000E-03    56.102        .13964E-05** at limit **
  10  Prefactor     188.56        207.28       -.15477E-05    .95153E-05
  11  Prefactor     .10000E-03    59.578        .12420E-06** at limit **
  12  Prefactor     76.728        39.841        .34053E-06    .86373E-05
  13  Prefactor     23.030        153.79        .87138E-08   -.41664E-06
  14  Prefactor     65.108        150.25       -.75699E-06    .27790E-05
  15  norm          .10000E-03    1.1012       -.29398E-06** at limit **
  16  Prefactor     10.279        24.884       -.17795E-06    .71957E-05
  17  Prefactor     44.444        42.195        .71926E-07    .44510E-05
  18  Prefactor     25.595        30.972       -.50462E-05    .16563E-04
  19  Prefactor     2.4469        1133.4        .79230E-05    .33545E-05
  20  norm          76.244        76.873        .54661E-07    .23288E-05
  21  Prefactor     .10000E-03    25.351       -.27796E-06** at limit **
  22  norm          .10000E-03    7.5888       -.11832E-06** at limit **
  23  Prefactor     .10000E-03    62.916       -.11439E-05** at limit **
  24  Prefactor     .10000E-03    209.58       -.29555E-07** at limit **
  25  Prefactor     .10000E-03    91.695       -.16064E-07** at limit **
  26  Prefactor     .10000E-03    341.09       -.28587E-06** at limit **
  27  Prefactor     .10000E-03    501.20       -.44691E-06** at limit **
  28  Normalizat    .69398        .46581       -.24175E-05    .21002E-04
  29  Prefactor     1.2159        .24405        .15076E-05   -.27706E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 23.1287
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.4468
  Prefactor  = 0.0001
  Prefactor  = 188.559
  Prefactor  = 0.0001
  Prefactor  = 76.7285
  Prefactor  = 23.0296
  Prefactor  = 65.1079
  norm       = 0.0001
  Prefactor  = 10.2791
  Prefactor  = 44.4436
  Prefactor  = 25.5949
  Prefactor  = 2.4469
  norm       = 76.2439
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.69398
  Prefactor  = 1.21588
 **********
 **   18 **HESSE 
 **********

 FCN=   2658.672     FROM HESSE     STATUS=OK           543 CALLS     4239 TOTAL
                     EDM=   .64E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    36.066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.9071        .15840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.4371        .60316E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.129        22.372        .83318E-04   -1.4746    
   5  Prefactor     .10000E-03    14.165        .24066E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.1739        .14375E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.0658        .88059E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     23.447        21.000        .82724E-04   -1.4739    
   9  Prefactor     .10000E-03    56.114        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     188.56        207.08        .14708E-03   -1.2953    
  11  Prefactor     .10000E-03    59.593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     76.728        39.798        .45844E-04   -1.3954    
  13  Prefactor     23.030        153.60        .83304E-04   -1.4748    
  14  Prefactor     65.108        150.15        .49737E-04   -1.4092    
  15  norm          .10000E-03    1.1077        .52667E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.279        24.869        .12499E-03   -1.5067    
  17  Prefactor     44.444        42.164        .60140E-04   -1.4374    
  18  Prefactor     25.595        31.640        .79225E-04   -1.4696    
  19  Prefactor     2.4469        1230.9        .24754E-02   -1.5395    
  20  norm          76.244        76.883        .22993E-03   -1.3959    
  21  Prefactor     .10000E-03    25.350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    7.5889        .13873E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    63.256        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    209.58        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    91.676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    341.27        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    501.17        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .69398        .50178        .45129E-03   -1.0413    
  29  Prefactor     1.2159        .26772        .19050E-03   -.85844    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.41474e-11
Minuit parameter uncertainties:
  1  1.10242e-05
  2  1.51539e-06
  3  1.46604e-07
  4  22.3802
  5  5.18397e-05
  6  1.21643e-06
  7  4.78758e-07
  8  21.0066
  9  7.21283e-05
  10  207.888
  11  4.88773e-05
  12  39.8118
  13  119.395
  14  151.033
  15  2.42853e-06
  16  24.8941
  17  42.1927
  18  31.6611
  19  112.159
  20  76.9834
  21  1.58231e-05
  22  5.2385e-06
  23  0.000450106
  24  0.000225205
  25  7.66789e-05
  26  0.000511825
  27  0.000526084
  28  0.505147
  29  0.268016
Done.

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

Extracting fit parameters...

4FGL J1123.4-2529
   Spectrum: PowerLaw
284    Prefactor:  7.673e+01  3.981e+01  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  2.239e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  1.433e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
588    Prefactor:  1.216e+00  2.680e-01  0.000e+00  1.000e+01 ( 1.000e+00)
589        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
590        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
587   Normalization:  6.940e-01  5.051e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.72
Ra Dec: 170.868 -25.488
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 2.40e-07 +/- 1.25e-07
Energy Flux (Fixed Index): 1.01e-04 +/- 5.22e-05

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) = 2658.66945933
delta logL = 0.00259113949687

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2658.66673681
delta logL = 0.00531365931829

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    73.275       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2908       1.0000          .0000       10.000    
     3 'Normalizat'    .68042       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2202       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5910E+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=   2658.667     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      256 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     73.288        52.694        .46902E-04   -.12866E-02
   2  Index         2.2909        .52901        .36838E-02   -.73581E-03
   3  Normalizat    .67977        .50210        .45555E-03    .12684E-03
   4  Prefactor     1.2205        .26716        .19016E-03    .67480E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 73.2881
  Index      = 2.29088
  Normalizat = 0.67977
  Prefactor  = 1.22055
 **********
 **   18 **HESSE 
 **********

 FCN=   2658.667     FROM HESSE     STATUS=OK            23 CALLS      279 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     73.288        50.718        .93803E-05   -1.3994    
   2  Index         2.2909        .50845        .14735E-03   -.57261    
   3  Normalizat    .67977        .50093        .18222E-04   -1.0470    
   4  Prefactor     1.2205        .26689        .38031E-04   -.85701    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83347e-09
Minuit parameter uncertainties:
  1  50.748
  2  0.5097
  3  0.504346
  4  0.267189
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/913686': 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) = 2658.66673587
delta logL = 0.00531460144066

Extracting fit parameters...

4FGL J1123.4-2529
   Spectrum: PowerLaw
284    Prefactor:  7.329e+01  5.075e+01  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  2.291e+00  5.097e-01  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  1.433e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
588    Prefactor:  1.221e+00  2.672e-01  0.000e+00  1.000e+01 ( 1.000e+00)
589        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
590        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
587   Normalization:  6.798e-01  5.043e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.69
Ra Dec: 170.868 -25.488
Photon Index (Free Index): 2.29 +/- 0.51
Photon Flux (Free Index): 2.53e-07 +/- 1.78e-07
Energy Flux (Free Index): 9.72e-05 +/- 5.84e-05

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/913686/cmap_HighResolution_654825601_655084801_4FGL_J1123.4-2529_daily_bin1603.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.40e-07', energy_flux2='9.72e-05', photon_flux_error='1.25e-07', dlogl='5.31e-03', energy_flux='1.01e-04', photon_flux2='2.53e-07', job_status='DONE', time_completed='2021-10-05 00:10:55.119899', photon_index_error2='0.51', photon_index2='2.29', ts='11.72', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', energy_flux_error2='5.84e-05', EG='0.69', time_epoch_completed='1633417855.12', return_code='0', job_id='913686', GAL2='1.22', EG2='0.68', return_code2='0', energy_flux_error='5.22e-05', photon_flux_error2='1.78e-07', ts2='11.69', photon_index='2.24' WHERE bin_id='1603' AND source_name='4FGL J1123.4-2529' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct  5 00:10:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 913686: <4FGL_J1123.4-2529_daily_bin1603> in cluster <slac> Done

Job <4FGL_J1123.4-2529_daily_bin1603> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Oct  5 00:02:10 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct  5 00:02:12 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct  5 00:02:12 2021
Terminated at Tue Oct  5 00:10:55 2021
Results reported at Tue Oct  5 00:10:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1123.4-2529_daily_bin1603 170.868 -25.488 654825601 655084801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1123.4-2529 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   485.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             356.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   523 sec.
    Turnaround time :                            525 sec.

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

