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


Performing analysis on: 4FGL_J1421.1-1120_daily_bin948
RA = 215.287, Dec = -11.3393
tmin = 485049601, tmax = 485308801
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='375781', job_status='RUN', time_executed='2021-09-09 11:17:03.841549', time_epoch_executed='1631211423.84' WHERE source_name='4FGL J1421.1-1120' and cadence='daily' and bin_id='948'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/375781

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/375781/ft1_4FGL_J1421.1-1120_daily_bin948.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/375781/ft2_4FGL_J1421.1-1120_daily_bin948.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/375781/ft1_4FGL_J1421.1-1120_daily_bin948.fits outfile=/scratch/kocevski/375781/ft1_filteredMKT_4FGL_J1421.1-1120_daily_bin948.fits ra=215.287 dec=-11.3393 rad=12.0 tmin=485049601.0 tmax=485308801.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.62
user 3.33
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/375781/ft2_4FGL_J1421.1-1120_daily_bin948.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/375781/ft1_filteredMKT_4FGL_J1421.1-1120_daily_bin948.fits evtable="EVENTS" outfile="/scratch/kocevski/375781/ft1_filtered_4FGL_J1421.1-1120_daily_bin948.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/375781/ft1_filtered_4FGL_J1421.1-1120_daily_bin948.fits" evtable="EVENTS" scfile=/scratch/kocevski/375781/ft2_4FGL_J1421.1-1120_daily_bin948.fits sctable="SC_DATA" outfile=/scratch/kocevski/375781/ltcube_485049601_485308801_4FGL_J1421.1-1120_daily_bin948.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/375781/ft2_4FGL_J1421.1-1120_daily_bin948.fits
.....................!
real 11.94
user 11.57
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/375781/ft1_filtered_4FGL_J1421.1-1120_daily_bin948.fits evtable="EVENTS" scfile=/scratch/kocevski/375781/ft2_4FGL_J1421.1-1120_daily_bin948.fits sctable="SC_DATA" expcube=/scratch/kocevski/375781/ltcube_485049601_485308801_4FGL_J1421.1-1120_daily_bin948.fits outfile=/scratch/kocevski/375781/expmap_485049601_485308801_4FGL_J1421.1-1120_daily_bin948.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/375781/ltcube_485049601_485308801_4FGL_J1421.1-1120_daily_bin948.fits
.....................!
real 189.79
user 185.15
sys 4.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/375781/ft1_filtered_4FGL_J1421.1-1120_daily_bin948.fits scfile=/scratch/kocevski/375781/ft2_4FGL_J1421.1-1120_daily_bin948.fits outfile=/scratch/kocevski/375781/cmap_485049601_485308801_4FGL_J1421.1-1120_daily_bin948.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/375781/ft1_filtered_4FGL_J1421.1-1120_daily_bin948.fits scfile=/scratch/kocevski/375781/ft2_4FGL_J1421.1-1120_daily_bin948.fits outfile=/scratch/kocevski/375781/cmap_HighResolution_485049601_485308801_4FGL_J1421.1-1120_daily_bin948.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/375781/ft1_filtered_4FGL_J1421.1-1120_daily_bin948.fits evtable="EVENTS" scfile=/scratch/kocevski/375781/ft2_4FGL_J1421.1-1120_daily_bin948.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/375781/Model_4FGL_J1421.1-1120_daily_bin948.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/375781/ft1_filtered_4FGL_J1421.1-1120_daily_bin948.fits.....................!
real 68.25
user 66.84
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    22.167       1.0000         .10000E-03   10000.    
     2 'norm      '    .91659E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.9308       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.6080       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    6.2369       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.1359       1.0000         .10000E-03   10000.    
     9 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.2244       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.8383       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.0954       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11086E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    33.107       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0942       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .90615       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=   8897.529     FROM MIGRAD    STATUS=CONVERGED    338 CALLS     1634 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.162        7.4834       -.20115E-05   -.16474E-02
   2  norm          .10001E-03    6.0640        .30423E-05** at limit **
   3  norm          1.9312        3.2220        .10647E-06   -.11448E-02
   4  Prefactor     5.6050        4.9814       -.35612E-06   -.95898E-03
   5  Prefactor     .10000E-03    26.826        .24792E-05** at limit **
   6  norm          6.2393        6.4015        .17701E-05   -.38186E-03
   7  norm          .10000E-03    .64773        .44016E-08** at limit **
   8  norm          1.1372        8.5453        .14608E-06   -.43291E-03
   9  norm          .10000E-03    6.6224        .33738E-06** at limit **
  10  Prefactor     3.2244        9.6920        .10438E-06   -.15308E-03
  11  Prefactor     .10000E-03    6.0025       -.85615E-07** at limit **
  12  norm          6.8356        7.7102       -.17475E-05    .13673E-03
  13  Prefactor     8.0951        5.1392       -.88415E-06    .33815E-04
  14  Prefactor     .10000E-03    31.104       -.30376E-05** at limit **
  15  Prefactor     33.117        33.080        .10957E-04   -.27688E-03
  16  Normalizat    1.0941        .19086       -.51752E-06   -.27835E-03
  17  Prefactor     .90616        .90068E-01   -.17107E-06   -.49084E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 22.1621
  norm       = 0.000100008
  norm       = 1.93119
  Prefactor  = 5.60505
  Prefactor  = 0.0001
  norm       = 6.23935
  norm       = 0.0001
  norm       = 1.1372
  norm       = 0.0001
  Prefactor  = 3.22445
  Prefactor  = 0.0001
  norm       = 6.83564
  Prefactor  = 8.09508
  Prefactor  = 0.0001
  Prefactor  = 33.117
  Normalizat = 1.09415
  Prefactor  = 0.906157
 **********
 **   18 **HESSE 
 **********

 FCN=   8897.529     FROM HESSE     STATUS=OK           227 CALLS     1861 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.162        7.1524        .85074E-04   -1.4766    
   2  norm          .10001E-03    36.385        .40518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.9312        3.9822        .13061E-02   -1.5430    
   4  Prefactor     5.6050        5.0388        .84820E-03   -1.5234    
   5  Prefactor     .10000E-03    27.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          6.2393        6.3677        .16074E-03   -1.5208    
   7  norm          .10000E-03    1.1249        .14704E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.1372        22.028        .21860E-02   -1.5495    
   9  norm          .10000E-03    6.8061        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.2244        9.8132        .11280E-02   -1.5349    
  11  Prefactor     .10000E-03    6.0083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.8356        7.6848        .15343E-03   -1.5185    
  13  Prefactor     8.0951        5.1211        .14091E-03   -1.5139    
  14  Prefactor     .10000E-03    31.108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     33.117        32.322        .69641E-04   -1.4556    
  16  Normalizat    1.0941        .22202        .33432E-03   -.89940    
  17  Prefactor     .90616        .10598        .17382E-03   -.95926    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9015e-09
