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


Performing analysis on: 4FGL_J2031.2-4121_daily_bin1323
RA = 307.811, Dec = -41.3574
tmin = 582249601, tmax = 582508801
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='994141', job_status='RUN', time_executed='2021-09-25 09:07:32.550274', time_epoch_executed='1632586052.55' WHERE source_name='4FGL J2031.2-4121' and cadence='daily' and bin_id='1323'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/994141

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/994141/ft1_4FGL_J2031.2-4121_daily_bin1323.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/994141/ft2_4FGL_J2031.2-4121_daily_bin1323.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/994141/ft1_4FGL_J2031.2-4121_daily_bin1323.fits outfile=/scratch/kocevski/994141/ft1_filteredMKT_4FGL_J2031.2-4121_daily_bin1323.fits ra=307.811 dec=-41.3574 rad=12.0 tmin=582249601.0 tmax=582508801.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 5.40
user 5.10
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/994141/ft1_filtered_4FGL_J2031.2-4121_daily_bin1323.fits" evtable="EVENTS" scfile=/scratch/kocevski/994141/ft2_4FGL_J2031.2-4121_daily_bin1323.fits sctable="SC_DATA" outfile=/scratch/kocevski/994141/ltcube_582249601_582508801_4FGL_J2031.2-4121_daily_bin1323.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/994141/ft2_4FGL_J2031.2-4121_daily_bin1323.fits
.....................!
real 13.35
user 12.94
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/994141/ft1_filtered_4FGL_J2031.2-4121_daily_bin1323.fits evtable="EVENTS" scfile=/scratch/kocevski/994141/ft2_4FGL_J2031.2-4121_daily_bin1323.fits sctable="SC_DATA" expcube=/scratch/kocevski/994141/ltcube_582249601_582508801_4FGL_J2031.2-4121_daily_bin1323.fits outfile=/scratch/kocevski/994141/expmap_582249601_582508801_4FGL_J2031.2-4121_daily_bin1323.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/994141/ltcube_582249601_582508801_4FGL_J2031.2-4121_daily_bin1323.fits
.....................!
real 191.22
user 185.88
sys 4.77

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/994141/ft1_filtered_4FGL_J2031.2-4121_daily_bin1323.fits scfile=/scratch/kocevski/994141/ft2_4FGL_J2031.2-4121_daily_bin1323.fits outfile=/scratch/kocevski/994141/cmap_582249601_582508801_4FGL_J2031.2-4121_daily_bin1323.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/994141/ft1_filtered_4FGL_J2031.2-4121_daily_bin1323.fits scfile=/scratch/kocevski/994141/ft2_4FGL_J2031.2-4121_daily_bin1323.fits outfile=/scratch/kocevski/994141/cmap_HighResolution_582249601_582508801_4FGL_J2031.2-4121_daily_bin1323.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/994141/ft1_filtered_4FGL_J2031.2-4121_daily_bin1323.fits evtable="EVENTS" scfile=/scratch/kocevski/994141/ft2_4FGL_J2031.2-4121_daily_bin1323.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/994141/Model_4FGL_J2031.2-4121_daily_bin1323.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/994141/ft1_filtered_4FGL_J2031.2-4121_daily_bin1323.fits.....................!
real 63.44
user 61.54
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/994141/ft1_filtered_4FGL_J2031.2-4121_daily_bin1323.fits', '/scratch/kocevski/994141/ft2_4FGL_J2031.2-4121_daily_bin1323.fits', expMap='/scratch/kocevski/994141/expmap_582249601_582508801_4FGL_J2031.2-4121_daily_bin1323.fits', expCube='/scratch/kocevski/994141/ltcube_582249601_582508801_4FGL_J2031.2-4121_daily_bin1323.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/994141/Model_4FGL_J2031.2-4121_daily_bin1323.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/994141/ft1_filtered_4FGL_J2031.2-4121_daily_bin1323.fits
Spacecraft file(s): /scratch/kocevski/994141/ft2_4FGL_J2031.2-4121_daily_bin1323.fits
Exposure map: /scratch/kocevski/994141/expmap_582249601_582508801_4FGL_J2031.2-4121_daily_bin1323.fits
Exposure cube: /scratch/kocevski/994141/ltcube_582249601_582508801_4FGL_J2031.2-4121_daily_bin1323.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/994141/Model_4FGL_J2031.2-4121_daily_bin1323.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) = 7548.98484993

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.1622       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.681       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.4166       1.0000         .10000E-03   10000.    
     6 'norm      '    1.3716       1.0000         .10000E-03   10000.    
     7 'norm      '    12.240       1.0000         .10000E-03   10000.    
     8 'norm      '    20.982       1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.2441       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    61.275       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.2012       1.0000         .10000E-03   10000.    
    17 'norm      '    24.000       1.0000         .10000E-03   10000.    
    18 'Prefactor '    64.010       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.639       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.6474       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .78137       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=   7548.967     FROM MIGRAD    STATUS=CONVERGED    454 CALLS     2395 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1630        7.8386       -.21690E-06   -.72135E-04
   2  Prefactor     .10000E-03    17.628        .24185E-05** at limit **
   3  Prefactor     17.681        12.807       -.18306E-06   -.33595E-04
   4  norm          .10000E-03    8.3059        .45720E-06** at limit **
   5  Prefactor     1.4156        5.3595        .35844E-05   -.11591E-02
   6  norm          1.3716        .96863       -.28945E-07   -.20201E-03
   7  norm          12.239        11.185       -.93448E-06   -.42625E-04
   8  norm          20.988        23.587        .43424E-05    .29549E-04
   9  norm          .10000E-03    .46225        .14847E-07** at limit **
  10  Prefactor     .10000E-03    46.843       -.12820E-05** at limit **
  11  norm          2.2437        4.0724       -.26190E-05   -.88213E-03
  12  norm          .10000E-03    2.9084       -.14119E-07** at limit **
  13  norm          .10000E-03    8.2433       -.43411E-05** at limit **
  14  Prefactor     .10000E-03    13.569       -.24528E-05** at limit **
  15  Prefactor     61.276        66.322        .17805E-05    .66700E-05
  16  Prefactor     1.1952        133.06       -.21110E-04   -.54051E-04
  17  norm          24.001        4.1747        .11891E-06    .16426E-03
  18  Prefactor     64.007        42.087       -.26251E-05    .21801E-05
  19  Prefactor     .10000E-03    8.4485        .44339E-05** at limit **
  20  Prefactor     15.640        16.632        .18045E-06   -.14430E-05
  21  Normalizat    1.6471        .27914        .11570E-05    .20440E-05
  22  Prefactor     .78148        .10852       -.31688E-06    .94211E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.16297
  Prefactor  = 0.0001
  Prefactor  = 17.6809
  norm       = 0.0001
  Prefactor  = 1.41561
  norm       = 1.37163
  norm       = 12.2392
  norm       = 20.9881
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.24367
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 61.2762
  Prefactor  = 1.19523
  norm       = 24.0006
  Prefactor  = 64.007
  Prefactor  = 0.0001
  Prefactor  = 15.6404
  Normalizat = 1.64712
  Prefactor  = 0.781476
 **********
 **   18 **HESSE 
 **********

 FCN=   7548.967     FROM HESSE     STATUS=OK           344 CALLS     2739 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1630        7.8441        .14033E-03   -1.5136    
   2  Prefactor     .10000E-03    17.634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.681        12.817        .95250E-04   -1.4867    
   4  norm          .10000E-03    8.3103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.4156        5.0140        .35283E-03   -1.5470    
   6  norm          1.3716        .96755        .69066E-04   -1.5474    
   7  norm          12.239        11.192        .11450E-03   -1.5008    
   8  norm          20.988        23.665        .87440E-04   -1.4791    
   9  norm          .10000E-03    .46440        .57680E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    46.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.2437        4.2900        .23667E-03   -1.5408    
  12  norm          .10000E-03    2.9098        .14471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    8.1867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     61.276        66.355        .51259E-04   -1.4141    
  16  Prefactor     1.1952        145.52        .41410E-03   -1.5489    
  17  norm          24.001        4.2054        .69366E-04   -1.4728    
  18  Prefactor     64.007        42.346        .50159E-04   -1.4106    
  19  Prefactor     .10000E-03    8.4157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     15.640        16.637        .10128E-03   -1.4917    
  21  Normalizat    1.6471        .33081        .35517E-03   -.73724    
  22  Prefactor     .78148        .12812        .20074E-03   -1.0041    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37922e-09
