/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 165 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 = 7422
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1421.1-1120_daily_bin135
RA = 215.287, Dec = -11.3393
tmin = 274320001, tmax = 274579201
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='371450', job_status='RUN', time_executed='2021-09-09 11:04:36.161762', time_epoch_executed='1631210676.16' WHERE source_name='4FGL J1421.1-1120' and cadence='daily' and bin_id='135'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/371450

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/371450/ft1_4FGL_J1421.1-1120_daily_bin135.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/371450/ft2_4FGL_J1421.1-1120_daily_bin135.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/371450/ft1_4FGL_J1421.1-1120_daily_bin135.fits outfile=/scratch/kocevski/371450/ft1_filteredMKT_4FGL_J1421.1-1120_daily_bin135.fits ra=215.287 dec=-11.3393 rad=12.0 tmin=274320001.0 tmax=274579201.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.65
user 3.42
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/371450/ft1_filtered_4FGL_J1421.1-1120_daily_bin135.fits" evtable="EVENTS" scfile=/scratch/kocevski/371450/ft2_4FGL_J1421.1-1120_daily_bin135.fits sctable="SC_DATA" outfile=/scratch/kocevski/371450/ltcube_274320001_274579201_4FGL_J1421.1-1120_daily_bin135.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/371450/ft2_4FGL_J1421.1-1120_daily_bin135.fits
.....................!
real 11.81
user 11.44
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/371450/ft1_filtered_4FGL_J1421.1-1120_daily_bin135.fits evtable="EVENTS" scfile=/scratch/kocevski/371450/ft2_4FGL_J1421.1-1120_daily_bin135.fits sctable="SC_DATA" expcube=/scratch/kocevski/371450/ltcube_274320001_274579201_4FGL_J1421.1-1120_daily_bin135.fits outfile=/scratch/kocevski/371450/expmap_274320001_274579201_4FGL_J1421.1-1120_daily_bin135.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/371450/ltcube_274320001_274579201_4FGL_J1421.1-1120_daily_bin135.fits
.....................!
real 190.92
user 186.06
sys 4.50

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/371450/ft1_filtered_4FGL_J1421.1-1120_daily_bin135.fits scfile=/scratch/kocevski/371450/ft2_4FGL_J1421.1-1120_daily_bin135.fits outfile=/scratch/kocevski/371450/cmap_274320001_274579201_4FGL_J1421.1-1120_daily_bin135.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.58
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/371450/ft1_filtered_4FGL_J1421.1-1120_daily_bin135.fits scfile=/scratch/kocevski/371450/ft2_4FGL_J1421.1-1120_daily_bin135.fits outfile=/scratch/kocevski/371450/cmap_HighResolution_274320001_274579201_4FGL_J1421.1-1120_daily_bin135.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/371450/ft1_filtered_4FGL_J1421.1-1120_daily_bin135.fits evtable="EVENTS" scfile=/scratch/kocevski/371450/ft2_4FGL_J1421.1-1120_daily_bin135.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/371450/Model_4FGL_J1421.1-1120_daily_bin135.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/371450/ft1_filtered_4FGL_J1421.1-1120_daily_bin135.fits.....................!
real 82.43
user 80.98
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/371450/ft1_filtered_4FGL_J1421.1-1120_daily_bin135.fits', '/scratch/kocevski/371450/ft2_4FGL_J1421.1-1120_daily_bin135.fits', expMap='/scratch/kocevski/371450/expmap_274320001_274579201_4FGL_J1421.1-1120_daily_bin135.fits', expCube='/scratch/kocevski/371450/ltcube_274320001_274579201_4FGL_J1421.1-1120_daily_bin135.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/371450/Model_4FGL_J1421.1-1120_daily_bin135.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/371450/ft1_filtered_4FGL_J1421.1-1120_daily_bin135.fits
Spacecraft file(s): /scratch/kocevski/371450/ft2_4FGL_J1421.1-1120_daily_bin135.fits
Exposure map: /scratch/kocevski/371450/expmap_274320001_274579201_4FGL_J1421.1-1120_daily_bin135.fits
Exposure cube: /scratch/kocevski/371450/ltcube_274320001_274579201_4FGL_J1421.1-1120_daily_bin135.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/371450/Model_4FGL_J1421.1-1120_daily_bin135.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) = 11368.7371145

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1984       1.0000         .10000E-03   10000.    
     2 'norm      '    12.819       1.0000         .10000E-03   10000.    
     3 'norm      '    14.078       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.1359       1.0000         .10000E-03   10000.    
     7 'norm      '    3.0340       1.0000         .10000E-03   10000.    
     8 'norm      '    21.632       1.0000         .10000E-03   10000.    
     9 'norm      '    4.4201       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.000       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.5588       1.0000         .10000E-03   10000.    
    12 'norm      '    5.5135       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0455       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0482       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=   11367.73     FROM MIGRAD    STATUS=CONVERGED    331 CALLS     1405 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1978        4.5044        .28548E-05    .24733E-03
   2  norm          12.820        7.1510       -.20352E-05   -.33066E-03
   3  norm          14.079        4.7460       -.11891E-05   -.34267E-04
   4  Prefactor     .10000E-03    2.3384       -.67715E-07** at limit **
   5  Prefactor     .10000E-03    15.353       -.34998E-06** at limit **
   6  norm          1.1364        .46779       -.11639E-06   -.42538E-03
   7  norm          3.0340        1.8109        .12723E-06    .13582E-04
   8  norm          21.632        11.125        .22115E-07    .37581E-05
   9  norm          4.4203        3.8247       -.27437E-05   -.58434E-05
  10  Prefactor     9.9984        14.256       -.10353E-06    .16469E-04
  11  Prefactor     9.5589        9.5287        .28334E-07    .34057E-05
  12  norm          5.5135        6.0738       -.60136E-06    .18108E-05
  13  Prefactor     .10000E-03    2.6660        .17231E-07** at limit **
  14  Prefactor     .10000E-03    27.649        .30379E-05** at limit **
  15  Prefactor     .10000E-03    37.191       -.35870E-05** at limit **
  16  Normalizat    1.0455        .18570        .80615E-06   -.21596E-04
  17  Prefactor     1.0482        .89254E-01    .15600E-06   -.11361E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.19779
  norm       = 12.8204
  norm       = 14.0787
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.13637
  norm       = 3.03401
  norm       = 21.6316
  norm       = 4.42031
  Prefactor  = 9.99838
  Prefactor  = 9.55886
  norm       = 5.51345
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.04547
  Prefactor  = 1.04824
 **********
 **   18 **HESSE 
 **********

 FCN=   11367.73     FROM HESSE     STATUS=OK           229 CALLS     1634 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1978        4.3681        .36037E-03   -1.5489    
   2  norm          12.820        6.9883        .11188E-03   -1.4992    
   3  norm          14.079        4.7327        .10675E-03   -1.4957    
   4  Prefactor     .10000E-03    2.3879        .15906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    15.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.1364        5.3526        .21859E-02   -1.5495    
   7  norm          3.0340        1.8113        .53230E-03   -1.5360    
   8  norm          21.632        11.128        .86120E-04   -1.4777    
   9  norm          4.4203        3.7889        .18598E-03   -1.5287    
  10  Prefactor     9.9984        14.255        .12671E-03   -1.5075    
  11  Prefactor     9.5589        9.5312        .12962E-03   -1.5090    
  12  norm          5.5135        6.0684        .17111E-03   -1.5238    
  13  Prefactor     .10000E-03    2.7209        .16990E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    27.677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    37.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0455        .21787        .36234E-03   -.91522    
  17  Prefactor     1.0482        .10427        .17589E-03   -.91138    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.57709e-10
