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


Performing analysis on: 4FGL_J1410.1+0202_daily_bin559
RA = 212.529, Dec = 2.0354
tmin = 384220801, tmax = 384480001
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='233903', job_status='RUN', time_executed='2021-09-09 03:41:46.456671', time_epoch_executed='1631184106.46' WHERE source_name='4FGL J1410.1+0202' and cadence='daily' and bin_id='559'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/233903

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/233903/ft1_4FGL_J1410.1+0202_daily_bin559.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/233903/ft2_4FGL_J1410.1+0202_daily_bin559.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/233903/ft1_4FGL_J1410.1+0202_daily_bin559.fits outfile=/scratch/kocevski/233903/ft1_filteredMKT_4FGL_J1410.1+0202_daily_bin559.fits ra=212.529 dec=2.0354 rad=12.0 tmin=384220801.0 tmax=384480001.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 14.18
user 13.31
sys 0.43

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/233903/ft2_4FGL_J1410.1+0202_daily_bin559.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/233903/ft1_filteredMKT_4FGL_J1410.1+0202_daily_bin559.fits evtable="EVENTS" outfile="/scratch/kocevski/233903/ft1_filtered_4FGL_J1410.1+0202_daily_bin559.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.70
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/233903/ft1_filtered_4FGL_J1410.1+0202_daily_bin559.fits" evtable="EVENTS" scfile=/scratch/kocevski/233903/ft2_4FGL_J1410.1+0202_daily_bin559.fits sctable="SC_DATA" outfile=/scratch/kocevski/233903/ltcube_384220801_384480001_4FGL_J1410.1+0202_daily_bin559.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/233903/ft2_4FGL_J1410.1+0202_daily_bin559.fits
.....................!
real 11.23
user 10.31
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/233903/ft1_filtered_4FGL_J1410.1+0202_daily_bin559.fits evtable="EVENTS" scfile=/scratch/kocevski/233903/ft2_4FGL_J1410.1+0202_daily_bin559.fits sctable="SC_DATA" expcube=/scratch/kocevski/233903/ltcube_384220801_384480001_4FGL_J1410.1+0202_daily_bin559.fits outfile=/scratch/kocevski/233903/expmap_384220801_384480001_4FGL_J1410.1+0202_daily_bin559.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/233903/ltcube_384220801_384480001_4FGL_J1410.1+0202_daily_bin559.fits
.....................!
real 195.55
user 185.97
sys 4.64

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/233903/ft1_filtered_4FGL_J1410.1+0202_daily_bin559.fits scfile=/scratch/kocevski/233903/ft2_4FGL_J1410.1+0202_daily_bin559.fits outfile=/scratch/kocevski/233903/cmap_384220801_384480001_4FGL_J1410.1+0202_daily_bin559.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.77
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/233903/ft1_filtered_4FGL_J1410.1+0202_daily_bin559.fits scfile=/scratch/kocevski/233903/ft2_4FGL_J1410.1+0202_daily_bin559.fits outfile=/scratch/kocevski/233903/cmap_HighResolution_384220801_384480001_4FGL_J1410.1+0202_daily_bin559.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.75
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.6158       1.0000         .10000E-03   10000.    
     2 'norm      '    .11494E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    34.554       1.0000         .10000E-03   10000.    
     7 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.981       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.249       1.0000         .10000E-03   10000.    
    10 'norm      '    .10117E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    16.743       1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.748       1.0000         .10000E-03   10000.    
    13 'norm      '    151.04       1.0000         .10000E-03   10000.    
    14 'Prefactor '    40.169       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.9297       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .70304E-05   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=   771.7429     FROM MIGRAD    STATUS=CONVERGED    353 CALLS     1941 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.6181        8.9304        .92192E-05   -.13134E-03
   2  norm          .10000E-03    105.58       -.17597E-04** at limit **
   3  Prefactor     .10000E-03    5.1108        .22265E-07** at limit **
   4  Prefactor     .10000E-03    53.170        .29705E-04** at limit **
   5  Prefactor     .10000E-03    4.9724        .11872E-06** at limit **
   6  Prefactor     34.563        65.149        .78468E-05   -.11740E-03
   7  norm          .10000E-03    4.6487        .14884E-06** at limit **
   8  Prefactor     16.999        148.78        .34929E-04   -.40155E-04
   9  Prefactor     15.230        182.68       -.40484E-04   -.38693E-04
  10  norm          .10000E-03    33.513        .51187E-05** at limit **
  11  norm          16.750        27.824        .39199E-05   -.76062E-04
  12  Prefactor     23.761        84.336        .22333E-04   -.41767E-04
  13  norm          151.07        118.49        .16489E-04   -.49719E-04
  14  Prefactor     40.245        163.54        .11546E-03   -.12635E-04
  15  Prefactor     .10000E-03    41.119       -.24036E-04** at limit **
  16  norm          .10000E-03    21.500        .77072E-06** at limit **
  17  Normalizat    1.9296        .40552       -.16079E-04   -.97669E-04
  18  Prefactor     .89675E-10    .46182        .75232E-05** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 6.61806
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.5628
  norm       = 0.0001
  Prefactor  = 16.9986
  Prefactor  = 15.2305
  norm       = 0.0001
  norm       = 16.7501
  Prefactor  = 23.7615
  norm       = 151.066
  Prefactor  = 40.2452
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.92961
  Prefactor  = 8.96755e-11
 **********
 **   18 **HESSE 
 **********

 FCN=   771.7429     FROM HESSE     STATUS=OK           232 CALLS     2173 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.6181        8.9265        .92530E-04   -1.5193    
   2  norm          .10000E-03    105.62        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.1201        .61343E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    53.170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.9787        .60515E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     34.563        64.972        .68173E-04   -1.4531    
   7  norm          .10000E-03    4.6576        .58480E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.999        147.38        .97194E-04   -1.4883    
   9  Prefactor     15.230        187.30        .10257E-03   -1.4927    
  10  norm          .10000E-03    33.522        .15719E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          16.750        27.834        .97882E-04   -1.4889    
  12  Prefactor     23.761        84.499        .82197E-04   -1.4733    
  13  norm          151.07        118.15        .16398E-03   -1.3244    
  14  Prefactor     40.245        163.50        .63244E-04   -1.4438    
  15  Prefactor     .10000E-03    41.169        .17424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    21.500        .12588E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.9296        .34728        .19290E-03   -.66327    
  18  Prefactor     .89675E-10    .70165        .90369E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.66683e-10
