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


Performing analysis on: 4FGL_J1410.1+0202_daily_bin519
RA = 212.529, Dec = 2.0354
tmin = 373852801, tmax = 374112001
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='232788', job_status='RUN', time_executed='2021-09-09 03:38:39.152637', time_epoch_executed='1631183919.15' WHERE source_name='4FGL J1410.1+0202' and cadence='daily' and bin_id='519'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/232788

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/232788/ft1_4FGL_J1410.1+0202_daily_bin519.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/232788/ft2_4FGL_J1410.1+0202_daily_bin519.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/232788/ft1_4FGL_J1410.1+0202_daily_bin519.fits outfile=/scratch/kocevski/232788/ft1_filteredMKT_4FGL_J1410.1+0202_daily_bin519.fits ra=212.529 dec=2.0354 rad=12.0 tmin=373852801.0 tmax=374112001.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.71
user 4.22
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/232788/ft1_filtered_4FGL_J1410.1+0202_daily_bin519.fits" evtable="EVENTS" scfile=/scratch/kocevski/232788/ft2_4FGL_J1410.1+0202_daily_bin519.fits sctable="SC_DATA" outfile=/scratch/kocevski/232788/ltcube_373852801_374112001_4FGL_J1410.1+0202_daily_bin519.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/232788/ft2_4FGL_J1410.1+0202_daily_bin519.fits
.....................!
real 12.07
user 11.53
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/232788/ft1_filtered_4FGL_J1410.1+0202_daily_bin519.fits evtable="EVENTS" scfile=/scratch/kocevski/232788/ft2_4FGL_J1410.1+0202_daily_bin519.fits sctable="SC_DATA" expcube=/scratch/kocevski/232788/ltcube_373852801_374112001_4FGL_J1410.1+0202_daily_bin519.fits outfile=/scratch/kocevski/232788/expmap_373852801_374112001_4FGL_J1410.1+0202_daily_bin519.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/232788/ltcube_373852801_374112001_4FGL_J1410.1+0202_daily_bin519.fits
.....................!
real 192.15
user 185.50
sys 5.04

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/232788/ft1_filtered_4FGL_J1410.1+0202_daily_bin519.fits scfile=/scratch/kocevski/232788/ft2_4FGL_J1410.1+0202_daily_bin519.fits outfile=/scratch/kocevski/232788/cmap_373852801_374112001_4FGL_J1410.1+0202_daily_bin519.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 4.98
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/232788/ft1_filtered_4FGL_J1410.1+0202_daily_bin519.fits scfile=/scratch/kocevski/232788/ft2_4FGL_J1410.1+0202_daily_bin519.fits outfile=/scratch/kocevski/232788/cmap_HighResolution_373852801_374112001_4FGL_J1410.1+0202_daily_bin519.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.91
user 0.37
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/232788/ft1_filtered_4FGL_J1410.1+0202_daily_bin519.fits', '/scratch/kocevski/232788/ft2_4FGL_J1410.1+0202_daily_bin519.fits', expMap='/scratch/kocevski/232788/expmap_373852801_374112001_4FGL_J1410.1+0202_daily_bin519.fits', expCube='/scratch/kocevski/232788/ltcube_373852801_374112001_4FGL_J1410.1+0202_daily_bin519.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/232788/Model_4FGL_J1410.1+0202_daily_bin519.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/232788/ft1_filtered_4FGL_J1410.1+0202_daily_bin519.fits
Spacecraft file(s): /scratch/kocevski/232788/ft2_4FGL_J1410.1+0202_daily_bin519.fits
Exposure map: /scratch/kocevski/232788/expmap_373852801_374112001_4FGL_J1410.1+0202_daily_bin519.fits
Exposure cube: /scratch/kocevski/232788/ltcube_373852801_374112001_4FGL_J1410.1+0202_daily_bin519.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/232788/Model_4FGL_J1410.1+0202_daily_bin519.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) = 4996.71957478

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    22.726       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.7493       1.0000         .10000E-03   10000.    
     4 'Prefactor '    41.006       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.6750       1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.665       1.0000         .10000E-03   10000.    
     9 'Prefactor '    29.600       1.0000         .10000E-03   10000.    
    10 'norm      '    9.5925       1.0000         .10000E-03   10000.    
    11 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .72727E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10269E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    30.682       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .75796       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0697       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=   4996.714     FROM MIGRAD    STATUS=CONVERGED    373 CALLS     1761 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.3073        .49204E-01** at limit **
   2  norm          22.727        25.364        .21006E-02    .86778E-04
   3  Prefactor     4.7496        3.5617        .46157E-02    .10673E-03
   4  Prefactor     41.012        28.285        .15649E-02   -.86325E-04
   5  Prefactor     .10000E-03    1.7345        .90712E-02** at limit **
   6  Prefactor     .10000E-03    4.1471        .90712E-02** at limit **
   7  norm          5.6760        4.3187        .42155E-02    .28141E-03
   8  Prefactor     21.655        30.728        .21513E-02    .21831E-03
   9  Prefactor     29.600        32.877        .18410E-02    .36711E-04
  10  norm          9.5935        14.748        .32347E-02    .50670E-04
  11  norm          .10000E-03    3.9768        .90712E-02** at limit **
  12  Prefactor     .10000E-03    165.64        .93187E-02** at limit **
  13  norm          .10000E-03    30.935        .90712E-02** at limit **
  14  Prefactor     .10000E-03    44.833        .90712E-02** at limit **
  15  Prefactor     .10000E-03    59.735        .90712E-02** at limit **
  16  norm          30.693        24.599        .18084E-02    .72976E-03
  17  Normalizat    .75791        .22711        .72251E-01    .10837E-04
  18  Prefactor     1.0697        .15071        .38873E-01   -.12592E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 22.7267
  Prefactor  = 4.7496
  Prefactor  = 41.0121
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.67597
  Prefactor  = 21.6547
  Prefactor  = 29.5998
  norm       = 9.59352
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 30.6933
  Normalizat = 0.757911
  Prefactor  = 1.06966
 **********
 **   18 **HESSE 
 **********

 FCN=   4996.714     FROM HESSE     STATUS=OK           238 CALLS     1999 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.0894        .15539E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          22.727        25.362        .84024E-04   -1.4754    
   3  Prefactor     4.7496        3.5640        .11108E-03   -1.5272    
   4  Prefactor     41.012        28.315        .62598E-04   -1.4426    
   5  Prefactor     .10000E-03    1.7450        .90908E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.1496        .14057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.6760        4.3147        .12016E-03   -1.5231    
   8  Prefactor     21.655        30.732        .86054E-04   -1.4777    
   9  Prefactor     29.600        32.909        .73641E-04   -1.4619    
  10  norm          9.5935        14.765        .12939E-03   -1.5088    
  11  norm          .10000E-03    3.9863        .13763E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    173.12        .37275E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    31.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    44.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    59.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          30.693        24.547        .72334E-04   -1.4599    
  17  Normalizat    .75791        .26202        .31977E-03   -1.0165    
  18  Prefactor     1.0697        .17606        .18776E-03   -.90442    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32363e-09