Minuit parameter uncertainties:
  1  7.84513
  2  3.03793e-06
  3  12.8192
  4  7.92742e-07
  5  5.01551
  6  0.96756
  7  11.1941
  8  23.6754
  9  2.9631e-07
  10  1.80557e-05
  11  4.29063
  12  1.37664e-06
  13  1.45986e-06
  14  1.3681e-06
  15  66.435
  16  26.4418
  17  4.20544
  18  42.3664
  19  1.65202e-05
  20  16.6424
  21  0.331258
  22  0.12817
Done.

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

Extracting fit parameters...

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  1.000e-04  1.460e-06  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.815e-01  1.282e-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.647e+00  3.313e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/994141/likelihoodResults_582249601_582508801_4FGL_J2031.2-4121_daily_bin1323.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) = 7548.96781976
delta logL = -0.000579722872317

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7548.96724002
delta logL = 1.91330400412e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2678       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6471       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78148       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=   7548.967     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      234 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    446.91        .18142E-01** at limit **
   2  alpha         1.3711        2.6238        .16551        .42930E-07
   3  Normalizat    1.6471        .47240E-01    .35517E-03   -.10255E-02
   4  Prefactor     .78147        .19399E-01    .20074E-03   -.17824E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.37114
  Normalizat = 1.64712
  Prefactor  = 0.781474
 **********
 **   18 **HESSE 
 **********

 FCN=   7548.967     FROM HESSE     STATUS=OK            23 CALLS      257 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.817        .27708E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.3711        3.1205        .66205E-02   -.46849    
   3  Normalizat    1.6471        .30268        .71033E-04   -.73724    
   4  Prefactor     .78147        .12438        .40148E-04   -1.0041    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0599e-09
