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


Performing analysis on: 4FGL_J1410.1+0202_daily_bin281
RA = 212.529, Dec = 2.0354
tmin = 312163201, tmax = 312422401
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='232452', job_status='RUN', time_executed='2021-09-09 03:38:53.083913', time_epoch_executed='1631183933.08' WHERE source_name='4FGL J1410.1+0202' and cadence='daily' and bin_id='281'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/232452

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/232452/ft1_4FGL_J1410.1+0202_daily_bin281.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/232452/ft2_4FGL_J1410.1+0202_daily_bin281.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/232452/ft1_4FGL_J1410.1+0202_daily_bin281.fits outfile=/scratch/kocevski/232452/ft1_filteredMKT_4FGL_J1410.1+0202_daily_bin281.fits ra=212.529 dec=2.0354 rad=12.0 tmin=312163201.0 tmax=312422401.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.50
user 3.21
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/232452/ft2_4FGL_J1410.1+0202_daily_bin281.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/232452/ft2_4FGL_J1410.1+0202_daily_bin281.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/232452/ft1_filteredMKT_4FGL_J1410.1+0202_daily_bin281.fits evtable="EVENTS" outfile="/scratch/kocevski/232452/ft1_filtered_4FGL_J1410.1+0202_daily_bin281.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.62
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/232452/ft1_filtered_4FGL_J1410.1+0202_daily_bin281.fits" evtable="EVENTS" scfile=/scratch/kocevski/232452/ft2_4FGL_J1410.1+0202_daily_bin281.fits sctable="SC_DATA" outfile=/scratch/kocevski/232452/ltcube_312163201_312422401_4FGL_J1410.1+0202_daily_bin281.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/232452/ft2_4FGL_J1410.1+0202_daily_bin281.fits
.....................!
real 11.96
user 11.45
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/232452/ft1_filtered_4FGL_J1410.1+0202_daily_bin281.fits evtable="EVENTS" scfile=/scratch/kocevski/232452/ft2_4FGL_J1410.1+0202_daily_bin281.fits sctable="SC_DATA" expcube=/scratch/kocevski/232452/ltcube_312163201_312422401_4FGL_J1410.1+0202_daily_bin281.fits outfile=/scratch/kocevski/232452/expmap_312163201_312422401_4FGL_J1410.1+0202_daily_bin281.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/232452/ltcube_312163201_312422401_4FGL_J1410.1+0202_daily_bin281.fits
.....................!
real 191.88
user 185.67
sys 4.71

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 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J1410.1+0202 @ 212.529 2.0354

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/232452/ft1_filtered_4FGL_J1410.1+0202_daily_bin281.fits scfile=/scratch/kocevski/232452/ft2_4FGL_J1410.1+0202_daily_bin281.fits outfile=/scratch/kocevski/232452/cmap_312163201_312422401_4FGL_J1410.1+0202_daily_bin281.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=212.529 yref=2.0354 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 2.70
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/232452/ft1_filtered_4FGL_J1410.1+0202_daily_bin281.fits scfile=/scratch/kocevski/232452/ft2_4FGL_J1410.1+0202_daily_bin281.fits outfile=/scratch/kocevski/232452/cmap_HighResolution_312163201_312422401_4FGL_J1410.1+0202_daily_bin281.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=212.529 yref=2.0354 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 2.56
user 0.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/232452/ft1_filtered_4FGL_J1410.1+0202_daily_bin281.fits evtable="EVENTS" scfile=/scratch/kocevski/232452/ft2_4FGL_J1410.1+0202_daily_bin281.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/232452/Model_4FGL_J1410.1+0202_daily_bin281.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/232452/ft1_filtered_4FGL_J1410.1+0202_daily_bin281.fits.....................!
real 72.77
user 53.43
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/232452/ft1_filtered_4FGL_J1410.1+0202_daily_bin281.fits', '/scratch/kocevski/232452/ft2_4FGL_J1410.1+0202_daily_bin281.fits', expMap='/scratch/kocevski/232452/expmap_312163201_312422401_4FGL_J1410.1+0202_daily_bin281.fits', expCube='/scratch/kocevski/232452/ltcube_312163201_312422401_4FGL_J1410.1+0202_daily_bin281.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/232452/Model_4FGL_J1410.1+0202_daily_bin281.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1410.1+0202'

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  5.797e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
291        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  1.053e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/232452/ft1_filtered_4FGL_J1410.1+0202_daily_bin281.fits
Spacecraft file(s): /scratch/kocevski/232452/ft2_4FGL_J1410.1+0202_daily_bin281.fits
Exposure map: /scratch/kocevski/232452/expmap_312163201_312422401_4FGL_J1410.1+0202_daily_bin281.fits
Exposure cube: /scratch/kocevski/232452/ltcube_312163201_312422401_4FGL_J1410.1+0202_daily_bin281.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/232452/Model_4FGL_J1410.1+0202_daily_bin281.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) = 6927.82317075

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.6780       1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.164       1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.014       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.9245       1.0000         .10000E-03   10000.    
     8 'Prefactor '    20.588       1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.332       1.0000         .10000E-03   10000.    
    10 'norm      '    10.523       1.0000         .10000E-03   10000.    
    11 'norm      '    .26958E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .13989       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    69.718       1.0000         .10000E-03   10000.    
    16 'norm      '    .58922E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.7181       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .70140       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6927.779     FROM MIGRAD    STATUS=CONVERGED    401 CALLS     1880 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.6786        2.4789       -.28362E-07   -.56741E-04
   2  norm          .10000E-03    11.186        .37312E-07** at limit **
   3  Prefactor     12.165        5.6163       -.15285E-06   -.76179E-04
   4  Prefactor     18.018        18.848       -.48490E-05    .16722E-06
   5  Prefactor     .10000E-03    1.3247       -.15140E-07** at limit **
   6  Prefactor     .10000E-03    4.3557        .32981E-07** at limit **
   7  norm          1.9232        2.0213       -.12410E-06   -.37337E-03
   8  Prefactor     20.588        15.486       -.21920E-05    .18650E-04
   9  Prefactor     19.341        35.043        .13171E-04   -.15053E-05
  10  norm          10.525        9.8515       -.41312E-05    .32719E-04
  11  norm          .87622E-01    4.7493       -.70145E-06   -.11649E-04
  12  Prefactor     .10000E-03    56.301        .55488E-06** at limit **
  13  norm          .49224        19.946       -.95539E-06   -.20340E-04
  14  Prefactor     .10000E-03    29.545        .46009E-07** at limit **
  15  Prefactor     69.712        38.900       -.80801E-05   -.37536E-05
  16  norm          .10000E-03    17.379        .91293E-06** at limit **
  17  Normalizat    1.7183        .22126        .62408E-06    .90347E-04
  18  Prefactor     .70099        .13718        .87160E-06    .91937E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.67863
  norm       = 0.0001
  Prefactor  = 12.1654
  Prefactor  = 18.0185
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.92316
  Prefactor  = 20.5881
  Prefactor  = 19.3407
  norm       = 10.5254
  norm       = 0.087622
  Prefactor  = 0.0001
  norm       = 0.492237
  Prefactor  = 0.0001
  Prefactor  = 69.7122
  norm       = 0.000100003
  Normalizat = 1.71834
  Prefactor  = 0.700985
 **********
 **   18 **HESSE 
 **********

 FCN=   6927.779     FROM HESSE     STATUS=OK           262 CALLS     2142 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.6786        2.4820        .83564E-04   -1.5231    
   2  norm          .10000E-03    11.194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.165        5.6368        .11486E-03   -1.5010    
   4  Prefactor     18.018        18.890        .94367E-04   -1.4859    
   5  Prefactor     .10000E-03    1.3270        .93555E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.3646        .16964E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.9232        2.0066        .11658E-03   -1.5431    
   8  Prefactor     20.588        15.487        .88273E-04   -1.4800    
   9  Prefactor     19.341        35.020        .91095E-04   -1.4828    
  10  norm          10.525        9.8423        .12351E-03   -1.5059    
  11  norm          .87622E-01    5.5695        .57461E-01   -1.5649    
  12  Prefactor     .10000E-03    56.901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .49224        22.495        .11737       -1.5568    
  14  Prefactor     .10000E-03    29.560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     69.712        38.920        .48075E-04   -1.4036    
  16  norm          .10000E-03    17.492        .21074E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.7183        .26265        .26697E-03   -.71815    
  18  Prefactor     .70099        .16172        .24864E-03   -1.0349    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.79771e-10
