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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin1745
RA = 150.294, Dec = 29.188
tmin = 691632001, tmax = 691891201
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='642936', job_status='RUN', time_executed='2022-12-05 00:27:40.221063', time_epoch_executed='1670228860.22' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/642936

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/642936/ft1_4FGL_J1001.1+2911_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/642936/ft2_4FGL_J1001.1+2911_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/642936/ft1_4FGL_J1001.1+2911_daily_bin1745.fits outfile=/scratch/kocevski/642936/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin1745.fits ra=150.294 dec=29.188 rad=12.0 tmin=691632001.0 tmax=691891201.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 2.41
user 2.18
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/642936/ft2_4FGL_J1001.1+2911_daily_bin1745.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/642936/ft2_4FGL_J1001.1+2911_daily_bin1745.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/642936/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/642936/ft1_filtered_4FGL_J1001.1+2911_daily_bin1745.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.33
sys 0.15

Number of photons that the gtmktime cut: 529

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/642936/ft1_filtered_4FGL_J1001.1+2911_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/642936/ft2_4FGL_J1001.1+2911_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/642936/ltcube_691632001_691891201_4FGL_J1001.1+2911_daily_bin1745.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/642936/ft2_4FGL_J1001.1+2911_daily_bin1745.fits
.....................!
real 12.06
user 11.68
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/642936/ft1_filtered_4FGL_J1001.1+2911_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/642936/ft2_4FGL_J1001.1+2911_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/642936/ltcube_691632001_691891201_4FGL_J1001.1+2911_daily_bin1745.fits outfile=/scratch/kocevski/642936/expmap_691632001_691891201_4FGL_J1001.1+2911_daily_bin1745.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/642936/ltcube_691632001_691891201_4FGL_J1001.1+2911_daily_bin1745.fits
.....................!
real 191.72
user 184.58
sys 6.65

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

