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


Performing analysis on: 4FGL_J1410.1+0202_daily_bin515
RA = 212.529, Dec = 2.0354
tmin = 372816001, tmax = 373075201
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='232782', job_status='RUN', time_executed='2021-09-09 03:39:26.183311', time_epoch_executed='1631183966.18' WHERE source_name='4FGL J1410.1+0202' and cadence='daily' and bin_id='515'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/232782

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/232782/ft1_4FGL_J1410.1+0202_daily_bin515.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/232782/ft2_4FGL_J1410.1+0202_daily_bin515.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/232782/ft1_4FGL_J1410.1+0202_daily_bin515.fits outfile=/scratch/kocevski/232782/ft1_filteredMKT_4FGL_J1410.1+0202_daily_bin515.fits ra=212.529 dec=2.0354 rad=12.0 tmin=372816001.0 tmax=373075201.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.45
user 4.17
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/232782/ft2_4FGL_J1410.1+0202_daily_bin515.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/232782/ft1_filteredMKT_4FGL_J1410.1+0202_daily_bin515.fits evtable="EVENTS" outfile="/scratch/kocevski/232782/ft1_filtered_4FGL_J1410.1+0202_daily_bin515.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/232782/ft1_filtered_4FGL_J1410.1+0202_daily_bin515.fits" evtable="EVENTS" scfile=/scratch/kocevski/232782/ft2_4FGL_J1410.1+0202_daily_bin515.fits sctable="SC_DATA" outfile=/scratch/kocevski/232782/ltcube_372816001_373075201_4FGL_J1410.1+0202_daily_bin515.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/232782/ft2_4FGL_J1410.1+0202_daily_bin515.fits
.....................!
real 11.72
user 11.28
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/232782/ft1_filtered_4FGL_J1410.1+0202_daily_bin515.fits evtable="EVENTS" scfile=/scratch/kocevski/232782/ft2_4FGL_J1410.1+0202_daily_bin515.fits sctable="SC_DATA" expcube=/scratch/kocevski/232782/ltcube_372816001_373075201_4FGL_J1410.1+0202_daily_bin515.fits outfile=/scratch/kocevski/232782/expmap_372816001_373075201_4FGL_J1410.1+0202_daily_bin515.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/232782/ltcube_372816001_373075201_4FGL_J1410.1+0202_daily_bin515.fits
.....................!
real 190.52
user 185.32
sys 4.65

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/232782/ft1_filtered_4FGL_J1410.1+0202_daily_bin515.fits scfile=/scratch/kocevski/232782/ft2_4FGL_J1410.1+0202_daily_bin515.fits outfile=/scratch/kocevski/232782/cmap_372816001_373075201_4FGL_J1410.1+0202_daily_bin515.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.26
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/232782/ft1_filtered_4FGL_J1410.1+0202_daily_bin515.fits scfile=/scratch/kocevski/232782/ft2_4FGL_J1410.1+0202_daily_bin515.fits outfile=/scratch/kocevski/232782/cmap_HighResolution_372816001_373075201_4FGL_J1410.1+0202_daily_bin515.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.54
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10166E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .17389E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.0332       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10300E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .30736E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.8476       1.0000         .10000E-03   10000.    
     8 'Prefactor '    29.095       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.926       1.0000         .10000E-03   10000.    
    10 'norm      '    37.903       1.0000         .10000E-03   10000.    
    11 'norm      '    3.9224       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10508E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    30.913       1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.605       1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.494       1.0000         .10000E-03   10000.    
    16 'norm      '    .15245E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2150       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95994       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=   5439.599     FROM MIGRAD    STATUS=CONVERGED    382 CALLS     1763 TOTAL
                     EDM=   .43E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.2933        .72456E-07** at limit **
   2  norm          .10000E-03    34.122       -.61016E-06** at limit **
   3  Prefactor     5.0323        4.7889       -.97830E-07    .14991E-04
   4  Prefactor     .10000E-03    12.250        .13412E-06** at limit **
   5  Prefactor     .10000E-03    4.1154       -.34563E-07** at limit **
   6  Prefactor     .10000E-03    74.208        .19766E-04** at limit **
   7  norm          3.8480        3.7001       -.65500E-07    .28704E-04
   8  Prefactor     29.084        23.526        .30288E-06    .19557E-04
   9  Prefactor     10.927        22.984       -.20992E-06    .19168E-05
  10  norm          37.913        18.686       -.26863E-06   -.88898E-07
  11  norm          3.9234        7.5766       -.11457E-05    .83474E-05
  12  Prefactor     .10000E-03    18.821        .63073E-06** at limit **
  13  norm          30.934        26.356       -.78998E-07   -.20953E-05
  14  Prefactor     21.519        51.001       -.87901E-05   -.25535E-05
  15  Prefactor     13.526        20.329       -.10905E-05   -.12601E-04
  16  norm          .10000E-03    15.807        .77484E-06** at limit **
  17  Normalizat    1.2150        .23197        .67108E-06   -.35433E-04
  18  Prefactor     .95986        .15244        .86437E-07    .85815E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 5.03226
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.84799
  Prefactor  = 29.0837
  Prefactor  = 10.9271
  norm       = 37.9129
  norm       = 3.92337
  Prefactor  = 0.0001
  norm       = 30.9339
  Prefactor  = 21.5193
  Prefactor  = 13.5264
  norm       = 0.0001
  Normalizat = 1.215
  Prefactor  = 0.95986
 **********
 **   18 **HESSE 
 **********

 FCN=   5439.599     FROM HESSE     STATUS=OK           250 CALLS     2013 TOTAL
                     EDM=   .98E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.8343        .16107E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    34.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.0323        4.7874        .14980E-03   -1.5259    
   4  Prefactor     .10000E-03    12.273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.2161        .14608E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    72.601        .38966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.8480        3.6919        .13135E-03   -1.5316    
   8  Prefactor     29.084        23.341        .74276E-04   -1.4629    
   9  Prefactor     10.927        22.983        .12121E-03   -1.5047    
  10  norm          37.913        18.706        .65101E-04   -1.4476    
  11  norm          3.9234        7.5912        .10185E-02   -1.5312    
  12  Prefactor     .10000E-03    18.889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          30.934        26.352        .72064E-04   -1.4595    
  14  Prefactor     21.519        50.993        .86172E-04   -1.4780    
  15  Prefactor     13.526        20.279        .10904E-03   -1.4972    
  16  norm          .10000E-03    15.845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2150        .27543        .28342E-03   -.86141    
  18  Prefactor     .95986        .18332        .21132E-03   -.94080    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.79893e-11
