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


Performing analysis on: 4FGL_J1421.1-1120_daily_bin1484
RA = 215.287, Dec = -11.3393
tmin = 623980801, tmax = 624240001
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='378429', job_status='RUN', time_executed='2021-09-09 11:26:22.168581', time_epoch_executed='1631211982.17' WHERE source_name='4FGL J1421.1-1120' and cadence='daily' and bin_id='1484'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/378429

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/378429/ft1_4FGL_J1421.1-1120_daily_bin1484.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/378429/ft2_4FGL_J1421.1-1120_daily_bin1484.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/378429/ft1_4FGL_J1421.1-1120_daily_bin1484.fits outfile=/scratch/kocevski/378429/ft1_filteredMKT_4FGL_J1421.1-1120_daily_bin1484.fits ra=215.287 dec=-11.3393 rad=12.0 tmin=623980801.0 tmax=624240001.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.06
user 3.80
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/378429/ft1_filtered_4FGL_J1421.1-1120_daily_bin1484.fits" evtable="EVENTS" scfile=/scratch/kocevski/378429/ft2_4FGL_J1421.1-1120_daily_bin1484.fits sctable="SC_DATA" outfile=/scratch/kocevski/378429/ltcube_623980801_624240001_4FGL_J1421.1-1120_daily_bin1484.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/378429/ft2_4FGL_J1421.1-1120_daily_bin1484.fits
.....................!
real 14.69
user 14.30
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/378429/ft1_filtered_4FGL_J1421.1-1120_daily_bin1484.fits evtable="EVENTS" scfile=/scratch/kocevski/378429/ft2_4FGL_J1421.1-1120_daily_bin1484.fits sctable="SC_DATA" expcube=/scratch/kocevski/378429/ltcube_623980801_624240001_4FGL_J1421.1-1120_daily_bin1484.fits outfile=/scratch/kocevski/378429/expmap_623980801_624240001_4FGL_J1421.1-1120_daily_bin1484.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/378429/ltcube_623980801_624240001_4FGL_J1421.1-1120_daily_bin1484.fits
.....................!
real 195.03
user 189.34
sys 5.23

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/378429/ft1_filtered_4FGL_J1421.1-1120_daily_bin1484.fits scfile=/scratch/kocevski/378429/ft2_4FGL_J1421.1-1120_daily_bin1484.fits outfile=/scratch/kocevski/378429/cmap_623980801_624240001_4FGL_J1421.1-1120_daily_bin1484.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=215.287 yref=-11.3393 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/378429/ft1_filtered_4FGL_J1421.1-1120_daily_bin1484.fits scfile=/scratch/kocevski/378429/ft2_4FGL_J1421.1-1120_daily_bin1484.fits outfile=/scratch/kocevski/378429/cmap_HighResolution_623980801_624240001_4FGL_J1421.1-1120_daily_bin1484.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/378429/ft1_filtered_4FGL_J1421.1-1120_daily_bin1484.fits evtable="EVENTS" scfile=/scratch/kocevski/378429/ft2_4FGL_J1421.1-1120_daily_bin1484.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/378429/Model_4FGL_J1421.1-1120_daily_bin1484.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/378429/ft1_filtered_4FGL_J1421.1-1120_daily_bin1484.fits.....................!
real 59.26
user 57.82
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7768       1.0000         .10000E-03   10000.    
     2 'norm      '    13.643       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.7202       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    28.739       1.0000         .10000E-03   10000.    
     8 'norm      '    8.9763       1.0000         .10000E-03   10000.    
     9 'norm      '    4.6754       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.3494       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10459E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .58028       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1510       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7390.584     FROM MIGRAD    STATUS=CONVERGED    342 CALLS     1398 TOTAL
                     EDM=   .67E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7783        7.2311         .0000        .22337E-01
   2  norm          13.642        11.010         .0000        .25556E-02
   3  norm          .10000E-03    2.0908         .0000    ** at limit **
   4  Prefactor     6.7201        4.8404         .0000       -.25865E-03
   5  Prefactor     .10000E-03    11.531         .0000    ** at limit **
   6  norm          .10000E-03    6.1170         .0000    ** at limit **
   7  norm          28.739        5.1838         .0000       -.62647E-02
   8  norm          8.9755        15.665         .0000       -.47154E-03
   9  norm          4.6753        5.3366         .0000       -.13443E-02
  10  Prefactor     .10000E-03    11.564         .0000    ** at limit **
  11  Prefactor     .10000E-03    11.807         .0000    ** at limit **
  12  norm          .10040E-03    39.448         .0000    ** at limit **
  13  Prefactor     6.3433        6.6902         .0000        .47285E-03
  14  Prefactor     .10002E-03    246.97         .0000    ** at limit **
  15  Prefactor     .10038E-03    40.346         .0000    ** at limit **
  16  Normalizat    .58024        .26192         .0000        .60306E-04
  17  Prefactor     1.1510        .12114         .0000       -.89469E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.77826
  norm       = 13.6421
  norm       = 0.0001
  Prefactor  = 6.7201
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 28.7386
  norm       = 8.97554
  norm       = 4.67528
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.000100399
  Prefactor  = 6.34329
  Prefactor  = 0.000100023
  Prefactor  = 0.000100375
  Normalizat = 0.580243
  Prefactor  = 1.15104
 **********
 **   18 **HESSE 
 **********

 FCN=   7390.584     FROM HESSE     STATUS=OK           219 CALLS     1617 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7783        6.8727        .15702E-02   -1.5441    
   2  norm          13.642        10.577        .10844E-03   -1.4969    
   3  norm          .10000E-03    2.1075        .12138E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.7201        4.8227        .15262E-03   -1.5189    
   5  Prefactor     .10000E-03    11.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    6.2075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          28.739        5.1743        .74734E-04   -1.4635    
   8  norm          8.9755        15.659        .13378E-03   -1.5109    
   9  norm          4.6753        5.3273        .18612E-03   -1.5275    
  10  Prefactor     .10000E-03    11.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.827        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10040E-03    40.926        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.3433        6.6668        .15929E-03   -1.5204    
  14  Prefactor     .10002E-03    247.64        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10038E-03    40.458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .58024        .27790        .49025E-03   -1.0883    
  17  Prefactor     1.1510        .13032        .16986E-03   -.87851    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.43753e-08
