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


Performing analysis on: 4FGL_J2031.2-4121_daily_bin753
RA = 307.811, Dec = -41.3574
tmin = 434505601, tmax = 434764801
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='990688', job_status='RUN', time_executed='2021-09-25 08:58:16.683630', time_epoch_executed='1632585496.68' WHERE source_name='4FGL J2031.2-4121' and cadence='daily' and bin_id='753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/990688

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/990688/ft1_4FGL_J2031.2-4121_daily_bin753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/990688/ft2_4FGL_J2031.2-4121_daily_bin753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/990688/ft1_4FGL_J2031.2-4121_daily_bin753.fits outfile=/scratch/kocevski/990688/ft1_filteredMKT_4FGL_J2031.2-4121_daily_bin753.fits ra=307.811 dec=-41.3574 rad=12.0 tmin=434505601.0 tmax=434764801.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 6.05
user 5.65
sys 0.32

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/990688/ft2_4FGL_J2031.2-4121_daily_bin753.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/990688/ft2_4FGL_J2031.2-4121_daily_bin753.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/990688/ft1_filteredMKT_4FGL_J2031.2-4121_daily_bin753.fits evtable="EVENTS" outfile="/scratch/kocevski/990688/ft1_filtered_4FGL_J2031.2-4121_daily_bin753.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.56
user 0.34
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/990688/ft1_filtered_4FGL_J2031.2-4121_daily_bin753.fits" evtable="EVENTS" scfile=/scratch/kocevski/990688/ft2_4FGL_J2031.2-4121_daily_bin753.fits sctable="SC_DATA" outfile=/scratch/kocevski/990688/ltcube_434505601_434764801_4FGL_J2031.2-4121_daily_bin753.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/990688/ft2_4FGL_J2031.2-4121_daily_bin753.fits
.....................!
real 13.77
user 12.96
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/990688/ft1_filtered_4FGL_J2031.2-4121_daily_bin753.fits evtable="EVENTS" scfile=/scratch/kocevski/990688/ft2_4FGL_J2031.2-4121_daily_bin753.fits sctable="SC_DATA" expcube=/scratch/kocevski/990688/ltcube_434505601_434764801_4FGL_J2031.2-4121_daily_bin753.fits outfile=/scratch/kocevski/990688/expmap_434505601_434764801_4FGL_J2031.2-4121_daily_bin753.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/990688/ltcube_434505601_434764801_4FGL_J2031.2-4121_daily_bin753.fits
.....................!
real 192.41
user 186.09
sys 5.35

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

