/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 65 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 = 7473
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1410.1+0202_daily_bin551
RA = 212.529, Dec = 2.0354
tmin = 382147201, tmax = 382406401
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='233891', job_status='RUN', time_executed='2021-09-09 03:41:43.458123', time_epoch_executed='1631184103.46' WHERE source_name='4FGL J1410.1+0202' and cadence='daily' and bin_id='551'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/233891

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/233891/ft1_4FGL_J1410.1+0202_daily_bin551.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/233891/ft2_4FGL_J1410.1+0202_daily_bin551.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/233891/ft1_4FGL_J1410.1+0202_daily_bin551.fits outfile=/scratch/kocevski/233891/ft1_filteredMKT_4FGL_J1410.1+0202_daily_bin551.fits ra=212.529 dec=2.0354 rad=12.0 tmin=382147201.0 tmax=382406401.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.43
user 3.20
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/233891/ft2_4FGL_J1410.1+0202_daily_bin551.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/233891/ft1_filteredMKT_4FGL_J1410.1+0202_daily_bin551.fits evtable="EVENTS" outfile="/scratch/kocevski/233891/ft1_filtered_4FGL_J1410.1+0202_daily_bin551.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.35
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/233891/ft1_filtered_4FGL_J1410.1+0202_daily_bin551.fits" evtable="EVENTS" scfile=/scratch/kocevski/233891/ft2_4FGL_J1410.1+0202_daily_bin551.fits sctable="SC_DATA" outfile=/scratch/kocevski/233891/ltcube_382147201_382406401_4FGL_J1410.1+0202_daily_bin551.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/233891/ft2_4FGL_J1410.1+0202_daily_bin551.fits
.....................!
real 12.00
user 11.64
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/233891/ft1_filtered_4FGL_J1410.1+0202_daily_bin551.fits evtable="EVENTS" scfile=/scratch/kocevski/233891/ft2_4FGL_J1410.1+0202_daily_bin551.fits sctable="SC_DATA" expcube=/scratch/kocevski/233891/ltcube_382147201_382406401_4FGL_J1410.1+0202_daily_bin551.fits outfile=/scratch/kocevski/233891/expmap_382147201_382406401_4FGL_J1410.1+0202_daily_bin551.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/233891/ltcube_382147201_382406401_4FGL_J1410.1+0202_daily_bin551.fits
.....................!
real 190.85
user 185.28
sys 4.73

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/233891/ft1_filtered_4FGL_J1410.1+0202_daily_bin551.fits scfile=/scratch/kocevski/233891/ft2_4FGL_J1410.1+0202_daily_bin551.fits outfile=/scratch/kocevski/233891/cmap_382147201_382406401_4FGL_J1410.1+0202_daily_bin551.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 0.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/233891/ft1_filtered_4FGL_J1410.1+0202_daily_bin551.fits scfile=/scratch/kocevski/233891/ft2_4FGL_J1410.1+0202_daily_bin551.fits outfile=/scratch/kocevski/233891/cmap_HighResolution_382147201_382406401_4FGL_J1410.1+0202_daily_bin551.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 0.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4311       1.0000         .10000E-03   10000.    
     2 'norm      '    9.6983       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.7009       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10204E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.601       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.2614       1.0000         .10000E-03   10000.    
    11 'norm      '    12.168       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.4160       1.0000         .10000E-03   10000.    
    13 'norm      '    15.145       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10386E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    41.710       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2186       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .87993       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=   6042.941     FROM MIGRAD    STATUS=CONVERGED    343 CALLS     1705 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4317        2.3664        .54592E-02    .30815E-03
   2  norm          9.6955        16.445        .32169E-02    .95313E-03
   3  Prefactor     3.7023        4.1935        .52482E-02    .48494E-03
   4  Prefactor     .10000E-03    18.367        .90712E-02** at limit **
   5  Prefactor     .10000E-03    4.2959        .90712E-02** at limit **
   6  Prefactor     .10000E-03    3.5554        .90712E-02** at limit **
   7  norm          .10000E-03    .62776        .90712E-02** at limit **
   8  Prefactor     17.602        24.065        .23866E-02   -.46609E-03
   9  Prefactor     .10000E-03    23.661        .90712E-02** at limit **
  10  norm          3.2570        12.111        .56062E-02    .26915E-03
  11  norm          12.167        7.6951        .28710E-02    .48219E-04
  12  Prefactor     9.4159        23.683        .32650E-02    .28147E-03
  13  norm          15.147        14.769        .25730E-02   -.40000E-03
  14  Prefactor     .10000E-03    13.234        .90712E-02** at limit **
  15  Prefactor     .10000E-03    23.628        .90712E-02** at limit **
  16  norm          41.711        20.834        .15517E-02   -.18327E-02
  17  Normalizat    1.2180        .20615        .60860E-01    .34481E-05
  18  Prefactor     .88034        .13425        .44749E-01    .11988E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.43171
  norm       = 9.6955
  Prefactor  = 3.70231
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 17.6019
  Prefactor  = 0.0001
  norm       = 3.25698
  norm       = 12.167
  Prefactor  = 9.41587
  norm       = 15.1465
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 41.7106
  Normalizat = 1.21798
  Prefactor  = 0.880337
 **********
 **   18 **HESSE 
 **********

 FCN=   6042.941     FROM HESSE     STATUS=OK           240 CALLS     1945 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4317        2.3655        .95621E-04   -1.5337    
   2  norm          9.6955        16.443        .12868E-03   -1.5085    
   3  Prefactor     3.7023        4.2019        .16072E-03   -1.5323    
   4  Prefactor     .10000E-03    18.673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.4435        .31455E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.5602        .14313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .63064        .60137E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     17.602        24.101        .95466E-04   -1.4869    
   9  Prefactor     .10000E-03    23.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.2570        12.149        .22425E-03   -1.5347    
  11  norm          12.167        7.6970        .11484E-03   -1.5010    
  12  Prefactor     9.4159        23.763        .13060E-03   -1.5094    
  13  norm          15.147        14.766        .10292E-03   -1.4929    
  14  Prefactor     .10000E-03    13.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    23.638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          41.711        20.832        .62070E-04   -1.4415    
  17  Normalizat    1.2180        .24706        .26918E-03   -.86049    
  18  Prefactor     .88034        .16050        .20747E-03   -.96832    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.64751e-09
