aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 83 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 = 17352
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1410.1+0202_weekly_bin714
RA = 212.529, Dec = 2.0354
tmin = 670809601, tmax = 671414401
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='428058', job_status='RUN', time_executed='2022-04-12 01:27:09.365550', time_epoch_executed='1649752029.37' WHERE source_name='4FGL J1410.1+0202' and cadence='weekly' and bin_id='714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428058

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428058/ft1_4FGL_J1410.1+0202_weekly_bin714.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428058/ft2_4FGL_J1410.1+0202_weekly_bin714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/428058/ft1_4FGL_J1410.1+0202_weekly_bin714.fits outfile=/scratch/kocevski/428058/ft1_filteredMKT_4FGL_J1410.1+0202_weekly_bin714.fits ra=212.529 dec=2.0354 rad=12.0 tmin=670809601.0 tmax=671414401.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 11.95
user 11.57
sys 0.34

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/428058/ft2_4FGL_J1410.1+0202_weekly_bin714.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/428058/ft1_filteredMKT_4FGL_J1410.1+0202_weekly_bin714.fits evtable="EVENTS" outfile="/scratch/kocevski/428058/ft1_filtered_4FGL_J1410.1+0202_weekly_bin714.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.56
user 0.38
sys 0.17

Number of photons that the gtmktime cut: 1155

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/428058/ft1_filtered_4FGL_J1410.1+0202_weekly_bin714.fits" evtable="EVENTS" scfile=/scratch/kocevski/428058/ft2_4FGL_J1410.1+0202_weekly_bin714.fits sctable="SC_DATA" outfile=/scratch/kocevski/428058/ltcube_670809601_671414401_4FGL_J1410.1+0202_weekly_bin714.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/428058/ft2_4FGL_J1410.1+0202_weekly_bin714.fits
.....................!
real 25.92
user 25.52
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428058/ft1_filtered_4FGL_J1410.1+0202_weekly_bin714.fits evtable="EVENTS" scfile=/scratch/kocevski/428058/ft2_4FGL_J1410.1+0202_weekly_bin714.fits sctable="SC_DATA" expcube=/scratch/kocevski/428058/ltcube_670809601_671414401_4FGL_J1410.1+0202_weekly_bin714.fits outfile=/scratch/kocevski/428058/expmap_670809601_671414401_4FGL_J1410.1+0202_weekly_bin714.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/428058/ltcube_670809601_671414401_4FGL_J1410.1+0202_weekly_bin714.fits
.....................!
real 191.12
user 184.92
sys 5.88

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/428058/ft1_filtered_4FGL_J1410.1+0202_weekly_bin714.fits scfile=/scratch/kocevski/428058/ft2_4FGL_J1410.1+0202_weekly_bin714.fits outfile=/scratch/kocevski/428058/cmap_670809601_671414401_4FGL_J1410.1+0202_weekly_bin714.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.57
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/428058/ft1_filtered_4FGL_J1410.1+0202_weekly_bin714.fits scfile=/scratch/kocevski/428058/ft2_4FGL_J1410.1+0202_weekly_bin714.fits outfile=/scratch/kocevski/428058/cmap_HighResolution_670809601_671414401_4FGL_J1410.1+0202_weekly_bin714.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.58
user 0.42
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4809       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.7667       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .19722       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.4240       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.4710       1.0000         .10000E-03   10000.    
     7 'norm      '    7.5273       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    31.822       1.0000         .10000E-03   10000.    
    10 'norm      '    20.508       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.691       1.0000         .10000E-03   10000.    
    16 'norm      '    .10263E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2808       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93225       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=   12546.28     FROM MIGRAD    STATUS=CONVERGED    372 CALLS     1531 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4809        1.5106        .45207E-07   -.95333E-04
   2  norm          .10000E-03    7.3009        .74855E-05** at limit **
   3  Prefactor     3.7669        2.2330        .41825E-07   -.60937E-04
   4  Prefactor     .30440        5.6020        .32748E-06   -.60628E-04
   5  Prefactor     4.4244        2.7937        .10938E-06   -.23359E-04
   6  Prefactor     1.4678        1.0676        .15946E-06   -.20437E-02
   7  norm          7.5278        2.6363        .71224E-07   -.56250E-04
   8  Prefactor     .10000E-03    2.8178       -.41208E-07** at limit **
   9  Prefactor     31.826        21.739        .73688E-05    .74808E-05
  10  norm          20.508        9.3712        .27713E-06   -.23206E-05
  11  norm          .10000E-03    3.3666        .58210E-07** at limit **
  12  Prefactor     .10000E-03    9.8967        .51357E-05** at limit **
  13  norm          .10000E-03    3.0572        .52356E-07** at limit **
  14  Prefactor     .10000E-03    8.8898       -.94953E-05** at limit **
  15  Prefactor     10.693        12.505       -.30695E-06    .78395E-04
  16  norm          .10000E-03    6.5714       -.32433E-05** at limit **
  17  Normalizat    1.2806        .14913       -.90160E-06   -.37763E-04
  18  Prefactor     .93224        .98932E-01   -.35239E-07   -.15732E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.48092
  norm       = 0.0001
  Prefactor  = 3.76693
  Prefactor  = 0.304401
  Prefactor  = 4.42436
  Prefactor  = 1.46781
  norm       = 7.52784
  Prefactor  = 0.0001
  Prefactor  = 31.8264
  norm       = 20.5084
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.6932
  norm       = 0.0001
  Normalizat = 1.28064
  Prefactor  = 0.932241
 **********
 **   18 **HESSE 
 **********

 FCN=   12546.28     FROM HESSE     STATUS=OK           250 CALLS     1781 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4809        1.5069        .10384E-03   -1.5393    
   2  norm          .10000E-03    7.3108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.7669        2.2340        .12429E-03   -1.5320    
   4  Prefactor     .30440        131.08        .50433E-02   -1.5598    
   5  Prefactor     4.4244        2.7948        .14442E-03   -1.5287    
   6  Prefactor     1.4678        4.7637        .17715E-02   -1.5466    
   7  norm          7.5278        2.6374        .10325E-03   -1.5159    
   8  Prefactor     .10000E-03    2.8209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     31.826        21.770        .71031E-04   -1.4579    
  10  norm          20.508        9.3755        .88446E-04   -1.4802    
  11  norm          .10000E-03    3.4115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.9491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.0583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.8919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.693        12.490        .12253E-03   -1.5054    
  16  norm          .10000E-03    6.5864        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2806        .17935        .27389E-03   -.84146    
  18  Prefactor     .93224        .11894        .21342E-03   -.95023    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.53776e-08