Setting source of interest to:
4FGL J2031.2-4121 @ 307.811 -41.3574

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/990688/ft1_filtered_4FGL_J2031.2-4121_daily_bin753.fits scfile=/scratch/kocevski/990688/ft2_4FGL_J2031.2-4121_daily_bin753.fits outfile=/scratch/kocevski/990688/cmap_434505601_434764801_4FGL_J2031.2-4121_daily_bin753.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=307.811 yref=-41.3574 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/990688/ft1_filtered_4FGL_J2031.2-4121_daily_bin753.fits scfile=/scratch/kocevski/990688/ft2_4FGL_J2031.2-4121_daily_bin753.fits outfile=/scratch/kocevski/990688/cmap_HighResolution_434505601_434764801_4FGL_J2031.2-4121_daily_bin753.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=307.811 yref=-41.3574 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.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/990688/ft1_filtered_4FGL_J2031.2-4121_daily_bin753.fits evtable="EVENTS" scfile=/scratch/kocevski/990688/ft2_4FGL_J2031.2-4121_daily_bin753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/990688/Model_4FGL_J2031.2-4121_daily_bin753.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/990688/ft1_filtered_4FGL_J2031.2-4121_daily_bin753.fits.....................!
real 47.04
user 45.62
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/990688/ft1_filtered_4FGL_J2031.2-4121_daily_bin753.fits', '/scratch/kocevski/990688/ft2_4FGL_J2031.2-4121_daily_bin753.fits', expMap='/scratch/kocevski/990688/expmap_434505601_434764801_4FGL_J2031.2-4121_daily_bin753.fits', expCube='/scratch/kocevski/990688/ltcube_434505601_434764801_4FGL_J2031.2-4121_daily_bin753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/990688/Model_4FGL_J2031.2-4121_daily_bin753.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2031.2-4121'

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  1.668e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
279        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
280         beta:  5.212e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/990688/ft1_filtered_4FGL_J2031.2-4121_daily_bin753.fits
Spacecraft file(s): /scratch/kocevski/990688/ft2_4FGL_J2031.2-4121_daily_bin753.fits
Exposure map: /scratch/kocevski/990688/expmap_434505601_434764801_4FGL_J2031.2-4121_daily_bin753.fits
Exposure cube: /scratch/kocevski/990688/ltcube_434505601_434764801_4FGL_J2031.2-4121_daily_bin753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/990688/Model_4FGL_J2031.2-4121_daily_bin753.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) = 4919.60710123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11858E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.011       1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.125       1.0000         .10000E-03   10000.    
     4 'norm      '    .10303E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .32135E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.1008       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.2502       1.0000         .10000E-03   10000.    
     9 'norm      '    2.2339       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10296E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.8878       1.0000         .10000E-03   10000.    
    13 'norm      '    18.875       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.035       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .14013E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    5.6637       1.0000         .10000E-03   10000.    
    18 'Prefactor '    52.010       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .38093E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2399       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .76722       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4919.591     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2387 TOTAL
                     EDM=   .76E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.765       -.20355E-06** at limit **
   2  Prefactor     19.037        30.642       -.58009E-06   -.11518E-04
   3  Prefactor     18.126        16.510       -.22904E-05   -.47384E-04
   4  norm          .10000E-03    10.647        .14429E-06** at limit **
   5  Prefactor     .10000E-03    22.761       -.61064E-05** at limit **
   6  norm          1.1006        1.0185        .54615E-07    .13277E-03
   7  norm          .10000E-03    3.4735        .75591E-07** at limit **
   8  norm          6.2552        22.694       -.43065E-06    .64511E-05
   9  norm          2.2338        1.7370        .56596E-07    .94139E-05
  10  Prefactor     .10000E-03    28.177        .19707E-06** at limit **
  11  norm          .10000E-03    3.0714       -.98957E-07** at limit **
  12  norm          6.8891        10.968       -.34843E-06   -.22661E-04
  13  norm          18.880        25.642        .11859E-05    .20264E-04
  14  Prefactor     14.100        38.326       -.37596E-05   -.25777E-04
  15  Prefactor     .10000E-03    145.93       -.49285E-05** at limit **
  16  Prefactor     .10000E-03    36.626        .44954E-06** at limit **
  17  norm          5.6644        2.8790       -.10659E-06    .32953E-04
  18  Prefactor     51.998        34.277        .13295E-06    .13233E-04
  19  Prefactor     .10000E-03    5.2329        .28684E-07** at limit **
  20  Prefactor     .10000E-03    93.566       -.61401E-05** at limit **
  21  Normalizat    1.2398        .26963        .12618E-05   -.11840E-03
  22  Prefactor     .76743        .11256       -.10946E-05    .31313E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 19.037
  Prefactor  = 18.1265
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.10063
  norm       = 0.0001
  norm       = 6.25519
  norm       = 2.23377
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.88907
  norm       = 18.8797
  Prefactor  = 14.1003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.66438
  Prefactor  = 51.9985
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.23982
  Prefactor  = 0.767425
 **********
 **   18 **HESSE 
 **********

 FCN=   4919.591     FROM HESSE     STATUS=OK           346 CALLS     2733 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     19.037        30.662        .91859E-04   -1.4835    
   3  Prefactor     18.126        16.643        .47038E-03   -1.4856    
   4  norm          .10000E-03    10.658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    22.603        .26645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.1006        1.0021        .65606E-04   -1.5498    
   7  norm          .10000E-03    3.4770        .12767E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.2552        22.704        .16057E-03   -1.5208    
   9  norm          2.2338        1.7406        .79372E-04   -1.5409    
  10  Prefactor     .10000E-03    28.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.1284        .11988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.8891        10.979        .15287E-03   -1.5183    
  13  norm          18.880        25.719        .92189E-04   -1.4839    
  14  Prefactor     14.100        38.534        .10691E-03   -1.4957    
  15  Prefactor     .10000E-03    146.18        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    36.885        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.6644        2.8830        .79836E-04   -1.5232    
  18  Prefactor     51.998        34.341        .55612E-04   -1.4265    
  19  Prefactor     .10000E-03    5.2685        .15667E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    95.375        .21286E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2398        .30917        .32189E-03   -.85381    
  22  Prefactor     .76743        .12795        .16984E-03   -1.0094    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78785e-10