Minuit parameter uncertainties:
  1  6.87579
  2  10.5788
  3  3.6102e-06
  4  4.82301
  5  0.000147414
  6  4.09693e-06
  7  5.17437
  8  15.6658
  9  5.32783
  10  1.98275e-05
  11  0.000170593
  12  0.00808479
  13  6.6676
  14  0.00478721
  15  0.00779683
  16  0.278568
  17  0.13036
Done.

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

Extracting fit parameters...

4FGL J1421.1-1120
   Spectrum: PowerLaw
302    Prefactor:  1.000e-04  1.983e-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:  1.151e+00  1.304e-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:  5.802e-01  2.786e-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: 8.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/378429/likelihoodResults_623980801_624240001_4FGL_J1421.1-1120_daily_bin1484.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) = 7390.58435293
delta logL = -0.000410787147302

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7390.58394279
delta logL = -6.45231011731e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11083E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3616       1.0000          .0000       10.000    
     3 'Normalizat'    .58008       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1511       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=   7390.584     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      242 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10045E-03    157.32        .18142E-02** at limit **
   2  Index         2.3226        5.3999        .50000        .54556E-05
   3  Normalizat    .58024        .22363E-01    .49025E-03    .19711E-05
   4  Prefactor     1.1510        .10710E-01    .16986E-03    .46180E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100454
  Index      = 2.32263
  Normalizat = 0.580242
  Prefactor  = 1.15104
 **********
 **   18 **HESSE 
 **********

 FCN=   7390.584     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10045E-03    673.65        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3226        6.8212        .50000       -.56507    
   3  Normalizat    .58024        .49311E-01    .19610E-04   -1.0883    
   4  Prefactor     1.1510        .23615E-01    .67946E-05   -.87851    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.77573e-09
Minuit parameter uncertainties:
  1  0.0353732
  2  1179.12
  3  0.0493151
  4  0.0236157
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/378429': 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) = 7390.58394209
delta logL = 5.28370946995e-08

Extracting fit parameters...

4FGL J1421.1-1120
   Spectrum: PowerLaw
302    Prefactor:  1.005e-04  3.537e-02  1.000e-04  1.000e+04 ( 1.000e-13)
303        Index:  2.323e+00  1.179e+03  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.151e+00  2.362e-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:  5.802e-01  4.932e-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/378429/cmap_HighResolution_623980801_624240001_4FGL_J1421.1-1120_daily_bin1484.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.73e-03', job_status='DONE', photon_flux_upper_limit='8.72e-08', time_completed='2021-09-09 11:35:41.086704', job_id='378429', GAL2='1.15', fit_tolerance='1e-08', EG2='0.58', EG='0.58', time_epoch_completed='1631212541.09', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='5.28e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1484' AND source_name='4FGL J1421.1-1120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 11:35:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 378429: <4FGL_J1421.1-1120_daily_bin1484> in cluster <slac> Done

Job <4FGL_J1421.1-1120_daily_bin1484> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep  9 11:26:03 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 11:26:04 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:26:04 2021
Terminated at Thu Sep  9 11:35:41 2021
Results reported at Thu Sep  9 11:35:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1421.1-1120_daily_bin1484 215.287 -11.3393 623980801 624240001 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 :                                   555.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             385.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   577 sec.
    Turnaround time :                            578 sec.

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