Minuit parameter uncertainties:
  1  1.50693
  2  6.63032e-06
  3  2.23405
  4  12.6595
  5  2.79489
  6  4.76489
  7  2.63745
  8  9.83758e-07
  9  21.7752
  10  9.37619
  11  2.77515e-06
  12  1.53087e-06
  13  3.81645e-07
  14  6.26632e-06
  15  12.4928
  16  1.30771e-05
  17  0.179438
  18  0.118973
Done.

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

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  1.000e-04  9.838e-07  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.322e-01  1.190e-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.281e+00  1.794e-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.68e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/428058/likelihoodResults_670809601_671414401_4FGL_J1410.1+0202_weekly_bin714.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) = 12546.2794829
delta logL = -0.00168159225359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12546.2778014
delta logL = -5.03114279127e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2915       1.0000          .0000       10.000    
     3 'Normalizat'    1.2807       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93218       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=   12546.28     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      257 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.177        .18142E-01** at limit **
   2  Index         1.7396        5.2454        .50000       -.11581E-05
   3  Normalizat    1.2806        .60566E-02    .27389E-03   -.56150E-03
   4  Prefactor     .93224        .41242E-02    .21342E-03   -.72495E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.73965
  Normalizat = 1.28064
  Prefactor  = 0.932241
 **********
 **   18 **HESSE 
 **********

 FCN=   12546.28     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      284 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    94.158        .21495E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7396        5.4550        .50000       -.71031    
   3  Normalizat    1.2806        .18855E-01    .54779E-04   -.84146    
   4  Prefactor     .93224        .12839E-01    .42684E-04   -.95023    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.40979e-08
Minuit parameter uncertainties:
  1  5.33003e-06
  2  505.66
  3  0.0188548
  4  0.012839
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428058': 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) = 12546.2777965
delta logL = 4.81316783407e-06

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  1.000e-04  5.330e-06  1.000e-04  1.000e+04 ( 1.000e-13)
291        Index:  1.740e+00  5.057e+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:  9.322e-01  1.284e-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:  1.281e+00  1.885e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/428058/cmap_HighResolution_670809601_671414401_4FGL_J1410.1+0202_weekly_bin714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.06e-03', job_status='DONE', photon_flux_upper_limit='2.68e-08', time_completed='2022-04-12 01:40:20.203985', job_id='428058', GAL2='0.93', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1649752820.2', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.81e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='714' AND source_name='4FGL J1410.1+0202' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Apr 12 01:40:20 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 428058: <4FGL_J1410.1+0202_weekly_bin714> in cluster <slac> Done

Job <4FGL_J1410.1+0202_weekly_bin714> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Apr 12 01:25:37 2022
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 12 01:25:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 12 01:25:38 2022
Terminated at Tue Apr 12 01:40:20 2022
Results reported at Tue Apr 12 01:40:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1410.1+0202_weekly_bin714 212.529 2.0354 670809601 671414401 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 :                                   791.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             303.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            883 sec.

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