Minuit parameter uncertainties:
  1  7.60781e-05
  2  30.6876
  3  16.6469
  4  2.3414e-05
  5  5.66395e-05
  6  1.00216
  7  5.14117e-06
  8  22.7353
  9  1.74066
  10  1.85512e-05
  11  6.80312e-06
  12  10.982
  13  25.7337
  14  38.6025
  15  0.000135336
  16  8.7536e-06
  17  2.88302
  18  34.3536
  19  5.11384e-07
  20  0.000189542
  21  0.309627
  22  0.128
Done.

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

Extracting fit parameters...

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  1.888e+01  2.573e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
280         beta:  5.212e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  7.674e-01  1.280e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.240e+00  3.096e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.96
Ra Dec: 307.811 -41.357
Photon Flux Upper Limit: 7.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.60e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/990688/likelihoodResults_434505601_434764801_4FGL_J2031.2-4121_daily_bin753.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) = 4919.58462261
delta logL = 0.00672023823245

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4919.58315287
delta logL = 0.00818998588329

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    20.340       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0783       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2414       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76734       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+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=   4919.583     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      277 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          20.342        28.820        .88808E-04    .14081E-05
   2  alpha         2.0782        1.4786        .36572E-01    .46665E-04
   3  Normalizat    1.2415        .29201        .32170E-03   -.12899E-04
   4  Prefactor     .76725        .12528        .16986E-03   -.73623E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 20.342
  alpha      = 2.07824
  Normalizat = 1.24155
  Prefactor  = 0.767255
 **********
 **   18 **HESSE 
 **********

 FCN=   4919.583     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          20.342        28.284        .35523E-05   -1.4806    
   2  alpha         2.0782        1.4548        .73144E-02   -.16951    
   3  Normalizat    1.2415        .29216        .12868E-04   -.85328    
   4  Prefactor     .76725        .12537        .67944E-05   -1.0095    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31558e-12
Minuit parameter uncertainties:
  1  28.3029
  2  1.55621
  3  0.292549
  4  0.125421
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/990688': 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) = 4919.58315261
delta logL = 0.00819023777694

Extracting fit parameters...

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  2.034e+01  2.830e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        alpha:  2.078e+00  1.556e+00  0.000e+00  5.000e+00 ( 1.000e+00)
280         beta:  5.212e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  7.673e-01  1.254e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.242e+00  2.925e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.96
Ra Dec: 307.811 -41.357

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/990688/cmap_HighResolution_434505601_434764801_4FGL_J2031.2-4121_daily_bin753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.60e-05', job_status='DONE', photon_flux_upper_limit='7.14e-08', time_completed='2021-09-25 09:08:00.298276', job_id='990688', GAL2='0.77', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1632586080.3', return_code2='0', ts='0.96', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='8.19e-03', ts2='0.98', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='753' AND source_name='4FGL J2031.2-4121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 09:08:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 990688: <4FGL_J2031.2-4121_daily_bin753> in cluster <slac> Done

Job <4FGL_J2031.2-4121_daily_bin753> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 25 08:55:32 2021
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 08:57:14 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 08:57:14 2021
Terminated at Sat Sep 25 09:08:01 2021
Results reported at Sat Sep 25 09:08:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2031.2-4121_daily_bin753 307.811 -41.3574 434505601 434764801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2031.2-4121 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   579.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             313.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   646 sec.
    Turnaround time :                            749 sec.

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

