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 193 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7696
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1411.8+5249_daily_bin1749
RA = 212.969, Dec = 52.8278
tmin = 692668801, tmax = 692928001
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='954284', job_status='RUN', time_executed='2022-12-17 00:53:38.882362', time_epoch_executed='1671267218.88' WHERE source_name='4FGL J1411.8+5249' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/954284

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/954284/ft1_4FGL_J1411.8+5249_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/954284/ft2_4FGL_J1411.8+5249_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/954284/ft1_4FGL_J1411.8+5249_daily_bin1749.fits outfile=/scratch/kocevski/954284/ft1_filteredMKT_4FGL_J1411.8+5249_daily_bin1749.fits ra=212.969 dec=52.8278 rad=12.0 tmin=692668801.0 tmax=692928001.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.67
user 3.43
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/954284/ft2_4FGL_J1411.8+5249_daily_bin1749.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/954284/ft2_4FGL_J1411.8+5249_daily_bin1749.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/954284/ft1_filteredMKT_4FGL_J1411.8+5249_daily_bin1749.fits evtable="EVENTS" outfile="/scratch/kocevski/954284/ft1_filtered_4FGL_J1411.8+5249_daily_bin1749.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 630

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/954284/ft1_filtered_4FGL_J1411.8+5249_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/954284/ft2_4FGL_J1411.8+5249_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/954284/ltcube_692668801_692928001_4FGL_J1411.8+5249_daily_bin1749.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/954284/ft2_4FGL_J1411.8+5249_daily_bin1749.fits
.....................!
real 12.17
user 11.69
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/954284/ft1_filtered_4FGL_J1411.8+5249_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/954284/ft2_4FGL_J1411.8+5249_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/954284/ltcube_692668801_692928001_4FGL_J1411.8+5249_daily_bin1749.fits outfile=/scratch/kocevski/954284/expmap_692668801_692928001_4FGL_J1411.8+5249_daily_bin1749.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/954284/ltcube_692668801_692928001_4FGL_J1411.8+5249_daily_bin1749.fits
.....................!
real 191.91
user 185.99
sys 5.57

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 212 point sources and 0 extended sources