Minuit parameter uncertainties:
  1  7.15264
  2  0.00110451
  3  3.98274
  4  5.0392
  5  0.000104291
  6  6.36839
  7  2.1384e-08
  8  10.0138
  9  2.99426e-06
  10  9.81809
  11  6.5545e-06
  12  7.68593
  13  5.12133
  14  6.55121e-05
  15  32.3394
  16  0.222207
  17  0.106004
Done.

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

Extracting fit parameters...

4FGL J1421.1-1120
   Spectrum: PowerLaw
302    Prefactor:  3.224e+00  9.818e+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

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  9.062e-01  1.060e-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.094e+00  2.222e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/375781/likelihoodResults_485049601_485308801_4FGL_J1421.1-1120_daily_bin948.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8897.52903975
delta logL = 5.87094291404e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8897.52901715
delta logL = 2.84757206828e-05

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8897.529     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      264 TOTAL
                     EDM=   .98E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1827        11.383        .11280E-02    .14870E-03
   2  Index         2.3872        1.8333        .74912E-02   -.17270E-05
   3  Normalizat    1.0940        .21820        .33434E-03   -.12921E-05
   4  Prefactor     .90619        .10472        .17381E-03   -.14390E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.1827
  Index      = 2.38717
  Normalizat = 1.09402
  Prefactor  = 0.906192
 **********
 **   18 **HESSE 
 **********

 FCN=   8897.529     FROM HESSE     STATUS=OK            27 CALLS      291 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1827        10.888        .22560E-03   -1.5351    
   2  Index         2.3872        1.7588        .29965E-03   -.54986    
   3  Normalizat    1.0940        .21835        .13374E-04   -.89944    
   4  Prefactor     .90619        .10479        .69525E-05   -.95925    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08743e-12
Minuit parameter uncertainties:
  1  10.8951
  2  1.81292
  3  0.218526
  4  0.104811
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/375781': 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) = 8897.5290073
delta logL = 3.83257447538e-05

Extracting fit parameters...

4FGL J1421.1-1120
   Spectrum: PowerLaw
302    Prefactor:  3.183e+00  1.090e+01  1.000e-04  1.000e+04 ( 1.000e-13)
303        Index:  2.387e+00  1.813e+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.062e-01  1.048e-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.094e+00  2.185e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
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/375781/cmap_HighResolution_485049601_485308801_4FGL_J1421.1-1120_daily_bin948.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-03', job_status='DONE', photon_flux_upper_limit='7.43e-08', time_completed='2021-09-09 11:27:33.078398', job_id='375781', GAL2='0.91', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1631212053.08', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='3.83e-05', ts2='0.14', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='948' AND source_name='4FGL J1421.1-1120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 11:27:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 375781: <4FGL_J1421.1-1120_daily_bin948> in cluster <slac> Done

Job <4FGL_J1421.1-1120_daily_bin948> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 11:16:50 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 11:16:51 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:16:51 2021
Terminated at Thu Sep  9 11:27:33 2021
Results reported at Thu Sep  9 11:27:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1421.1-1120_daily_bin948 215.287 -11.3393 485049601 485308801 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 :                                   625.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             319.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   642 sec.
    Turnaround time :                            643 sec.

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