Setting source of interest to:
4FGL J1001.1+2911 @ 150.294 29.188

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/642936/ft1_filtered_4FGL_J1001.1+2911_daily_bin1745.fits scfile=/scratch/kocevski/642936/ft2_4FGL_J1001.1+2911_daily_bin1745.fits outfile=/scratch/kocevski/642936/cmap_691632001_691891201_4FGL_J1001.1+2911_daily_bin1745.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=150.294 yref=29.188 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.55
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/642936/ft1_filtered_4FGL_J1001.1+2911_daily_bin1745.fits scfile=/scratch/kocevski/642936/ft2_4FGL_J1001.1+2911_daily_bin1745.fits outfile=/scratch/kocevski/642936/cmap_HighResolution_691632001_691891201_4FGL_J1001.1+2911_daily_bin1745.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=150.294 yref=29.188 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.36
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/642936/ft1_filtered_4FGL_J1001.1+2911_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/642936/ft2_4FGL_J1001.1+2911_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/642936/Model_4FGL_J1001.1+2911_daily_bin1745.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/642936/ft1_filtered_4FGL_J1001.1+2911_daily_bin1745.fits.....................!
real 52.32
user 50.98
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/642936/ft1_filtered_4FGL_J1001.1+2911_daily_bin1745.fits', '/scratch/kocevski/642936/ft2_4FGL_J1001.1+2911_daily_bin1745.fits', expMap='/scratch/kocevski/642936/expmap_691632001_691891201_4FGL_J1001.1+2911_daily_bin1745.fits', expCube='/scratch/kocevski/642936/ltcube_691632001_691891201_4FGL_J1001.1+2911_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/642936/Model_4FGL_J1001.1+2911_daily_bin1745.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1001.1+2911'

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.010e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
261        Scale:  9.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/642936/ft1_filtered_4FGL_J1001.1+2911_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/642936/ft2_4FGL_J1001.1+2911_daily_bin1745.fits
Exposure map: /scratch/kocevski/642936/expmap_691632001_691891201_4FGL_J1001.1+2911_daily_bin1745.fits
Exposure cube: /scratch/kocevski/642936/ltcube_691632001_691891201_4FGL_J1001.1+2911_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/642936/Model_4FGL_J1001.1+2911_daily_bin1745.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) = 6081.85905073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8787       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.4073       1.0000          .0000       .10000E+07
     3 'Prefactor '    .25583E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    17.678       1.0000          .0000       .10000E+07
     5 'Prefactor '    12.488       1.0000          .0000       .10000E+07
     6 'Prefactor '    .17883E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .34514E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .73895       1.0000          .0000       .10000E+07
     9 'norm      '    4.3980       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.5230       1.0000          .0000       .10000E+07
    11 'Prefactor '    .22706E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.4286       1.0000          .0000       .10000E+07
    13 'norm      '    6.0795       1.0000          .0000       .10000E+07
    14 'Prefactor '    .40292E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    8.5869       1.0000          .0000       .10000E+07
    16 'Prefactor '    7.7022       1.0000          .0000       .10000E+07
    17 'Prefactor '    .17484E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    11.553       1.0000          .0000       .10000E+07
    19 'Normalizat'    .75469       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0955       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6081.754     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1246 TOTAL
                     EDM=   .91E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8806        2.2257       -.40537E-07    .25551E-03
   2  Prefactor     6.3602        5.1224        .12665E-07    .77080E-04
   3  Prefactor     .17208E-08    38.539       -.42212E-06** at limit **
   4  Prefactor     14.130        47.083        .19348E-05    .34205E-02
   5  Prefactor     12.052        4.9330        .19476E-06   -.42058E-01
   6  Prefactor      .0000        4.2723       -.32575E-06** at limit **
   7  Prefactor      .0000        5.2724       -.63393E-07** at limit **
   8  Prefactor     .74018        2.1545        .12629E-06   -.44665E-03
   9  norm          4.3894        4.8189       -.44153E-08    .43373E-04
  10  Prefactor     1.5284        1.9962        .61596E-07    .30941E-03
  11  Prefactor     .61062E-09    53.814        .36979E-06** at limit **
  12  Prefactor     7.3697        3.9422       -.56654E-07    .26391E-03
  13  norm          6.1789        8.8255        .44657E-07    .18752E-03
  14  Prefactor     .27867E-07    47.323       -.95750E-07** at limit **
  15  Prefactor     8.6469        2.5812        .70482E-07    .87044E-02
  16  Prefactor     7.7154        5.8659       -.71999E-08    .20967E-03
  17  Prefactor      .0000        .76136       -.40398E-07** at limit **
  18  Prefactor     11.540        13.062        .15840E-06    .29563E-04
  19  Normalizat    .75756        .18925       -.34264E-05    .19848E-04
  20  Prefactor     1.0941        .20218       -.44158E-06    .24413E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.8806
  Prefactor  = 6.36016
  Prefactor  = 1.72085e-09
  Prefactor  = 14.1302
  Prefactor  = 12.0518
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.740175
  norm       = 4.38942
  Prefactor  = 1.52843
  Prefactor  = 6.10623e-10
  Prefactor  = 7.36969
  norm       = 6.17886
  Prefactor  = 2.78666e-08
  Prefactor  = 8.64687
  Prefactor  = 7.71536
  Prefactor  = 0
  Prefactor  = 11.5402
  Normalizat = 0.757559
  Prefactor  = 1.09407
 **********
 **   18 **HESSE 
 **********

 FCN=   6081.754     FROM HESSE     STATUS=OK           337 CALLS     1583 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8806        2.2548        .75928E-03   -1.5681    
   2  Prefactor     6.3602        5.1693        .39628E-03   -1.5658    
   3  Prefactor     .17208E-08    38.616        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.130        47.083        .23794E-03   -1.5633    
   5  Prefactor     12.052        35.374        .28320E-03   -1.5639    
   6  Prefactor      .0000        4.2504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        5.2512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .74018        2.1821        .57601E-03   -1.5691    
   9  norm          4.3894        4.8311        .48000E-03   -1.5666    
  10  Prefactor     1.5284        2.0221        .86522E-03   -1.5683    
  11  Prefactor     .61062E-09    52.062        .16865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.3697        3.9726        .36774E-03   -1.5654    
  13  norm          6.1789        8.8692        .40696E-03   -1.5658    
  14  Prefactor     .27867E-07    47.625        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.6469        29.547        .34184E-03   -1.5649    
  16  Prefactor     7.7154        5.8757        .36109E-03   -1.5652    
  17  Prefactor      .0000        .75416        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.540        13.073        .29449E-03   -1.5640    
  19  Normalizat    .75756        .16325        .43016E-01   -1.0166    
  20  Prefactor     1.0941        .17425        .37759E-01   -.89656    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89426e-07
