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


Performing analysis on: 4FGL_J1421.1-1120_daily_bin775
RA = 215.287, Dec = -11.3393
tmin = 440208001, tmax = 440467201
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='375510', job_status='RUN', time_executed='2021-09-09 11:19:44.253344', time_epoch_executed='1631211584.25' WHERE source_name='4FGL J1421.1-1120' and cadence='daily' and bin_id='775'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/375510

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/375510/ft1_4FGL_J1421.1-1120_daily_bin775.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/375510/ft2_4FGL_J1421.1-1120_daily_bin775.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/375510/ft1_4FGL_J1421.1-1120_daily_bin775.fits outfile=/scratch/kocevski/375510/ft1_filteredMKT_4FGL_J1421.1-1120_daily_bin775.fits ra=215.287 dec=-11.3393 rad=12.0 tmin=440208001.0 tmax=440467201.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.47
user 3.21
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/375510/ft2_4FGL_J1421.1-1120_daily_bin775.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/375510/ft2_4FGL_J1421.1-1120_daily_bin775.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/375510/ft1_filteredMKT_4FGL_J1421.1-1120_daily_bin775.fits evtable="EVENTS" outfile="/scratch/kocevski/375510/ft1_filtered_4FGL_J1421.1-1120_daily_bin775.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/375510/ft1_filtered_4FGL_J1421.1-1120_daily_bin775.fits" evtable="EVENTS" scfile=/scratch/kocevski/375510/ft2_4FGL_J1421.1-1120_daily_bin775.fits sctable="SC_DATA" outfile=/scratch/kocevski/375510/ltcube_440208001_440467201_4FGL_J1421.1-1120_daily_bin775.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/375510/ft2_4FGL_J1421.1-1120_daily_bin775.fits
.....................!
real 11.98
user 11.59
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/375510/ft1_filtered_4FGL_J1421.1-1120_daily_bin775.fits evtable="EVENTS" scfile=/scratch/kocevski/375510/ft2_4FGL_J1421.1-1120_daily_bin775.fits sctable="SC_DATA" expcube=/scratch/kocevski/375510/ltcube_440208001_440467201_4FGL_J1421.1-1120_daily_bin775.fits outfile=/scratch/kocevski/375510/expmap_440208001_440467201_4FGL_J1421.1-1120_daily_bin775.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/375510/ltcube_440208001_440467201_4FGL_J1421.1-1120_daily_bin775.fits
.....................!
real 190.64
user 185.18
sys 5.08

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 J1421.1-1120 @ 215.287 -11.3393

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/375510/ft1_filtered_4FGL_J1421.1-1120_daily_bin775.fits scfile=/scratch/kocevski/375510/ft2_4FGL_J1421.1-1120_daily_bin775.fits outfile=/scratch/kocevski/375510/cmap_440208001_440467201_4FGL_J1421.1-1120_daily_bin775.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=215.287 yref=-11.3393 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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/375510/ft1_filtered_4FGL_J1421.1-1120_daily_bin775.fits scfile=/scratch/kocevski/375510/ft2_4FGL_J1421.1-1120_daily_bin775.fits outfile=/scratch/kocevski/375510/cmap_HighResolution_440208001_440467201_4FGL_J1421.1-1120_daily_bin775.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=215.287 yref=-11.3393 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.59
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/375510/ft1_filtered_4FGL_J1421.1-1120_daily_bin775.fits evtable="EVENTS" scfile=/scratch/kocevski/375510/ft2_4FGL_J1421.1-1120_daily_bin775.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/375510/Model_4FGL_J1421.1-1120_daily_bin775.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/375510/ft1_filtered_4FGL_J1421.1-1120_daily_bin775.fits.....................!
real 81.27
user 79.77
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/375510/ft1_filtered_4FGL_J1421.1-1120_daily_bin775.fits', '/scratch/kocevski/375510/ft2_4FGL_J1421.1-1120_daily_bin775.fits', expMap='/scratch/kocevski/375510/expmap_440208001_440467201_4FGL_J1421.1-1120_daily_bin775.fits', expCube='/scratch/kocevski/375510/ltcube_440208001_440467201_4FGL_J1421.1-1120_daily_bin775.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/375510/Model_4FGL_J1421.1-1120_daily_bin775.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1421.1-1120'