Minuit parameter uncertainties:
  1  9.39517e-05
  2  534.322
  3  0.303021
  4  0.124424
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/994141': 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) = 7548.96723861
delta logL = 1.42855242302e-06

Extracting fit parameters...

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  1.000e-04  9.395e-05  1.000e-04  1.000e+04 ( 1.000e-13)
279        alpha:  1.371e+00  5.343e+02  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.815e-01  1.244e-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.647e+00  3.030e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/994141/cmap_HighResolution_582249601_582508801_4FGL_J2031.2-4121_daily_bin1323.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.58e-05', job_status='DONE', photon_flux_upper_limit='3.29e-08', time_completed='2021-09-25 09:19:24.004840', job_id='994141', GAL2='0.78', fit_tolerance='1e-08', EG2='1.65', EG='1.65', time_epoch_completed='1632586764.0', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='1.43e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1323' AND source_name='4FGL J2031.2-4121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 09:19:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 994141: <4FGL_J2031.2-4121_daily_bin1323> in cluster <slac> Done

Job <4FGL_J2031.2-4121_daily_bin1323> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Sep 25 09:05:34 2021
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 09:06:05 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 09:06:05 2021
Terminated at Sat Sep 25 09:19:25 2021
Results reported at Sat Sep 25 09:19:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2031.2-4121_daily_bin1323 307.811 -41.3574 582249601 582508801 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 :                                   707.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             332.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            831 sec.

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

