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


Performing analysis on: 4FGL_J1421.1-1120_daily_bin1105
RA = 215.287, Dec = -11.3393
tmin = 525744001, tmax = 526003201
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='376935', job_status='RUN', time_executed='2021-09-09 11:25:11.376884', time_epoch_executed='1631211911.38' WHERE source_name='4FGL J1421.1-1120' and cadence='daily' and bin_id='1105'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/376935

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/376935/ft1_4FGL_J1421.1-1120_daily_bin1105.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/376935/ft2_4FGL_J1421.1-1120_daily_bin1105.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/376935/ft1_4FGL_J1421.1-1120_daily_bin1105.fits outfile=/scratch/kocevski/376935/ft1_filteredMKT_4FGL_J1421.1-1120_daily_bin1105.fits ra=215.287 dec=-11.3393 rad=12.0 tmin=525744001.0 tmax=526003201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.61
user 4.16
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/376935/ft1_filtered_4FGL_J1421.1-1120_daily_bin1105.fits" evtable="EVENTS" scfile=/scratch/kocevski/376935/ft2_4FGL_J1421.1-1120_daily_bin1105.fits sctable="SC_DATA" outfile=/scratch/kocevski/376935/ltcube_525744001_526003201_4FGL_J1421.1-1120_daily_bin1105.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/376935/ft2_4FGL_J1421.1-1120_daily_bin1105.fits
.....................!
real 11.66
user 11.33
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/376935/ft1_filtered_4FGL_J1421.1-1120_daily_bin1105.fits evtable="EVENTS" scfile=/scratch/kocevski/376935/ft2_4FGL_J1421.1-1120_daily_bin1105.fits sctable="SC_DATA" expcube=/scratch/kocevski/376935/ltcube_525744001_526003201_4FGL_J1421.1-1120_daily_bin1105.fits outfile=/scratch/kocevski/376935/expmap_525744001_526003201_4FGL_J1421.1-1120_daily_bin1105.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/376935/ltcube_525744001_526003201_4FGL_J1421.1-1120_daily_bin1105.fits
.....................!
real 191.05
user 186.68
sys 3.98

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/376935/ft1_filtered_4FGL_J1421.1-1120_daily_bin1105.fits scfile=/scratch/kocevski/376935/ft2_4FGL_J1421.1-1120_daily_bin1105.fits outfile=/scratch/kocevski/376935/cmap_525744001_526003201_4FGL_J1421.1-1120_daily_bin1105.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/376935/ft1_filtered_4FGL_J1421.1-1120_daily_bin1105.fits scfile=/scratch/kocevski/376935/ft2_4FGL_J1421.1-1120_daily_bin1105.fits outfile=/scratch/kocevski/376935/cmap_HighResolution_525744001_526003201_4FGL_J1421.1-1120_daily_bin1105.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/376935/ft1_filtered_4FGL_J1421.1-1120_daily_bin1105.fits evtable="EVENTS" scfile=/scratch/kocevski/376935/ft2_4FGL_J1421.1-1120_daily_bin1105.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/376935/Model_4FGL_J1421.1-1120_daily_bin1105.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/376935/ft1_filtered_4FGL_J1421.1-1120_daily_bin1105.fits.....................!
real 62.28
user 60.99
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.6003       1.0000         .10000E-03   10000.    
     2 'norm      '    .10277E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.7655       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10925E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.2757       1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    9.2136       1.0000         .10000E-03   10000.    
     9 'norm      '    13.511       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.014       1.0000         .10000E-03   10000.    
    12 'norm      '    6.7518       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10429E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    54.437       1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.041       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.5074       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .80621       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=   7568.671     FROM MIGRAD    STATUS=CONVERGED    346 CALLS     2187 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.5993        7.1688       -.25087E-05   -.25260E-03
   2  norm          .10000E-03    8.8371        .97394E-07** at limit **
   3  norm          .10000E-03    1.0740       -.58077E-08** at limit **
   4  Prefactor     1.7680        6.4281        .37946E-05    .95895E-03
   5  Prefactor     .10001E-03    72.436       -.46799E-05** at limit **
   6  norm          4.2727        8.3615       -.17398E-05    .13870E-04
   7  norm          .10000E-03    1.4146        .19808E-07** at limit **
   8  norm          9.2134        8.2648        .18756E-07   -.27045E-05
   9  norm          13.510        7.5912        .27479E-06   -.12708E-03
  10  Prefactor     .10000E-03    8.6574       -.34297E-07** at limit **
  11  Prefactor     11.013        11.377        .67466E-07    .20040E-04
  12  norm          6.7532        9.1222       -.12129E-06    .16469E-03
  13  Prefactor     .10098E-03    26.815       -.77483E-05** at limit **
  14  Prefactor     54.387        88.389        .20439E-05    .29335E-03
  15  Prefactor     17.050        55.285       -.27498E-05    .16699E-03
  16  Normalizat    1.5074        .22784       -.18223E-05    .36009E-03
  17  Prefactor     .80619        .10029        .24498E-06    .63240E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.59928
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.76803
  Prefactor  = 0.000100012
  norm       = 4.27268
  norm       = 0.0001
  norm       = 9.21344
  norm       = 13.51
  Prefactor  = 0.0001
  Prefactor  = 11.013
  norm       = 6.75318
  Prefactor  = 0.000100982
  Prefactor  = 54.3874
  Prefactor  = 17.0496
  Normalizat = 1.50736
  Prefactor  = 0.806189
 **********
 **   18 **HESSE 
 **********

 FCN=   7568.671     FROM HESSE     STATUS=OK           233 CALLS     2420 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.5993        7.3443        .12934E-03   -1.5088    
   2  norm          .10000E-03    51.493        .37346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.0749        .88051E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.7680        8.1069        .15763E-02   -1.5442    
   5  Prefactor     .10001E-03    72.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.2727        8.8273        .19484E-03   -1.5295    
   7  norm          .10000E-03    1.4642        .20188E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          9.2134        8.2670        .13204E-03   -1.5101    
   9  norm          13.510        7.5914        .10897E-03   -1.4973    
  10  Prefactor     .10000E-03    8.6737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.013        11.378        .12072E-03   -1.5044    
  12  norm          6.7532        9.1184        .15442E-03   -1.5188    
  13  Prefactor     .10098E-03    16.755        .52586E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     54.387        126.76        .54365E-04   -1.4232    
  15  Prefactor     17.050        55.396        .97021E-04   -1.4882    
  16  Normalizat    1.5074        .26621        .31930E-03   -.77572    
  17  Prefactor     .80619        .11764        .19076E-03   -.99501    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.56417e-09