4FGL J1421.1-1120
   Spectrum: PowerLaw
302    Prefactor:  4.817e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
303        Index:  2.371e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.097e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/375510/ft1_filtered_4FGL_J1421.1-1120_daily_bin775.fits
Spacecraft file(s): /scratch/kocevski/375510/ft2_4FGL_J1421.1-1120_daily_bin775.fits
Exposure map: /scratch/kocevski/375510/expmap_440208001_440467201_4FGL_J1421.1-1120_daily_bin775.fits
Exposure cube: /scratch/kocevski/375510/ltcube_440208001_440467201_4FGL_J1421.1-1120_daily_bin775.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/375510/Model_4FGL_J1421.1-1120_daily_bin775.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) = 10871.0602407

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    8.5523       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.7189       1.0000         .10000E-03   10000.    
     6 'norm      '    1.3492       1.0000         .10000E-03   10000.    
     7 'norm      '    2.0457       1.0000         .10000E-03   10000.    
     8 'norm      '    4.6866       1.0000         .10000E-03   10000.    
     9 'norm      '    8.6927       1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.330       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.2741       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .20074E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    57.566       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.8545       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1378       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .91742       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=   10871.05     FROM MIGRAD    STATUS=CONVERGED    348 CALLS     1610 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.8609        .62579E-09** at limit **
   2  norm          8.5517        4.5629        .50156E-08   -.35694E-04
   3  norm          .10000E-03    .89592       -.81937E-08** at limit **
   4  Prefactor     .10000E-03    2.1081       -.50921E-07** at limit **
   5  Prefactor     2.7199        26.443       -.39246E-07   -.19274E-04
   6  norm          1.3488        3.0020        .64304E-06   -.56323E-04
   7  norm          2.0454        1.5583        .45164E-07   -.71202E-04
   8  norm          4.6865        4.8212       -.36984E-07    .20526E-04
   9  norm          8.6912        5.9719        .12941E-06   -.17582E-04
  10  Prefactor     24.370        16.161       -.25723E-07   -.65686E-04
  11  Prefactor     2.2747        11.520        .16467E-05    .32521E-05
  12  norm          .10000E-03    1.8862        .14693E-07** at limit **
  13  Prefactor     .10001E-03    2.8682        .28404E-05** at limit **
  14  Prefactor     57.645        49.171       -.68472E-06   -.47604E-03
  15  Prefactor     5.9080        50.957       -.12033E-04   -.23352E-03
  16  Normalizat    1.1379        .17238       -.36367E-06   -.36506E-03
  17  Prefactor     .91744        .82004E-01   -.15946E-06   -.72044E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 8.55167
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.71991
  norm       = 1.3488
  norm       = 2.04536
  norm       = 4.68652
  norm       = 8.69121
  Prefactor  = 24.3698
  Prefactor  = 2.27466
  norm       = 0.0001
  Prefactor  = 0.000100011
  Prefactor  = 57.6452
  Prefactor  = 5.908
  Normalizat = 1.13789
  Prefactor  = 0.917444
 **********
 **   18 **HESSE 
 **********

 FCN=   10871.05     FROM HESSE     STATUS=OK           227 CALLS     1837 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.8768        .13867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.5517        4.5585        .13707E-03   -1.5123    
   3  norm          .10000E-03    .90092        .96366E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.1602        .29502E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.7199        26.481        .24699E-03   -1.5378    
   6  norm          1.3488        2.9497        .26061E-03   -1.5476    
   7  norm          2.0454        1.5530        .10886E-03   -1.5422    
   8  norm          4.6865        4.8256        .18589E-03   -1.5275    
   9  norm          8.6912        5.9645        .13595E-03   -1.5118    
  10  Prefactor     24.370        16.171        .81210E-04   -1.4720    
  11  Prefactor     2.2747        11.437        .27231E-03   -1.5406    
  12  norm          .10000E-03    1.8880        .13984E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    4.9266        .29146E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     57.645        50.370        .52875E-04   -1.4188    
  15  Prefactor     5.9080        54.230        .16598E-03   -1.5222    
  16  Normalizat    1.1379        .20112        .32681E-03   -.88544    
  17  Prefactor     .91744        .96158E-01    .17380E-03   -.95534    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.40233e-09