Minuit parameter uncertainties:
  1  2.36558
  2  16.4506
  3  4.20227
  4  0.000115853
  5  5.64768e-06
  6  6.62941e-06
  7  1.4372e-06
  8  24.1145
  9  5.34723e-05
  10  12.1582
  11  7.69758
  12  23.787
  13  14.7694
  14  2.90473e-05
  15  0.00020568
  16  20.836
  17  0.247296
  18  0.160584
Done.

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

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  1.760e+01  2.411e+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:  8.803e-01  1.606e-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.218e+00  2.473e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.64
Ra Dec: 212.529 2.035
Photon Flux Upper Limit: 1.23e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/233891/likelihoodResults_382147201_382406401_4FGL_J1410.1+0202_daily_bin551.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) = 6042.70332264
delta logL = 0.238099965203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6042.69694975
delta logL = 0.244472857888

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6120       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9799       1.0000          .0000       10.000    
     3 'Normalizat'    1.1951       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89049       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=   6042.697     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      285 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6010        32.186        .13659E-03   -.66109E-03
   2  Index         2.9808        1.8726        .71285E-02   -.18402E-03
   3  Normalizat    1.1951        .23882        .27133E-03    .42918E-03
   4  Prefactor     .89050        .15889        .20638E-03    .47432E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.60097
  Index      = 2.98076
  Normalizat = 1.19505
  Prefactor  = 0.890496
 **********
 **   18 **HESSE 
 **********

 FCN=   6042.697     FROM HESSE     STATUS=OK            25 CALLS      310 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6010        19.317        .54638E-05   -1.5121    
   2  Index         2.9808        1.1433        .28514E-03   -.41572    
   3  Normalizat    1.1951        .23838        .54267E-04   -.86756    
   4  Prefactor     .89050        .15793        .41276E-04   -.96474    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0263e-09
Minuit parameter uncertainties:
  1  19.3314
  2  1.15558
  3  0.238598
  4  0.158009
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/233891': 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) = 6042.69694945
delta logL = 0.244473151317

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  8.601e+00  1.933e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        Index:  2.981e+00  1.156e+00  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:  8.905e-01  1.580e-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.195e+00  2.386e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.15
Ra Dec: 212.529 2.035
Photon Index (Free Index): 2.98 +/- 1.16
Photon Flux (Free Index): 4.85e-08 +/- 5.20e-08
Energy Flux (Free Index): 9.77e-06 +/- 1.12e-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/233891/cmap_HighResolution_382147201_382406401_4FGL_J1410.1+0202_daily_bin551.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.49e-03', comment='SUCCESS', energy_flux2='9.77e-06', dlogl='2.44e-01', photon_flux2='4.85e-08', job_status='DONE', time_completed='2021-09-09 03:50:22.087162', photon_index_error2='1.16', photon_index2='2.98', ts='0.64', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.23e-07', energy_flux_error2='1.12e-05', EG='1.22', time_epoch_completed='1631184622.09', return_code='0', job_id='233891', GAL2='0.89', EG2='1.20', return_code2='0', photon_flux_error2='5.20e-08', ts2='1.15', photon_index='2.31' WHERE bin_id='551' AND source_name='4FGL J1410.1+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 03:50:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0181>
Subject: Job 233891: <4FGL_J1410.1+0202_daily_bin551> in cluster <slac> Done

Job <4FGL_J1410.1+0202_daily_bin551> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 03:40:17 2021
Job was executed on host(s) <bullet0181>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 03:40:18 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:40:18 2021
Terminated at Thu Sep  9 03:50:23 2021
Results reported at Thu Sep  9 03:50:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1410.1+0202_daily_bin551 212.529 2.0354 382147201 382406401 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 :                                   513.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             263.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   604 sec.
    Turnaround time :                            606 sec.

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