Setting source of interest to:
4FGL J1411.8+5249 @ 212.969 52.8278

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/954284/ft1_filtered_4FGL_J1411.8+5249_daily_bin1749.fits scfile=/scratch/kocevski/954284/ft2_4FGL_J1411.8+5249_daily_bin1749.fits outfile=/scratch/kocevski/954284/cmap_692668801_692928001_4FGL_J1411.8+5249_daily_bin1749.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.969 yref=52.8278 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/954284/ft1_filtered_4FGL_J1411.8+5249_daily_bin1749.fits scfile=/scratch/kocevski/954284/ft2_4FGL_J1411.8+5249_daily_bin1749.fits outfile=/scratch/kocevski/954284/cmap_HighResolution_692668801_692928001_4FGL_J1411.8+5249_daily_bin1749.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.969 yref=52.8278 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/954284/ft1_filtered_4FGL_J1411.8+5249_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/954284/ft2_4FGL_J1411.8+5249_daily_bin1749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/954284/Model_4FGL_J1411.8+5249_daily_bin1749.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/954284/ft1_filtered_4FGL_J1411.8+5249_daily_bin1749.fits.....................!
real 53.24
user 51.91
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/954284/ft1_filtered_4FGL_J1411.8+5249_daily_bin1749.fits', '/scratch/kocevski/954284/ft2_4FGL_J1411.8+5249_daily_bin1749.fits', expMap='/scratch/kocevski/954284/expmap_692668801_692928001_4FGL_J1411.8+5249_daily_bin1749.fits', expCube='/scratch/kocevski/954284/ltcube_692668801_692928001_4FGL_J1411.8+5249_daily_bin1749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/954284/Model_4FGL_J1411.8+5249_daily_bin1749.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1411.8+5249'

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  5.211e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
323        Index:  2.110e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
324        Scale:  2.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/954284/ft1_filtered_4FGL_J1411.8+5249_daily_bin1749.fits
Spacecraft file(s): /scratch/kocevski/954284/ft2_4FGL_J1411.8+5249_daily_bin1749.fits
Exposure map: /scratch/kocevski/954284/expmap_692668801_692928001_4FGL_J1411.8+5249_daily_bin1749.fits
Exposure cube: /scratch/kocevski/954284/ltcube_692668801_692928001_4FGL_J1411.8+5249_daily_bin1749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/954284/Model_4FGL_J1411.8+5249_daily_bin1749.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) = 6832.42693653

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .31663E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .11161E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .27481E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    57.017       1.0000          .0000       .10000E+07
     5 'Prefactor '    .41764E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .37148E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .20745E-01   1.0000          .0000       .10000E+07
     8 'norm      '    1.9951       1.0000          .0000       .10000E+07
     9 'norm      '    5.5222       1.0000          .0000       .10000E+07
    10 'Prefactor '    .20047E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .29214E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .99886E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .29986E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .58719       1.0000          .0000       .10000E+07
    15 'Prefactor '    17.119       1.0000          .0000       .10000E+07
    16 'Prefactor '    25.390       1.0000          .0000       .10000E+07
    17 'Prefactor '    23.039       1.0000          .0000       .10000E+07
    18 'Prefactor '    11.938       1.0000          .0000       .10000E+07
    19 'norm      '    1.9113       1.0000          .0000       .10000E+07
    20 'Prefactor '    .34610E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .89173       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.7377       1.0000          .0000       .10000E+07
    23 'Normalizat'    .90511       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1992       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6832.411     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     2006 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .38858E-09    7.4728        .19469E-06** at limit **
   2  Prefactor     .16653E-09    7.2214        .43901E-06** at limit **
   3  norm           .0000        1.3781        .65145E-06** at limit **
   4  Prefactor     57.420        15.406       -.84363E-06   -.13409    
   5  Prefactor     .26090E-08    16.696        .13631E-05** at limit **
   6  norm           .0000        1.4720        .80054E-07** at limit **
   7  Prefactor     .33307E-09    18.837        .18769E-05** at limit **
   8  norm          1.9950        1.2128        .14842E-06   -.33113E-02
   9  norm          5.5244        3.1683        .15480E-07   -.32366E-03
  10  Prefactor     .65153E-06    51.062        .74256E-05** at limit **
  11  Prefactor     .28311E-08    12.640        .12274E-06** at limit **
  12  Prefactor      .0000        3.3357        .26429E-06** at limit **
  13  Prefactor     .49960E-09    8.8119       -.78382E-06** at limit **
  14  Prefactor     .58652        1.6473        .28975E-06   -.24124E-02
  15  Prefactor     17.132        1.5718        .11351E-06    .42434E-01
  16  Prefactor     26.063        36.966        .16353E-05   -.36388E-01
  17  Prefactor     23.073        1.0321       -.13895E-07    .13498E-03
  18  Prefactor     11.878        3.8650       -.27410E-06    .10079E-01
  19  norm          1.9120        1.2887        .75024E-09    .16149E-03
  20  Prefactor     .55511E-10    5.4908        .70664E-06** at limit **
  21  Prefactor     .89424        .61987       -.51220E-07   -.87128E-02
  22  Prefactor     3.7928        6.2721       -.19095E-06    .22208E-03
  23  Normalizat    .90440        .18375        .19396E-04    .62674E-04
  24  Prefactor     1.1994        .22496       -.12192E-04    .34407E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.88578e-10
  Prefactor  = 1.66533e-10
  norm       = 0
  Prefactor  = 57.4197
  Prefactor  = 2.60902e-09
  norm       = 0
  Prefactor  = 3.33067e-10
  norm       = 1.99496
  norm       = 5.52441
  Prefactor  = 6.51534e-07
  Prefactor  = 2.83107e-09
  Prefactor  = 0
  Prefactor  = 4.996e-10
  Prefactor  = 0.586519
  Prefactor  = 17.1323
  Prefactor  = 26.0631
  Prefactor  = 23.0728
  Prefactor  = 11.8775
  norm       = 1.91199
  Prefactor  = 5.55112e-11
  Prefactor  = 0.894244
  Prefactor  = 3.79281
  Normalizat = 0.9044
  Prefactor  = 1.19942
 **********
 **   18 **HESSE 
 **********

 FCN=   6832.411     FROM HESSE     STATUS=OK           449 CALLS     2455 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .38858E-09    1.2324        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .16653E-09    7.2031        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        1.3768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     57.420        30.081        .13244E-03   -1.5556    
   5  Prefactor     .26090E-08    16.744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        1.4678        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .33307E-09    18.785        .16988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9950        1.2210        .73310E-03   -1.5680    
   9  norm          5.5244        3.1741        .42732E-03   -1.5661    
  10  Prefactor     .65153E-06    52.464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .28311E-08    12.656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        3.3242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .49960E-09    8.8097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .58652        1.8825        .70383E-03   -1.5693    
  15  Prefactor     17.132        24.950        .24180E-03   -1.5625    
  16  Prefactor     26.063        42.906        .19850E-03   -1.5606    
  17  Prefactor     23.073        20.145        .20839E-03   -1.5612    
  18  Prefactor     11.878        15.275        .28968E-03   -1.5639    
  19  norm          1.9120        1.2992        .75163E-03   -1.5680    
  20  Prefactor     .55511E-10    5.4860        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .89424        15.377        .46334E-03   -1.5689    
  22  Prefactor     3.7928        6.3032        .52203E-03   -1.5669    
  23  Normalizat    .90440        .15479        .44967E-01   -.96306    
  24  Prefactor     1.1994        .18793        .57982E-01   -.86349    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.71134e-07