Minuit parameter uncertainties:
  1  4.43358e-05
  2  1.00328e-05
  3  4.78778
  4  6.26479e-06
  5  5.02382e-06
  6  8.86409e-05
  7  3.69213
  8  23.3479
  9  23.0012
  10  18.7087
  11  7.59309
  12  9.33513e-06
  13  26.3615
  14  51.0963
  15  20.289
  16  0.000154871
  17  0.275759
  18  0.183442
Done.

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

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  2.908e+01  2.335e+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:  9.599e-01  1.834e-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.215e+00  2.758e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.80
Ra Dec: 212.529 2.035
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 5.15e-08 +/- 4.13e-08
Energy Flux (Fixed Index): 1.90e-05 +/- 1.53e-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) = 5439.47732419
delta logL = 0.122173324661

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5439.4720994
delta logL = 0.127398118453

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5439.472     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      278 TOTAL
                     EDM=   .57E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.512        30.345        .76377E-04    .18904E-04
   2  Index         1.8459        .95822        .10071E-01   -.83554E-05
   3  Normalizat    1.2450        .27353        .28054E-03    .34243E-04
   4  Prefactor     .95034        .18222        .21230E-03    .42573E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.5121
  Index      = 1.84587
  Normalizat = 1.24499
  Prefactor  = 0.95034
 **********
 **   18 **HESSE 
 **********

 FCN=   5439.472     FROM HESSE     STATUS=OK            25 CALLS      303 TOTAL
                     EDM=   .29E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.512        31.087        .15275E-04   -1.4658    
   2  Index         1.8459        .98090        .40286E-03   -.68262    
   3  Normalizat    1.2450        .27385        .11222E-04   -.85224    
   4  Prefactor     .95034        .18240        .84919E-05   -.94404    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89358e-12
Minuit parameter uncertainties:
  1  31.1056
  2  0.991663
  3  0.274165
  4  0.182517
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/232782': 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) = 5439.47209828
delta logL = 0.127399238935

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  2.751e+01  3.111e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        Index:  1.846e+00  9.917e-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:  9.503e-01  1.825e-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.245e+00  2.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.05
Ra Dec: 212.529 2.035
Photon Index (Free Index): 1.85 +/- 0.99
Photon Flux (Free Index): 2.50e-08 +/- 5.11e-08
Energy Flux (Free Index): 2.62e-05 +/- 3.68e-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/232782/cmap_HighResolution_372816001_373075201_4FGL_J1410.1+0202_daily_bin515.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.15e-08', energy_flux2='2.62e-05', photon_flux_error='4.13e-08', dlogl='1.27e-01', energy_flux='1.90e-05', photon_flux2='2.50e-08', job_status='DONE', time_completed='2021-09-09 03:48:07.607429', photon_index_error2='0.99', photon_index2='1.85', ts='4.80', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='3.68e-05', EG='1.21', time_epoch_completed='1631184487.61', return_code='0', job_id='232782', GAL2='0.95', EG2='1.24', return_code2='0', energy_flux_error='1.53e-05', photon_flux_error2='5.11e-08', ts2='5.05', photon_index='2.31' WHERE bin_id='515' AND source_name='4FGL J1410.1+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 03:48:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 232782: <4FGL_J1410.1+0202_daily_bin515> in cluster <slac> Done

Job <4FGL_J1410.1+0202_daily_bin515> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 03:35:56 2021
Job was executed on host(s) <bullet0202>, 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:08 2021
Results reported at Thu Sep  9 03:48:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1410.1+0202_daily_bin515 212.529 2.0354 372816001 373075201 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 :                                   473.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             210.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   729 sec.
    Turnaround time :                            732 sec.

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