Minuit parameter uncertainties:
  1  1.12631e-06
  2  4.55869
  3  3.00214e-07
  4  2.35054e-06
  5  16.9833
  6  2.95004
  7  1.55304
  8  4.82602
  9  5.96492
  10  16.1743
  11  10.2041
  12  8.20511e-07
  13  0.000471849
  14  50.4073
  15  35.8417
  16  0.201253
  17  0.0961755
Done.

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

Extracting fit parameters...

4FGL J1421.1-1120
   Spectrum: PowerLaw
302    Prefactor:  2.437e+01  1.617e+01  1.000e-04  1.000e+04 ( 1.000e-13)
303        Index:  2.371e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.097e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  9.174e-01  9.618e-02  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.138e+00  2.013e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.46
Ra Dec: 215.287 -11.339
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 5.21e-08 +/- 3.46e-08
Energy Flux (Fixed Index): 1.78e-05 +/- 1.18e-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) = 10870.9184619
delta logL = 0.131226311156

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10870.905462
delta logL = 0.144226170334

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.999       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6778       1.0000          .0000       10.000    
     3 'Normalizat'    1.1185       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92221       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=   10870.91     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      289 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.995        18.862        .91888E-04    .70255E-03
   2  Index         2.6776        .64892        .69126E-02    .21198E-03
   3  Normalizat    1.1187        .20132        .32913E-03   -.63423E-03
   4  Prefactor     .92223        .95933E-01    .17337E-03   -.13756E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.995
  Index      = 2.67755
  Normalizat = 1.11866
  Prefactor  = 0.922225
 **********
 **   18 **HESSE 
 **********

 FCN=   10870.91     FROM HESSE     STATUS=OK            25 CALLS      314 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.995        16.730        .18378E-04   -1.4836    
   2  Index         2.6776        .57525        .27650E-03   -.48306    
   3  Normalizat    1.1187        .20099        .65827E-04   -.89155    
   4  Prefactor     .92223        .95877E-01    .34675E-04   -.95369    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06948e-09
Minuit parameter uncertainties:
  1  16.7341
  2  0.576878
  3  0.201126
  4  0.0958943
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/375510': 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) = 10870.9054597
delta logL = 0.144228463962

Extracting fit parameters...

4FGL J1421.1-1120
   Spectrum: PowerLaw
302    Prefactor:  1.899e+01  1.673e+01  1.000e-04  1.000e+04 ( 1.000e-13)
303        Index:  2.678e+00  5.769e-01  0.000e+00  1.000e+01 (-1.000e+00)
304        Scale:  1.097e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  9.222e-01  9.589e-02  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.119e+00  2.011e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.78
Ra Dec: 215.287 -11.339
Photon Index (Free Index): 2.68 +/- 0.58
Photon Flux (Free Index): 6.92e-08 +/- 4.86e-08
Energy Flux (Free Index): 1.69e-05 +/- 1.01e-05

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/375510/cmap_HighResolution_440208001_440467201_4FGL_J1421.1-1120_daily_bin775.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.21e-08', energy_flux2='1.69e-05', photon_flux_error='3.46e-08', dlogl='1.44e-01', energy_flux='1.78e-05', photon_flux2='6.92e-08', job_status='DONE', time_completed='2021-09-09 11:30:20.366413', photon_index_error2='0.58', photon_index2='2.68', ts='4.46', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='1.01e-05', EG='1.14', time_epoch_completed='1631212220.37', return_code='0', job_id='375510', GAL2='0.92', EG2='1.12', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='4.86e-08', ts2='4.78', photon_index='2.37' WHERE bin_id='775' AND source_name='4FGL J1421.1-1120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 11:30:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 375510: <4FGL_J1421.1-1120_daily_bin775> in cluster <slac> Done

Job <4FGL_J1421.1-1120_daily_bin775> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 11:16:28 2021
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 11:16:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 11:16:29 2021
Terminated at Thu Sep  9 11:30:21 2021
Results reported at Thu Sep  9 11:30:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1421.1-1120_daily_bin775 215.287 -11.3393 440208001 440467201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1421.1-1120 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   635.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             304.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            833 sec.

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

