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


Performing analysis on: 4FGL_J1421.1-1120_daily_bin189
RA = 215.287, Dec = -11.3393
tmin = 288316801, tmax = 288576001
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='371525', job_status='RUN', time_executed='2021-09-09 11:03:23.248924', time_epoch_executed='1631210603.25' WHERE source_name='4FGL J1421.1-1120' and cadence='daily' and bin_id='189'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/371525

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/371525/ft1_4FGL_J1421.1-1120_daily_bin189.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/371525/ft2_4FGL_J1421.1-1120_daily_bin189.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/371525/ft1_4FGL_J1421.1-1120_daily_bin189.fits outfile=/scratch/kocevski/371525/ft1_filteredMKT_4FGL_J1421.1-1120_daily_bin189.fits ra=215.287 dec=-11.3393 rad=12.0 tmin=288316801.0 tmax=288576001.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.70
user 3.44
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/371525/ft1_filtered_4FGL_J1421.1-1120_daily_bin189.fits" evtable="EVENTS" scfile=/scratch/kocevski/371525/ft2_4FGL_J1421.1-1120_daily_bin189.fits sctable="SC_DATA" outfile=/scratch/kocevski/371525/ltcube_288316801_288576001_4FGL_J1421.1-1120_daily_bin189.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/371525/ft2_4FGL_J1421.1-1120_daily_bin189.fits
.....................!
real 16.86
user 16.45
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/371525/ft1_filtered_4FGL_J1421.1-1120_daily_bin189.fits evtable="EVENTS" scfile=/scratch/kocevski/371525/ft2_4FGL_J1421.1-1120_daily_bin189.fits sctable="SC_DATA" expcube=/scratch/kocevski/371525/ltcube_288316801_288576001_4FGL_J1421.1-1120_daily_bin189.fits outfile=/scratch/kocevski/371525/expmap_288316801_288576001_4FGL_J1421.1-1120_daily_bin189.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/371525/ltcube_288316801_288576001_4FGL_J1421.1-1120_daily_bin189.fits
.....................!
real 190.08
user 184.60
sys 5.01

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/371525/ft1_filtered_4FGL_J1421.1-1120_daily_bin189.fits scfile=/scratch/kocevski/371525/ft2_4FGL_J1421.1-1120_daily_bin189.fits outfile=/scratch/kocevski/371525/cmap_288316801_288576001_4FGL_J1421.1-1120_daily_bin189.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.37
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/371525/ft1_filtered_4FGL_J1421.1-1120_daily_bin189.fits evtable="EVENTS" scfile=/scratch/kocevski/371525/ft2_4FGL_J1421.1-1120_daily_bin189.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/371525/Model_4FGL_J1421.1-1120_daily_bin189.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/371525/ft1_filtered_4FGL_J1421.1-1120_daily_bin189.fits.....................!
real 76.67
user 75.05
sys 1.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9915       1.0000         .10000E-03   10000.    
     2 'norm      '    .10797E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10169E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.5189       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.953       1.0000         .10000E-03   10000.    
     6 'norm      '    1.2322       1.0000         .10000E-03   10000.    
     7 'norm      '    .56359       1.0000         .10000E-03   10000.    
     8 'norm      '    22.778       1.0000         .10000E-03   10000.    
     9 'norm      '    .15589E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.0582       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.7191       1.0000         .10000E-03   10000.    
    12 'norm      '    5.8564       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .58628E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    35.406       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .96707       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .98637       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=   10318.87     FROM MIGRAD    STATUS=CONVERGED    369 CALLS     1706 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9896        3.9093       -.38532E-07   -.67409E-04
   2  norm          .10000E-03    3.3741       -.24134E-06** at limit **
   3  norm          .10000E-03    1.1075        .17020E-06** at limit **
   4  Prefactor     5.5221        4.3022        .35179E-06    .19373E-02
   5  Prefactor     14.001        32.623        .10165E-05    .19123E-03
   6  norm          1.2329        2.8922       -.21830E-06    .75881E-04
   7  norm          .56545        1.2678        .23615E-06    .55833E-03
   8  norm          22.786        13.456        .29463E-06    .46609E-03
   9  norm          .10000E-03    2.3963       -.29618E-06** at limit **
  10  Prefactor     1.0578        6.9638       -.10077E-05   -.58488E-04
  11  Prefactor     5.7230        12.200        .29477E-06    .11901E-03
  12  norm          5.8607        6.8790        .20441E-06    .13624E-03
  13  Prefactor     .10001E-03    13.089        .52456E-05** at limit **
  14  Prefactor     35.530        53.452        .66995E-05    .72459E-04
  15  Prefactor     .10000E-03    21.886       -.23504E-06** at limit **
  16  Normalizat    .96670        .17684       -.91249E-06    .84490E-04
  17  Prefactor     .98652        .83458E-01    .17870E-06    .30570E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.98965
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 5.52207
  Prefactor  = 14.0012
  norm       = 1.23292
  norm       = 0.565452
  norm       = 22.7858
  norm       = 0.0001
  Prefactor  = 1.05777
  Prefactor  = 5.72303
  norm       = 5.86074
  Prefactor  = 0.000100008
  Prefactor  = 35.5304
  Prefactor  = 0.0001
  Normalizat = 0.966699
  Prefactor  = 0.986525
 **********
 **   18 **HESSE 
 **********

 FCN=   10318.87     FROM HESSE     STATUS=OK           229 CALLS     1935 TOTAL
                     EDM=   .43E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9896        3.6917        .18101E-03   -1.5308    
   2  norm          .10000E-03    14.027        .33727E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.1118        .10435E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.5221        4.4132        .85513E-03   -1.5238    
   5  Prefactor     14.001        32.787        .10723E-03   -1.4959    
   6  norm          1.2329        2.8193        .25286E-03   -1.5486    
   7  norm          .56545        1.2342        .16288E-03   -1.5558    
   8  norm          22.786        13.532        .83927E-04   -1.4753    
   9  norm          .10000E-03    7.6705        .30155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.0578        32.282        .49950E-02   -1.5502    
  11  Prefactor     5.7230        12.207        .16796E-03   -1.5229    
  12  norm          5.8607        6.8728        .16595E-03   -1.5224    
  13  Prefactor     .10001E-03    13.566        .26715E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     35.530        53.714        .67349E-04   -1.4515    
  15  Prefactor     .10000E-03    21.952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .96670        .20356        .34264E-03   -.94155    
  17  Prefactor     .98652        .97525E-01    .16651E-03   -.93180    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.31883e-08
