/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 14 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 = 7550
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1421.1-1120_daily_bin1660
RA = 215.287, Dec = -11.3393
tmin = 669600001, tmax = 669859201
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='986673', job_status='RUN', time_executed='2022-03-25 00:13:40.106327', time_epoch_executed='1648192420.11' WHERE source_name='4FGL J1421.1-1120' and cadence='daily' and bin_id='1660'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/986673

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/986673/ft1_4FGL_J1421.1-1120_daily_bin1660.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/986673/ft2_4FGL_J1421.1-1120_daily_bin1660.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/986673/ft1_4FGL_J1421.1-1120_daily_bin1660.fits outfile=/scratch/kocevski/986673/ft1_filteredMKT_4FGL_J1421.1-1120_daily_bin1660.fits ra=215.287 dec=-11.3393 rad=12.0 tmin=669600001.0 tmax=669859201.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.57
user 4.33
sys 0.22

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

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

Number of photons that the gtmktime cut: 719

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/986673/ft1_filtered_4FGL_J1421.1-1120_daily_bin1660.fits" evtable="EVENTS" scfile=/scratch/kocevski/986673/ft2_4FGL_J1421.1-1120_daily_bin1660.fits sctable="SC_DATA" outfile=/scratch/kocevski/986673/ltcube_669600001_669859201_4FGL_J1421.1-1120_daily_bin1660.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/986673/ft2_4FGL_J1421.1-1120_daily_bin1660.fits
.....................!
real 12.28
user 11.92
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/986673/ft1_filtered_4FGL_J1421.1-1120_daily_bin1660.fits evtable="EVENTS" scfile=/scratch/kocevski/986673/ft2_4FGL_J1421.1-1120_daily_bin1660.fits sctable="SC_DATA" expcube=/scratch/kocevski/986673/ltcube_669600001_669859201_4FGL_J1421.1-1120_daily_bin1660.fits outfile=/scratch/kocevski/986673/expmap_669600001_669859201_4FGL_J1421.1-1120_daily_bin1660.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/986673/ltcube_669600001_669859201_4FGL_J1421.1-1120_daily_bin1660.fits
.....................!
real 191.36
user 185.77
sys 5.16

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/986673/ft1_filtered_4FGL_J1421.1-1120_daily_bin1660.fits scfile=/scratch/kocevski/986673/ft2_4FGL_J1421.1-1120_daily_bin1660.fits outfile=/scratch/kocevski/986673/cmap_669600001_669859201_4FGL_J1421.1-1120_daily_bin1660.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/986673/ft1_filtered_4FGL_J1421.1-1120_daily_bin1660.fits scfile=/scratch/kocevski/986673/ft2_4FGL_J1421.1-1120_daily_bin1660.fits outfile=/scratch/kocevski/986673/cmap_HighResolution_669600001_669859201_4FGL_J1421.1-1120_daily_bin1660.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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/986673/ft1_filtered_4FGL_J1421.1-1120_daily_bin1660.fits evtable="EVENTS" scfile=/scratch/kocevski/986673/ft2_4FGL_J1421.1-1120_daily_bin1660.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/986673/Model_4FGL_J1421.1-1120_daily_bin1660.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/986673/ft1_filtered_4FGL_J1421.1-1120_daily_bin1660.fits.....................!
real 63.66
user 62.29
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.701       1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    8.2319       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.6331       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11401E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    13.210       1.0000         .10000E-03   10000.    
     7 'norm      '    17.573       1.0000         .10000E-03   10000.    
     8 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10088E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .52669       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.2320       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .91325       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10819E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    56.472       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.5881       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .73880       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=   7822.580     FROM MIGRAD    STATUS=CONVERGED    343 CALLS     1601 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.701        6.2271        .43973E-06    .28896E-03
   2  norm          .10000E-03    5.7440       -.62379E-08** at limit **
   3  norm          8.2303        6.3541        .26727E-06    .21903E-04
   4  Prefactor     1.6338        5.9320        .17379E-05   -.19580E-03
   5  Prefactor     .10000E-03    55.332        .53986E-07** at limit **
   6  norm          13.210        9.5625       -.72229E-06   -.21957E-03
   7  norm          17.574        4.2770        .78168E-07    .55535E-04
   8  norm          .10000E-03    10.552        .39311E-06** at limit **
   9  norm          .10000E-03    9.4850       -.19064E-06** at limit **
  10  Prefactor     .50681        16.122       -.70207E-06    .11371E-03
  11  Prefactor     .10000E-03    12.290       -.15439E-06** at limit **
  12  norm          2.2331        8.0784        .25120E-06   -.83072E-04
  13  Prefactor     .91100        4.3478        .14467E-05   -.38250E-03
  14  Prefactor     .10000E-03    86.661       -.31318E-06** at limit **
  15  Prefactor     56.487        53.645        .32724E-05    .16467E-03
  16  Normalizat    1.5879        .23985       -.13416E-05    .31704E-04
  17  Prefactor     .73894        .10168       -.38020E-07   -.67015E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.7006
  norm       = 0.0001
  norm       = 8.23028
  Prefactor  = 1.63383
  Prefactor  = 0.0001
  norm       = 13.2096
  norm       = 17.5737
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.506814
  Prefactor  = 0.0001
  norm       = 2.23312
  Prefactor  = 0.911002
  Prefactor  = 0.0001
  Prefactor  = 56.4872
  Normalizat = 1.58786
  Prefactor  = 0.738941
 **********
 **   18 **HESSE 
 **********

 FCN=   7822.580     FROM HESSE     STATUS=OK           227 CALLS     1828 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.701        6.2697        .11711E-03   -1.5024    
   2  norm          .10000E-03    5.8051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.2303        6.3595        .13973E-03   -1.5134    
   4  Prefactor     1.6338        5.9768        .33085E-03   -1.5452    
   5  Prefactor     .10000E-03    55.557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          13.210        9.4541        .11020E-03   -1.4981    
   7  norm          17.574        4.2901        .85253E-04   -1.4869    
   8  norm          .10000E-03    10.854        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    9.6497        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .50681        158.51        .66594E-02   -1.5566    
  11  Prefactor     .10000E-03    12.315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.2331        8.0779        .27516E-03   -1.5409    
  13  Prefactor     .91100        5.0929        .37197E-03   -1.5517    
  14  Prefactor     .10000E-03    86.864        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     56.487        58.418        .53381E-04   -1.4203    
  16  Normalizat    1.5879        .28096        .32153E-03   -.75339    
  17  Prefactor     .73894        .11950        .19973E-03   -1.0202    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21828e-09
