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


Performing analysis on: 4FGL_J1124.9+4934_daily_bin1470
RA = 171.243, Dec = 49.5674
tmin = 620352001, tmax = 620611201
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='768439', job_status='RUN', time_executed='2021-09-03 19:47:33.407747', time_epoch_executed='1630723653.41' WHERE source_name='4FGL J1124.9+4934' and cadence='daily' and bin_id='1470'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/768439

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/768439/ft1_4FGL_J1124.9+4934_daily_bin1470.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/768439/ft2_4FGL_J1124.9+4934_daily_bin1470.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/768439/ft1_4FGL_J1124.9+4934_daily_bin1470.fits outfile=/scratch/kocevski/768439/ft1_filteredMKT_4FGL_J1124.9+4934_daily_bin1470.fits ra=171.243 dec=49.5674 rad=12.0 tmin=620352001.0 tmax=620611201.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.96
user 4.75
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/768439/ft2_4FGL_J1124.9+4934_daily_bin1470.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/768439/ft2_4FGL_J1124.9+4934_daily_bin1470.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/768439/ft1_filteredMKT_4FGL_J1124.9+4934_daily_bin1470.fits evtable="EVENTS" outfile="/scratch/kocevski/768439/ft1_filtered_4FGL_J1124.9+4934_daily_bin1470.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/768439/ft1_filtered_4FGL_J1124.9+4934_daily_bin1470.fits" evtable="EVENTS" scfile=/scratch/kocevski/768439/ft2_4FGL_J1124.9+4934_daily_bin1470.fits sctable="SC_DATA" outfile=/scratch/kocevski/768439/ltcube_620352001_620611201_4FGL_J1124.9+4934_daily_bin1470.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/768439/ft2_4FGL_J1124.9+4934_daily_bin1470.fits
.....................!
real 13.19
user 12.79
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/768439/ft1_filtered_4FGL_J1124.9+4934_daily_bin1470.fits evtable="EVENTS" scfile=/scratch/kocevski/768439/ft2_4FGL_J1124.9+4934_daily_bin1470.fits sctable="SC_DATA" expcube=/scratch/kocevski/768439/ltcube_620352001_620611201_4FGL_J1124.9+4934_daily_bin1470.fits outfile=/scratch/kocevski/768439/expmap_620352001_620611201_4FGL_J1124.9+4934_daily_bin1470.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/768439/ltcube_620352001_620611201_4FGL_J1124.9+4934_daily_bin1470.fits
.....................!
real 190.71
user 185.71
sys 4.60

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