Minuit parameter uncertainties:
  1  1.80114e-07
  2  25.3738
  3  3.56419
  4  28.3244
  5  7.3035e-08
  6  3.5663e-07
  7  4.31495
  8  30.754
  9  32.9287
  10  14.7709
  11  8.1164e-07
  12  0.000329742
  13  6.3938e-07
  14  3.62401e-05
  15  4.44832e-05
  16  24.5552
  17  0.262458
  18  0.176155
Done.

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

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  2.165e+01  3.075e+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:  1.070e+00  1.762e-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:  7.579e-01  2.625e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.60
Ra Dec: 212.529 2.035
Photon Flux Upper Limit: 1.55e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.19e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/232788/likelihoodResults_373852801_374112001_4FGL_J1410.1+0202_daily_bin519.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) = 4996.52418399
delta logL = 0.190078592399

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4996.47866065
delta logL = 0.235601925268

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.006       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7520       1.0000          .0000       10.000    
     3 'Normalizat'    .78242       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0559       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=   4996.479     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      223 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.926        62.534        .17706E-02    .10029E-04
   2  Index         1.7525        .95674        .19540       -.39041E-04
   3  Normalizat    .78215        .22123        .71200E-01    .20123E-04
   4  Prefactor     1.0562        .15209        .39576E-01    .81912E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.9262
  Index      = 1.75253
  Normalizat = 0.782146
  Prefactor  = 1.05621
 **********
 **   18 **HESSE 
 **********

 FCN=   4996.479     FROM HESSE     STATUS=OK            31 CALLS      254 TOTAL
                     EDM=   .35E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.926        37.004        .70826E-04   -1.4577    
   2  Index         1.7525        .66759        .10038E-01   -.70692    
   3  Normalizat    .78215        .25268        .31509E-03   -1.0073    
   4  Prefactor     1.0562        .17471        .18870E-03   -.90879    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50238e-12
Minuit parameter uncertainties:
  1  37.0307
  2  0.671072
  3  0.253056
  4  0.174804
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/232788': 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) = 4996.47865637
delta logL = 0.235606205764

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  3.193e+01  3.703e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        Index:  1.753e+00  6.711e-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:  1.056e+00  1.748e-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:  7.821e-01  2.531e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.07
Ra Dec: 212.529 2.035
Photon Index (Free Index): 1.75 +/- 0.67
Photon Flux (Free Index): 2.61e-08 +/- 3.80e-08
Energy Flux (Free Index): 3.61e-05 +/- 5.96e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/232788/cmap_HighResolution_373852801_374112001_4FGL_J1410.1+0202_daily_bin519.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.19e-02', comment='SUCCESS', energy_flux2='3.61e-05', dlogl='2.36e-01', photon_flux2='2.61e-08', job_status='DONE', time_completed='2021-09-09 03:48:08.632191', photon_index_error2='0.67', photon_index2='1.75', ts='0.60', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='1.55e-07', energy_flux_error2='5.96e-05', EG='0.76', time_epoch_completed='1631184488.63', return_code='0', job_id='232788', GAL2='1.06', EG2='0.78', return_code2='0', photon_flux_error2='3.80e-08', ts2='1.07', photon_index='2.31' WHERE bin_id='519' AND source_name='4FGL J1410.1+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 03:48:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 232788: <4FGL_J1410.1+0202_daily_bin519> in cluster <slac> Done

Job <4FGL_J1410.1+0202_daily_bin519> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 03:35:57 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 03:35:59 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:59 2021
Terminated at Thu Sep  9 03:48:10 2021
Results reported at Thu Sep  9 03:48:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1410.1+0202_daily_bin519 212.529 2.0354 373852801 374112001 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 :                                   480.39 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             288.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            733 sec.

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