Minuit parameter uncertainties:
  1  6.27009
  2  3.36347e-05
  3  6.36001
  4  5.97902
  5  8.03855e-06
  6  9.45516
  7  4.29015
  8  3.75429e-05
  9  9.46442e-06
  10  17.9724
  11  9.45861e-06
  12  8.08185
  13  4.30829
  14  0.000403799
  15  58.4776
  16  0.281235
  17  0.119538
Done.

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

Extracting fit parameters...

4FGL J1421.1-1120
   Spectrum: PowerLaw
302    Prefactor:  5.068e-01  1.797e+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:  7.389e-01  1.195e-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.588e+00  2.812e-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: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/986673/likelihoodResults_669600001_669859201_4FGL_J1421.1-1120_daily_bin1660.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) = 7822.37526652
delta logL = 0.204987360329

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7822.34613052
delta logL = 0.23412336233

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0244       1.0000         .10000E-03   10000.    
     2 'Index     '    3.9619       1.0000          .0000       10.000    
     3 'Normalizat'    1.5400       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75018       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=   7822.346     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      238 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0258        32.071        .12670E-01    .13423E-02
   2  Index         3.9614        3.2346        .15354        .14984E-03
   3  Normalizat    1.5400        .47298E-01    .73567E-01    .74684E-05
   4  Prefactor     .75021        .21100E-01    .43065E-01    .49199E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.02577
  Index      = 3.96138
  Normalizat = 1.54001
  Prefactor  = 0.750206
 **********
 **   18 **HESSE 
 **********

 FCN=   7822.346     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      271 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0258        120.93        .13371E-03   -1.5505    
   2  Index         3.9614        6.3006        .85254E-02   -.20925    
   3  Normalizat    1.5400        .21696        .32551E-03   -.76660    
   4  Prefactor     .75021        .96608E-01    .19835E-03   -1.0159    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.38515e-09
Minuit parameter uncertainties:
  1  22.3204
  2  10.3542
  3  0.217096
  4  0.0966296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/986673': 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) = 7822.3461304
delta logL = 0.234123483545

Extracting fit parameters...

4FGL J1421.1-1120
   Spectrum: PowerLaw
302    Prefactor:  1.026e+00  2.232e+01  1.000e-04  1.000e+04 ( 1.000e-13)
303        Index:  3.961e+00  1.035e+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:  7.502e-01  9.663e-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.540e+00  2.171e-01  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/986673/cmap_HighResolution_669600001_669859201_4FGL_J1421.1-1120_daily_bin1660.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.35e-03', job_status='DONE', photon_flux_upper_limit='1.08e-07', time_completed='2022-03-25 00:23:37.970741', job_id='986673', GAL2='0.75', fit_tolerance='1e-08', EG2='1.54', EG='1.59', time_epoch_completed='1648193017.97', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='2.34e-01', ts2='0.52', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1660' AND source_name='4FGL J1421.1-1120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 25 00:23:37 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 986549: <4FGL_J1421.1-1120_daily_bin1660> in cluster <slac> Done

Job <4FGL_J1421.1-1120_daily_bin1660> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Mar 25 00:07:45 2022
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 25 00:07:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 25 00:07:48 2022
Terminated at Fri Mar 25 00:19:47 2022
Results reported at Fri Mar 25 00:19:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1421.1-1120_daily_bin1660 215.287 -11.3393 669600001 669859201 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 :                                   587.12 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             265.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   719 sec.
    Turnaround time :                            722 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 986673: <4FGL_J1421.1-1120_daily_bin1660> in cluster <slac> Done

Job <4FGL_J1421.1-1120_daily_bin1660> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Mar 25 00:07:51 2022
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 25 00:07:53 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 25 00:07:53 2022
Terminated at Fri Mar 25 00:23:38 2022
Results reported at Fri Mar 25 00:23:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1421.1-1120_daily_bin1660 215.287 -11.3393 669600001 669859201 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 :                                   582.38 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             270.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   945 sec.
    Turnaround time :                            947 sec.

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