Setting source of interest to:
4FGL J1124.9+4934 @ 171.243 49.5674

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/768439/ft1_filtered_4FGL_J1124.9+4934_daily_bin1470.fits scfile=/scratch/kocevski/768439/ft2_4FGL_J1124.9+4934_daily_bin1470.fits outfile=/scratch/kocevski/768439/cmap_620352001_620611201_4FGL_J1124.9+4934_daily_bin1470.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=171.243 yref=49.5674 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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/768439/ft1_filtered_4FGL_J1124.9+4934_daily_bin1470.fits scfile=/scratch/kocevski/768439/ft2_4FGL_J1124.9+4934_daily_bin1470.fits outfile=/scratch/kocevski/768439/cmap_HighResolution_620352001_620611201_4FGL_J1124.9+4934_daily_bin1470.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=171.243 yref=49.5674 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.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/768439/ft1_filtered_4FGL_J1124.9+4934_daily_bin1470.fits evtable="EVENTS" scfile=/scratch/kocevski/768439/ft2_4FGL_J1124.9+4934_daily_bin1470.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/768439/Model_4FGL_J1124.9+4934_daily_bin1470.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/768439/ft1_filtered_4FGL_J1124.9+4934_daily_bin1470.fits.....................!
real 58.93
user 53.08
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/768439/ft1_filtered_4FGL_J1124.9+4934_daily_bin1470.fits', '/scratch/kocevski/768439/ft2_4FGL_J1124.9+4934_daily_bin1470.fits', expMap='/scratch/kocevski/768439/expmap_620352001_620611201_4FGL_J1124.9+4934_daily_bin1470.fits', expCube='/scratch/kocevski/768439/ltcube_620352001_620611201_4FGL_J1124.9+4934_daily_bin1470.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/768439/Model_4FGL_J1124.9+4934_daily_bin1470.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1124.9+4934'

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  6.417e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
353        alpha:  1.519e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
354         beta:  1.498e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  2.941e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/768439/ft1_filtered_4FGL_J1124.9+4934_daily_bin1470.fits
Spacecraft file(s): /scratch/kocevski/768439/ft2_4FGL_J1124.9+4934_daily_bin1470.fits
Exposure map: /scratch/kocevski/768439/expmap_620352001_620611201_4FGL_J1124.9+4934_daily_bin1470.fits
Exposure cube: /scratch/kocevski/768439/ltcube_620352001_620611201_4FGL_J1124.9+4934_daily_bin1470.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/768439/Model_4FGL_J1124.9+4934_daily_bin1470.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) = 6222.30743697

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.4748       1.0000         .10000E-03   10000.    
     2 'norm      '    1.4843       1.0000         .10000E-03   10000.    
     3 'Prefactor '    51.746       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.4277       1.0000         .10000E-03   10000.    
     7 'Prefactor '    53.272       1.0000         .10000E-03   10000.    
     8 'norm      '    1.7251       1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.181       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    8.4912       1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.990       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10249E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    8.4373       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.6934       1.0000         .10000E-03   10000.    
    17 'norm      '    4.6943       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10667E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    9.3959       1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.7440       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0546       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0364       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6222.301     FROM MIGRAD    STATUS=CONVERGED    616 CALLS     3084 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.4743        3.0883        .47282E-08    .47674E-06
   2  norm          1.4843        1.2883        .82652E-09    .30472E-05
   3  Prefactor     51.754        66.231        .13623E-05    .13283E-04
   4  Prefactor     .10000E-03    46.882        .58295E-06** at limit **
   5  Prefactor     .10000E-03    31.111        .23429E-07** at limit **
   6  norm          1.4281        2.2937        .21856E-06    .10351E-04
   7  Prefactor     53.260        61.919       -.16620E-05   -.27783E-04
   8  norm          1.7251        .53243       -.92214E-08   -.38501E-04
   9  Prefactor     18.179        25.929       -.34528E-06   -.15285E-04
  10  Prefactor     .10000E-03    22.519        .67509E-06** at limit **
  11  norm          8.4981        35.592        .19075E-05    .11414E-04
  12  Prefactor     16.991        7.2320        .90314E-07    .12995E-04
  13  Prefactor     .10000E-03    29.530       -.29838E-06** at limit **
  14  norm          8.4371        3.8729        .60699E-06   -.20010E-03
  15  Prefactor     .10000E-03    26.195       -.10523E-05** at limit **
  16  norm          1.6933        1.1017        .83739E-07   -.11875E-03
  17  norm          4.6943        5.7998       -.33591E-07   -.34373E-05
  18  Prefactor     .10000E-03    1.7027        .89372E-07** at limit **
  19  Prefactor     .10000E-03    45.904        .88850E-06** at limit **
  20  norm          .10000E-03    1.7890        .30839E-07** at limit **
  21  Prefactor     .10000E-03    7.9226        .17275E-07** at limit **
  22  norm          .10000E-03    .84989        .90443E-07** at limit **
  23  norm          9.3929        8.4955       -.31858E-06    .47040E-04
  24  Prefactor     1.6987        67.592       -.20945E-05   -.25681E-04
  25  Normalizat    1.0546        .17454        .34976E-06   -.61628E-04
  26  Prefactor     1.0364        .21772       -.10319E-05    .10276E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.47429
  norm       = 1.4843
  Prefactor  = 51.7538
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.42809
  Prefactor  = 53.2601
  norm       = 1.72506
  Prefactor  = 18.1785
  Prefactor  = 0.0001
  norm       = 8.49814
  Prefactor  = 16.9911
  Prefactor  = 0.0001
  norm       = 8.43714
  Prefactor  = 0.0001
  norm       = 1.69325
  norm       = 4.69429
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 9.39295
  Prefactor  = 1.69871
  Normalizat = 1.05459
  Prefactor  = 1.03638
 **********
 **   18 **HESSE 
 **********

 FCN=   6222.301     FROM HESSE     STATUS=OK           460 CALLS     3544 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.4743        3.0890        .93133E-04   -1.5199    
   2  norm          1.4843        1.2992        .80910E-04   -1.5464    
   3  Prefactor     51.754        66.403        .55753E-04   -1.4268    
   4  Prefactor     .10000E-03    46.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    31.118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.4281        2.2345        .13496E-03   -1.5469    
   7  Prefactor     53.260        62.533        .54953E-04   -1.4247    
   8  norm          1.7251        .53329        .30996E-04   -1.5445    
   9  Prefactor     18.179        25.604        .93932E-04   -1.4855    
  10  Prefactor     .10000E-03    22.555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          8.4981        35.744        .13757E-03   -1.5125    
  12  Prefactor     16.991        7.2408        .97167E-04   -1.4883    
  13  Prefactor     .10000E-03    29.724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          8.4371        3.9399        .50929E-03   -1.5127    
  15  Prefactor     .10000E-03    26.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.6933        1.1033        .16171E-03   -1.5448    
  17  norm          4.6943        5.7973        .18573E-03   -1.5275    
  18  Prefactor     .10000E-03    4.3804        .19916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    46.056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.7980        .10303E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.9434        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    1.3444        .14111E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          9.3929        8.3488        .13074E-03   -1.5095    
  24  Prefactor     1.6987        70.810        .31762E-03   -1.5447    
  25  Normalizat    1.0546        .20491        .23379E-03   -.91223    
  26  Prefactor     1.0364        .25404        .30409E-03   -.91526    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.3409e-11