Minuit parameter uncertainties:
  1  4.36928
  2  6.98872
  3  4.73281
  4  7.7457e-06
  5  2.04685e-05
  6  4.93306
  7  1.81136
  8  11.1289
  9  3.78915
  10  14.2601
  11  9.53275
  12  6.06906
  13  2.76535e-06
  14  9.20629e-06
  15  3.30287e-06
  16  0.218057
  17  0.104289
Done.

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

Extracting fit parameters...

4FGL J1421.1-1120
   Spectrum: PowerLaw
302    Prefactor:  9.998e+00  1.426e+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:  1.048e+00  1.043e-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.045e+00  2.181e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.60
Ra Dec: 215.287 -11.339
Photon Flux Upper Limit: 8.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.79e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/371450/likelihoodResults_274320001_274579201_4FGL_J1421.1-1120_daily_bin135.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) = 11367.7265839
delta logL = 0.00167140123449

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11367.7256078
delta logL = 0.0026474113929

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.2567       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4385       1.0000          .0000       10.000    
     3 'Normalizat'    1.0440       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0485       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.

 FCN=   11367.73     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      229 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.2443        334.01        .32931E-02    .62789E-04
   2  Index         2.4419        3.2326        .23758        .10342E-03
   3  Normalizat    1.0440        .46506E-01    .81899E-01    .36674E-04
   4  Prefactor     1.0488        .22204E-01    .39996E-01    .44169E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.2443
  Index      = 2.44188
  Normalizat = 1.04396
  Prefactor  = 1.04878
 **********
 **   18 **HESSE 
 **********

 FCN=   11367.73     FROM HESSE     STATUS=OK            33 CALLS      262 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.2443        19.589        .13173E-03   -1.5100    
   2  Index         2.4419        1.1089        .10171E-01   -.53707    
   3  Normalizat    1.0440        .21405        .36257E-03   -.91572    
   4  Prefactor     1.0488        .10423        .17585E-03   -.91121    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92511e-11
Minuit parameter uncertainties:
  1  19.6028
  2  1.12162
  3  0.214225
  4  0.104255
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/371450': 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) = 11367.7255863
delta logL = 0.00266895711684

Extracting fit parameters...

4FGL J1421.1-1120
   Spectrum: PowerLaw
302    Prefactor:  9.244e+00  1.960e+01  1.000e-04  1.000e+04 ( 1.000e-13)
303        Index:  2.442e+00  1.122e+00  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:  1.049e+00  1.043e-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.044e+00  2.142e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.60
Ra Dec: 215.287 -11.339

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/371450/cmap_HighResolution_274320001_274579201_4FGL_J1421.1-1120_daily_bin135.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.79e-03', job_status='DONE', photon_flux_upper_limit='8.81e-08', time_completed='2021-09-09 11:16:02.830521', job_id='371450', GAL2='1.05', fit_tolerance='1e-08', EG2='1.04', EG='1.05', time_epoch_completed='1631211362.83', return_code2='0', ts='0.60', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='2.67e-03', ts2='0.60', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='135' AND source_name='4FGL J1421.1-1120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 11:16:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 371450: <4FGL_J1421.1-1120_daily_bin135> in cluster <slac> Done

Job <4FGL_J1421.1-1120_daily_bin135> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 11:01:39 2021
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 11:01:41 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:01:41 2021
Terminated at Thu Sep  9 11:16:03 2021
Results reported at Thu Sep  9 11:16:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1421.1-1120_daily_bin135 215.287 -11.3393 274320001 274579201 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 :                                   684.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             288.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   862 sec.
    Turnaround time :                            864 sec.

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