Minuit parameter uncertainties:
  1  2.25476
  2  5.16927
  3  0.000519297
  4  47.0845
  5  35.3749
  6  1.41275e-05
  7  2.34583e-06
  8  2.18211
  9  4.8311
  10  2.02214
  11  0.000355452
  12  3.9726
  13  8.86917
  14  0.0023039
  15  29.5471
  16  5.87574
  17  1.72613e-07
  18  13.0733
  19  0.163353
  20  0.174342
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  7.402e-01  2.182e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
261        Scale:  9.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  1.094e+00  1.743e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  7.576e-01  1.634e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.13
Ra Dec: 150.294 29.188
Photon Flux Upper Limit: 7.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/642936/likelihoodResults_691632001_691891201_4FGL_J1001.1+2911_daily_bin1745.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) = 6081.75067659
delta logL = 0.00346686335433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6081.74873352
delta logL = 0.00540992616789

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .70893       1.0000          .0000       .10000E+07
     2 'Index     '    1.8853       1.0000          .0000       10.000    
     3 'Normalizat'    .76415       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0893       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+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=   6081.749     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      290 TOTAL
                     EDM=   .37E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .70592        2.1963        .18533E-04    .94469E-04
   2  Index         1.8804        2.0041        .10638E-01   -.32594E-05
   3  Normalizat    .76427        .18182        .24439E-03    .20794E-04
   4  Prefactor     1.0895        .20098        .23020E-03    .19014E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.70592
  Index      = 1.88038
  Normalizat = 0.764266
  Prefactor  = 1.08954
 **********
 **   18 **HESSE 
 **********

 FCN=   6081.749     FROM HESSE     STATUS=OK            25 CALLS      315 TOTAL
                     EDM=   .52E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .70592        2.2357        .74132E-06   -1.5691    
   2  Index         1.8804        2.0365        .42553E-03   -.67375    
   3  Normalizat    .76427        .18197        .97754E-05   -1.0141    
   4  Prefactor     1.0895        .20115        .92081E-05   -.89802    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.19265e-13
Minuit parameter uncertainties:
  1  2.23574
  2  2.14217
  3  0.182117
  4  0.201287
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/642936': 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) = 6081.74872544
delta logL = 0.00541801199142

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  7.059e-01  2.236e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  1.880e+00  2.142e+00  0.000e+00  1.000e+01 (-1.000e+00)
261        Scale:  9.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  1.090e+00  2.013e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  7.643e-01  1.821e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
Ra Dec: 150.294 29.188

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/642936/cmap_HighResolution_691632001_691891201_4FGL_J1001.1+2911_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.09e-03', job_status='DONE', photon_flux_upper_limit='7.95e-08', time_completed='2022-12-05 00:36:22.612141', job_id='642936', GAL2='1.09', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1670229382.61', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='5.42e-03', ts2='0.14', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1745' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:36:22 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 642936: <4FGL_J1001.1+2911_daily_bin1745> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin1745> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Dec  5 00:25:20 2022
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:25:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:25:21 2022
Terminated at Mon Dec  5 00:36:23 2022
Results reported at Mon Dec  5 00:36:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin1745 150.294 29.188 691632001 691891201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1001.1+2911 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   525.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   661 sec.
    Turnaround time :                            663 sec.

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