Minuit parameter uncertainties:
  1  3.69194
  2  8.56582e-05
  3  2.99775e-06
  4  4.41342
  5  32.8295
  6  2.81961
  7  1.23423
  8  13.5341
  9  5.25068e-05
  10  11.6935
  11  12.2121
  12  6.87368
  13  0.000670514
  14  53.7873
  15  7.91843e-05
  16  0.203721
  17  0.0975423
Done.

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

Extracting fit parameters...

4FGL J1421.1-1120
   Spectrum: PowerLaw
302    Prefactor:  1.058e+00  1.169e+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.865e-01  9.754e-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:  9.667e-01  2.037e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/371525/likelihoodResults_288316801_288576001_4FGL_J1421.1-1120_daily_bin189.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) = 10318.8584361
delta logL = 0.0149752352372

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10318.8403389
delta logL = 0.0330724102896

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6308       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8628       1.0000          .0000       10.000    
     3 'Normalizat'    .96847       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98499       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=   10318.84     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      242 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6634        379.86        .53006E-02    .11111E-03
   2  Index         1.8695        2.5400        .50000        .50899E-04
   3  Normalizat    .96835        .25083E-01    .77362E-01    .63807E-05
   4  Prefactor     .98500        .12164E-01    .46079E-01    .10923E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.66342
  Index      = 1.86948
  Normalizat = 0.968353
  Prefactor  = 0.985001
 **********
 **   18 **HESSE 
 **********

 FCN=   10318.84     FROM HESSE     STATUS=OK            31 CALLS      273 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6634        14.334        .21202E-03   -1.5325    
   2  Index         1.8695        1.4153        .13348E-01   -.67655    
   3  Normalizat    .96835        .19512        .34238E-03   -.94098    
   4  Prefactor     .98500        .96534E-01    .16663E-03   -.93231    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.51883e-10
Minuit parameter uncertainties:
  1  14.3475
  2  1.44839
  3  0.195264
  4  0.096551
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/371525': 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) = 10318.8403261
delta logL = 0.0330851409435

Extracting fit parameters...

4FGL J1421.1-1120
   Spectrum: PowerLaw
302    Prefactor:  3.663e+00  1.435e+01  1.000e-04  1.000e+04 ( 1.000e-13)
303        Index:  1.869e+00  1.448e+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:  9.850e-01  9.655e-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:  9.684e-01  1.953e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/371525/cmap_HighResolution_288316801_288576001_4FGL_J1421.1-1120_daily_bin189.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.29e-03', job_status='DONE', photon_flux_upper_limit='6.85e-08', time_completed='2021-09-09 11:15:04.267543', job_id='371525', GAL2='0.99', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1631211304.27', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='3.31e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='189' AND source_name='4FGL J1421.1-1120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 11:15:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 371525: <4FGL_J1421.1-1120_daily_bin189> in cluster <slac> Done

Job <4FGL_J1421.1-1120_daily_bin189> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 11:01:43 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 11:01:44 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:44 2021
Terminated at Thu Sep  9 11:15:05 2021
Results reported at Thu Sep  9 11:15:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1421.1-1120_daily_bin189 215.287 -11.3393 288316801 288576001 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 :                                   697.57 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            802 sec.

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