Minuit parameter uncertainties:
  1  8.92832
  2  4.68218e-05
  3  2.9664e-05
  4  0.000129841
  5  3.08643e-05
  6  65.1057
  7  4.37525e-06
  8  100.438
  9  107.238
  10  1.40584e-05
  11  27.8551
  12  84.9293
  13  118.339
  14  163.014
  15  7.72182e-05
  16  2.93342e-05
  17  0.347728
  18  1.60562e-05
Done.

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

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  1.700e+01  1.004e+02  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.968e-11  1.606e-05  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.930e+00  3.477e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/233903/likelihoodResults_384220801_384480001_4FGL_J1410.1+0202_daily_bin559.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) = 771.592218191
delta logL = 0.150677380347

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 771.579896479
delta logL = 0.16299909175

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.507       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3311       1.0000          .0000       10.000    
     3 'Normalizat'    1.8927       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .54579E-05   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=   771.5799     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      289 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.492        49.372        .11810E-03   -.14769E-03
   2  Index         3.3331        2.0411        .43034E-02   -.58223E-04
   3  Normalizat    1.8926        .29081        .19369E-03   -.27268E-03
   4  Prefactor     .29421E-12    .96876        .96170E-02** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.4916
  Index      = 3.33308
  Normalizat = 1.89258
  Prefactor  = 2.94209e-13
 **********
 **   18 **HESSE 
 **********

 FCN=   771.5799     FROM HESSE     STATUS=OK            23 CALLS      312 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.492        39.612        .47240E-05   -1.5030    
   2  Index         3.3331        1.7155        .17214E-03   -.33989    
   3  Normalizat    1.8926        .29003        .38738E-04   -.67271    
   4  Prefactor     .29421E-12    .97027        .19234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47644e-10
Minuit parameter uncertainties:
  1  39.7029
  2  1.75577
  3  0.290298
  4  1.08687e-06
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/233903': 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) = 771.579892458
delta logL = 0.163003113288

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  1.149e+01  3.970e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        Index:  3.333e+00  1.756e+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:  2.942e-13  1.087e-06  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.893e+00  2.903e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 212.529 2.035

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/233903/cmap_HighResolution_384220801_384480001_4FGL_J1410.1+0202_daily_bin559.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.48e-02', job_status='DONE', photon_flux_upper_limit='4.53e-07', time_completed='2021-09-09 03:48:36.505485', job_id='233903', GAL2='0.00', fit_tolerance='1e-08', EG2='1.89', EG='1.93', time_epoch_completed='1631184516.51', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='0.00', dlogl='1.63e-01', ts2='0.37', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='559' AND source_name='4FGL J1410.1+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 03:48:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 233903: <4FGL_J1410.1+0202_daily_bin559> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1410.1+0202_daily_bin559 212.529 2.0354 384220801 384480001 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 :                                   387.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             217.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   497 sec.
    Turnaround time :                            499 sec.

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

