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


Performing analysis on: 4FGL_J1410.1+0202_daily_bin451
RA = 212.529, Dec = 2.0354
tmin = 356227201, tmax = 356486401
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='232695', job_status='RUN', time_executed='2021-09-09 03:38:02.038483', time_epoch_executed='1631183882.04' WHERE source_name='4FGL J1410.1+0202' and cadence='daily' and bin_id='451'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/232695

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/232695/ft1_4FGL_J1410.1+0202_daily_bin451.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...
fmerge4.1 : Error, missing column list names, file /scratch/kocevski/232695/ft2_filtered_0009.fits
fmerge4.1 : Fatal error!
FCCMPL: not found in table: RA_SUN
FCCMPL: not found in table: DEC_SUN

Merged file saved to:
/scratch/kocevski/232695/ft2_4FGL_J1410.1+0202_daily_bin451.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/232695/ft1_4FGL_J1410.1+0202_daily_bin451.fits outfile=/scratch/kocevski/232695/ft1_filteredMKT_4FGL_J1410.1+0202_daily_bin451.fits ra=212.529 dec=2.0354 rad=12.0 tmin=356227201.0 tmax=356486401.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.10
user 2.87
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/232695/ft1_filtered_4FGL_J1410.1+0202_daily_bin451.fits evtable="EVENTS" scfile=/scratch/kocevski/232695/ft2_4FGL_J1410.1+0202_daily_bin451.fits sctable="SC_DATA" expcube=/scratch/kocevski/232695/ltcube_356227201_356486401_4FGL_J1410.1+0202_daily_bin451.fits outfile=/scratch/kocevski/232695/expmap_356227201_356486401_4FGL_J1410.1+0202_daily_bin451.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/232695/ltcube_356227201_356486401_4FGL_J1410.1+0202_daily_bin451.fits
.....................!
real 192.30
user 186.76
sys 5.01

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/232695/ft1_filtered_4FGL_J1410.1+0202_daily_bin451.fits scfile=/scratch/kocevski/232695/ft2_4FGL_J1410.1+0202_daily_bin451.fits outfile=/scratch/kocevski/232695/cmap_356227201_356486401_4FGL_J1410.1+0202_daily_bin451.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
gtbin: WARNING: Spacecraft data ceases before end of last GTI.
gtbin: WARNING: EXPOSURE keyword calculation may not be accurate.
real 1.15
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/232695/ft1_filtered_4FGL_J1410.1+0202_daily_bin451.fits scfile=/scratch/kocevski/232695/ft2_4FGL_J1410.1+0202_daily_bin451.fits outfile=/scratch/kocevski/232695/cmap_HighResolution_356227201_356486401_4FGL_J1410.1+0202_daily_bin451.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
gtbin: WARNING: Spacecraft data ceases before end of last GTI.
gtbin: WARNING: EXPOSURE keyword calculation may not be accurate.
real 0.82
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8835       1.0000         .10000E-03   10000.    
     2 'norm      '    66.411       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.1257       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .31262E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    103.90       1.0000         .10000E-03   10000.    
     7 'norm      '    3.5168       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10145E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    26.811       1.0000         .10000E-03   10000.    
    12 'Prefactor '    36.352       1.0000         .10000E-03   10000.    
    13 'norm      '    52.346       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .29507E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    51.476       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .85466       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .86733       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=   1327.282     FROM MIGRAD    STATUS=CONVERGED    365 CALLS     1748 TOTAL
                     EDM=   .46E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8813        8.2844        .58589E-08   -.35785E-04
   2  norm          66.374        96.110       -.11509E-05   -.89824E-05
   3  Prefactor     6.1215        11.575        .44921E-06   -.31190E-04
   4  Prefactor     .10000E-03    1065.7        .31662E-04** at limit **
   5  Prefactor     .10000E-03    3.8966       -.48833E-07** at limit **
   6  Prefactor     103.84        49.857       -.16478E-05   -.14004E-04
   7  norm          3.5173        4.8435        .98399E-07   -.52722E-05
   8  Prefactor     .10000E-03    44.227        .12081E-05** at limit **
   9  Prefactor     .10000E-03    45.478       -.62810E-07** at limit **
  10  norm          .10000E-03    16.919        .56124E-07** at limit **
  11  norm          26.813        20.655        .86563E-07   -.60452E-05
  12  Prefactor     36.362        53.136        .54587E-06   -.81932E-05
  13  norm          52.351        56.852        .19327E-06   -.35984E-05
  14  Prefactor     .10000E-03    63.885       -.38659E-07** at limit **
  15  Prefactor     .10000E-03    119.25       -.30969E-06** at limit **
  16  norm          51.388        68.763        .28265E-05   -.12266E-04
  17  Normalizat    .85422        .49663       -.60116E-05   -.79671E-05
  18  Prefactor     .86757        .30534        .19044E-05   -.95572E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.88127
  norm       = 66.3736
  Prefactor  = 6.12148
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 103.844
  norm       = 3.51732
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 26.8125
  Prefactor  = 36.3623
  norm       = 52.3509
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 51.388
  Normalizat = 0.85422
  Prefactor  = 0.867571
 **********
 **   18 **HESSE 
 **********

 FCN=   1327.282     FROM HESSE     STATUS=OK           246 CALLS     1994 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8813        8.2995        .12584E-03   -1.5266    
   2  norm          66.374        96.072        .24625E-03   -1.4077    
   3  Prefactor     6.1215        11.574        .15977E-03   -1.5213    
   4  Prefactor     .10000E-03    1150.3        .36713E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.8972        .70245E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     103.84        50.598        .19724E-03   -1.3666    
   7  norm          3.5173        4.8353        .90574E-04   -1.5333    
   8  Prefactor     .10000E-03    44.261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    45.480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    16.924        .14641E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          26.813        20.654        .77368E-04   -1.4672    
  12  Prefactor     36.362        53.170        .66470E-04   -1.4501    
  13  norm          52.351        56.853        .55434E-04   -1.4260    
  14  Prefactor     .10000E-03    63.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    118.48        .21397E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          51.388        68.657        .55899E-04   -1.4273    
  17  Normalizat    .85422        .56974        .32150E-03   -.98088    
  18  Prefactor     .86757        .35787        .20817E-03   -.97284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26635e-10