Minuit parameter uncertainties:
  1  7.345
  2  0.000272188
  3  2.93038e-06
  4  7.57333
  5  0.00185253
  6  8.83003
  7  5.89601e-06
  8  8.26798
  9  7.59193
  10  2.00575e-05
  11  11.3805
  12  9.12029
  13  0.00811431
  14  127.392
  15  55.5634
  16  0.26646
  17  0.117678
Done.

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

Extracting fit parameters...

4FGL J1421.1-1120
   Spectrum: PowerLaw
302    Prefactor:  1.000e-04  2.006e-05  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:  8.062e-01  1.177e-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.507e+00  2.665e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/376935/likelihoodResults_525744001_526003201_4FGL_J1421.1-1120_daily_bin1105.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) = 7568.67118402
delta logL = -0.000549246462469

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7568.67063459
delta logL = 1.84146301763e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3431       1.0000          .0000       10.000    
     3 'Normalizat'    1.5074       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80619       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=   7568.671     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      264 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    37.970        .18142E-01** at limit **
   2  Index         1.7398        6.5028        .50000       -.10534E-05
   3  Normalizat    1.5074        .10012E-01    .31930E-03    .40626E-03
   4  Prefactor     .80619        .45699E-02    .19076E-03    .68053E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.73985
  Normalizat = 1.50735
  Prefactor  = 0.806191
 **********
 **   18 **HESSE 
 **********

 FCN=   7568.671     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      291 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    252.07        .31380E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7398        5.1920        .50000       -.71026    
   3  Normalizat    1.5074        .26201E-01    .63860E-04   -.77572    
   4  Prefactor     .80619        .11959E-01    .38153E-04   -.99501    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.07256e-08
Minuit parameter uncertainties:
  1  0.000218188
  2  697.654
  3  0.026201
  4  0.0119588
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/376935': 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): 102
logL (Free Index) = 7568.67063264
delta logL = 2.13187104237e-06

Extracting fit parameters...

4FGL J1421.1-1120
   Spectrum: PowerLaw
302    Prefactor:  1.000e-04  2.182e-04  1.000e-04  1.000e+04 ( 1.000e-13)
303        Index:  1.740e+00  6.977e+02  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:  8.062e-01  1.196e-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.507e+00  2.620e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/376935/cmap_HighResolution_525744001_526003201_4FGL_J1421.1-1120_daily_bin1105.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.00e-03', job_status='DONE', photon_flux_upper_limit='7.77e-08', time_completed='2021-09-09 11:35:47.504343', job_id='376935', GAL2='0.81', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1631212547.5', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='2.13e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1105' AND source_name='4FGL J1421.1-1120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 11:35:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 376935: <4FGL_J1421.1-1120_daily_bin1105> in cluster <slac> Done

Job <4FGL_J1421.1-1120_daily_bin1105> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Thu Sep  9 11:21:13 2021
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 11:21:14 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:21:14 2021
Terminated at Thu Sep  9 11:35:48 2021
Results reported at Thu Sep  9 11:35:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1421.1-1120_daily_bin1105 215.287 -11.3393 525744001 526003201 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 :                                   620.07 sec.
    Max Memory :                                 1002 MB
    Average Memory :                             215.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   873 sec.
    Turnaround time :                            875 sec.

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