Minuit parameter uncertainties:
  1  4.25286e-05
  2  7.27524e-05
  3  6.94586e-06
  4  30.0806
  5  0.000418174
  6  4.45332e-07
  7  0.000164542
  8  1.22099
  9  3.17414
  10  0.0116931
  11  0.000377167
  12  5.19044e-07
  13  0.000133629
  14  1.88255
  15  24.9499
  16  42.9061
  17  20.1447
  18  15.275
  19  1.29921
  20  3.27946e-05
  21  7.41642
  22  6.3032
  23  0.154869
  24  0.188035
Done.

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

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  6.515e-07  1.169e-02  0.000e+00  1.000e+06 ( 1.000e-14)
323        Index:  2.110e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
324        Scale:  2.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
671    Prefactor:  1.199e+00  1.880e-01  0.000e+00  1.000e+01 ( 1.000e+00)
672        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
673        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
670   Normalization:  9.044e-01  1.549e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 212.969 52.828
Photon Flux Upper Limit: 4.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.58e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/954284/likelihoodResults_692668801_692928001_4FGL_J1411.8+5249_daily_bin1749.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) = 6832.42008039
delta logL = -0.00933654183973

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6832.41074384
delta logL = 4.76029526908e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21094E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.5218       1.0000          .0000       10.000    
     3 'Normalizat'    .90441       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1994       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6832.411     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      253 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    26.164        .42118E-03** at limit **
   2  Index         1.1148        5.1830        .50000       -.90949E-11
   3  Normalizat    .90440        .44386E-02    .44958E-01    .16900E-03
   4  Prefactor     1.1994        .54955E-02    .57982E-01    .18387E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.11477
  Normalizat = 0.904399
  Prefactor  = 1.19943
 **********
 **   18 **HESSE 
 **********

 FCN=   6832.411     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      280 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    219.93        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1148        9.2688        .51000       -.88996    
   3  Normalizat    .90440        .12999E-01    .23590E-03   -.96306    
   4  Prefactor     1.1994        .16092E-01    .25641E-03   -.86349    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.01656e-11
Minuit parameter uncertainties:
  1  0.000253385
  2  1.36867e+06
  3  0.0129988
  4  0.0160916
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/954284': 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) = 6832.41074384
delta logL = 6.18638296146e-09

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  5.551e-11  2.534e-04  0.000e+00  1.000e+06 ( 1.000e-14)
323        Index:  1.115e+00  1.369e+06  0.000e+00  1.000e+01 (-1.000e+00)
324        Scale:  2.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
671    Prefactor:  1.199e+00  1.609e-02  0.000e+00  1.000e+01 ( 1.000e+00)
672        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
673        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
670   Normalization:  9.044e-01  1.300e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 212.969 52.828

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/954284/cmap_HighResolution_692668801_692928001_4FGL_J1411.8+5249_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.58e-03', job_status='DONE', photon_flux_upper_limit='4.73e-08', time_completed='2022-12-17 01:05:21.335007', job_id='954284', GAL2='1.20', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1671267921.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='6.19e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1749' AND source_name='4FGL J1411.8+5249' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 01:05:21 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 954284: <4FGL_J1411.8+5249_daily_bin1749> in cluster <slac> Done

Job <4FGL_J1411.8+5249_daily_bin1749> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Dec 17 00:50:17 2022
Job was executed on host(s) <bullet0124>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 00:50:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 00:50:17 2022
Terminated at Sat Dec 17 01:05:22 2022
Results reported at Sat Dec 17 01:05:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1411.8+5249_daily_bin1749 212.969 52.8278 692668801 692928001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1411.8+5249 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   704.27 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             278.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            905 sec.

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