Minuit parameter uncertainties:
  1  2.48205
  2  5.34302e-07
  3  5.63708
  4  18.8964
  5  1.5316e-06
  6  9.11986e-06
  7  2.00665
  8  15.4902
  9  35.0574
  10  9.84378
  11  1.3965
  12  6.78103e-05
  13  6.65723
  14  2.07503e-05
  15  38.934
  16  0.000420977
  17  0.262867
  18  0.161825
Done.

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

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  2.059e+01  1.549e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  1.053e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  7.010e-01  1.618e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.718e+00  2.629e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.79
Ra Dec: 212.529 2.035
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 3.64e-08 +/- 2.74e-08
Energy Flux (Fixed Index): 1.35e-05 +/- 1.01e-05

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) = 6926.74958106
delta logL = 1.02930342591

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6926.70634332
delta logL = 1.07254116293

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.749       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5650       1.0000          .0000       10.000    
     3 'Normalizat'    1.7385       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69339       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6926.706     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      209 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.749        20.040        .19736E-02   -.34607E-02
   2  Index         1.5649        .39894        .21965       -.42655E-04
   3  Normalizat    1.7385        .21563        .60082E-01    .17972E-06
   4  Prefactor     .69341        .13622        .42313E-01    .21508E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.7489
  Index      = 1.56494
  Normalizat = 1.73848
  Prefactor  = 0.693408
 **********
 **   18 **HESSE 
 **********

 FCN=   6926.706     FROM HESSE     STATUS=OK            29 CALLS      238 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.749        20.072        .78945E-04   -1.4693    
   2  Index         1.5649        .45512        .85206E-02   -.75737    
   3  Normalizat    1.7385        .25371        .26568E-03   -.71280    
   4  Prefactor     .69341        .16037        .24981E-03   -1.0379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88453e-08