Minuit parameter uncertainties:
  1  3.08911
  2  1.29923
  3  66.4985
  4  5.53556e-05
  5  1.03623e-06
  6  2.23459
  7  62.6107
  8  0.533292
  9  25.6193
  10  3.53203e-05
  11  34.8926
  12  7.24121
  13  1.34652e-05
  14  3.94004
  15  9.71669e-05
  16  1.1033
  17  5.798
  18  1.638e-07
  19  3.85364e-05
  20  3.20074e-07
  21  3.7908e-06
  22  1.40256e-07
  23  8.34984
  24  21.9622
  25  0.20506
  26  0.254335
Done.

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

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  8.498e+00  3.489e+01  1.000e-04  1.000e+04 ( 1.000e-14)
353        alpha:  1.519e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
354         beta:  1.498e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  2.941e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
704    Prefactor:  1.036e+00  2.543e-01  0.000e+00  1.000e+01 ( 1.000e+00)
705        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
706        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
703   Normalization:  1.055e+00  2.051e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.07
Ra Dec: 171.243 49.567
Photon Flux Upper Limit: 2.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.77e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/768439/likelihoodResults_620352001_620611201_4FGL_J1124.9+4934_daily_bin1470.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) = 6221.17191771
delta logL = 1.12909184442

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6221.0833099
delta logL = 1.21769964716

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .54415E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .95042       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1189       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7070E+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=   6221.083     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      406 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .54412E-01    .47351E-01    .12594E-03    .63036E-03
   2  alpha         5.0000        .57149        .39335    ** at limit **
   3  Normalizat    .95038        .20670        .24493E-03    .77051E-05
   4  Prefactor     1.1189        .25860        .29418E-03   -.72113E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0544117
  alpha      = 5
  Normalizat = 0.950376
  Prefactor  = 1.11893
 **********
 **   18 **HESSE 
 **********

 FCN=   6221.083     FROM HESSE     STATUS=OK            31 CALLS      437 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .54412E-01    .44875E-01    .50376E-05   -1.5661    
   2  alpha         5.0000        .49435        .41703        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .95038        .20759        .97972E-05   -.94712    
   4  Prefactor     1.1189        .25920        .11767E-04   -.88864    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.30941e-11
Minuit parameter uncertainties:
  1  0.0448749
  2  9.66811e-06
  3  0.207769
  4  0.259496
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/768439': 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) = 6221.08330928
delta logL = 1.21770027527

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  5.441e-02  4.487e-02  1.000e-04  1.000e+04 ( 1.000e-14)
353        alpha:  5.000e+00  9.668e-06  0.000e+00  5.000e+00 ( 1.000e+00)
354         beta:  1.498e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  2.941e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
704    Prefactor:  1.119e+00  2.595e-01  0.000e+00  1.000e+01 ( 1.000e+00)
705        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
706        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
703   Normalization:  9.504e-01  2.078e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.68
Ra Dec: 171.243 49.567
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 7.03e-08 +/- 5.78e-08
Energy Flux (Free Index): 1.02e-05 +/- 8.40e-06

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/768439/cmap_HighResolution_620352001_620611201_4FGL_J1124.9+4934_daily_bin1470.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.77e-05', comment='SUCCESS', energy_flux2='1.02e-05', dlogl='1.22e+00', photon_flux2='7.03e-08', job_status='DONE', time_completed='2021-09-03 20:02:21.677169', photon_index_error2='0.00', photon_index2='5.00', ts='0.07', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='2.35e-08', energy_flux_error2='8.40e-06', EG='1.05', time_epoch_completed='1630724541.68', return_code='0', job_id='768439', GAL2='1.12', EG2='0.95', return_code2='0', photon_flux_error2='5.78e-08', ts2='2.68', photon_index='1.52' WHERE bin_id='1470' AND source_name='4FGL J1124.9+4934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 20:02:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 768439: <4FGL_J1124.9+4934_daily_bin1470> in cluster <slac> Done

Job <4FGL_J1124.9+4934_daily_bin1470> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep  3 19:46:18 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 19:47:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 19:47:24 2021
Terminated at Fri Sep  3 20:02:22 2021
Results reported at Fri Sep  3 20:02:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1124.9+4934_daily_bin1470 171.243 49.5674 620352001 620611201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1124.9+4934 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   875.05 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             334.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   897 sec.
    Turnaround time :                            964 sec.

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