Minuit parameter uncertainties:
  1  8.30148
  2  96.2974
  3  11.5786
  4  0.00430897
  5  1.36296e-06
  6  50.6191
  7  4.83583
  8  5.74615e-05
  9  8.45453e-06
  10  3.60738e-06
  11  20.6595
  12  53.2394
  13  56.9121
  14  1.64148e-05
  15  0.000183533
  16  68.7627
  17  0.573806
  18  0.358844
Done.

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

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  1.000e-04  5.746e-05  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.676e-01  3.588e-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:  8.542e-01  5.738e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/232695/likelihoodResults_356227201_356486401_4FGL_J1410.1+0202_daily_bin451.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): 102
logL (Free Index) = 1327.28245687
delta logL = -0.000107458536604

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1327.28235053
delta logL = -1.11688109428e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13283E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6205       1.0000          .0000       10.000    
     3 'Normalizat'    .85421       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86758       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=   1327.282     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      272 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10469E-03    22.124        .18142E-01** at limit **
   2  Index         2.5182        5.7071        .50000        .94536E-05
   3  Normalizat    .85421        .89990E-02    .32150E-03   -.38473E-04
   4  Prefactor     .86758        .59112E-02    .20817E-03   -.39698E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010469
  Index      = 2.51821
  Normalizat = 0.854213
  Prefactor  = 0.867576
 **********
 **   18 **HESSE 
 **********

 FCN=   1327.282     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      301 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10469E-03    225.42        .20843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5182        6.2556        .50000       -.51940    
   3  Normalizat    .85421        .28914E-01    .12860E-04   -.98088    
   4  Prefactor     .86758        .18993E-01    .41634E-04   -.97283    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.03562e-09
Minuit parameter uncertainties:
  1  0.0652746
  2  440.698
  3  0.0289148
  4  0.0189933
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/232695': 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): 102
logL (Free Index) = 1327.2823498
delta logL = -3.88855823985e-07

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  1.047e-04  6.527e-02  1.000e-04  1.000e+04 ( 1.000e-13)
291        Index:  2.518e+00  4.407e+02  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.676e-01  1.899e-02  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:  8.542e-01  2.891e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/232695/cmap_HighResolution_356227201_356486401_4FGL_J1410.1+0202_daily_bin451.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.99e-02', job_status='DONE', photon_flux_upper_limit='2.60e-07', time_completed='2021-09-09 03:43:56.058493', job_id='232695', GAL2='0.87', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1631184236.06', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='-3.89e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='451' AND source_name='4FGL J1410.1+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 03:43:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0195>
Subject: Job 232695: <4FGL_J1410.1+0202_daily_bin451> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1410.1+0202_daily_bin451 212.529 2.0354 356227201 356486401 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 :                                   346.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   488 sec.
    Turnaround time :                            490 sec.

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