Minuit parameter uncertainties:
  1  20.0777
  2  0.456318
  3  0.253905
  4  0.160474
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/232452': 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) = 6926.70634331
delta logL = 1.07254117905

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  2.575e+01  2.008e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        Index:  1.565e+00  4.563e-01  0.000e+00  1.000e+01 (-1.000e+00)
292        Scale:  1.053e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  6.934e-01  1.605e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.738e+00  2.539e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.94
Ra Dec: 212.529 2.035
Photon Index (Free Index): 1.56 +/- 0.46
Photon Flux (Free Index): 1.78e-08 +/- 1.66e-08
Energy Flux (Free Index): 4.52e-05 +/- 5.49e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/232452/cmap_HighResolution_312163201_312422401_4FGL_J1410.1+0202_daily_bin281.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.64e-08', energy_flux2='4.52e-05', photon_flux_error='2.74e-08', dlogl='1.07e+00', energy_flux='1.35e-05', photon_flux2='1.78e-08', job_status='DONE', time_completed='2021-09-09 03:48:23.940902', photon_index_error2='0.46', photon_index2='1.56', ts='5.79', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', energy_flux_error2='5.49e-05', EG='1.72', time_epoch_completed='1631184503.94', return_code='0', job_id='232452', GAL2='0.69', EG2='1.74', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='1.66e-08', ts2='7.94', photon_index='2.31' WHERE bin_id='281' AND source_name='4FGL J1410.1+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 03:48:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 232452: <4FGL_J1410.1+0202_daily_bin281> in cluster <slac> Done

Job <4FGL_J1410.1+0202_daily_bin281> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 03:35:31 2021
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 03:35:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 03:35:33 2021
Terminated at Thu Sep  9 03:48:25 2021
Results reported at Thu Sep  9 03:48:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1410.1+0202_daily_bin281 212.529 2.0354 312163201 312422401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1410.1+0202 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   515.37 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             274.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            774 sec.

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

