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


Performing analysis on: 4FGL_J0011.4+0057_daily_bin1684
RA = 2.8551, Dec = 0.9646
tmin = 675820801, tmax = 676080001
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='180834', job_status='RUN', time_executed='2022-06-05 00:05:52.731054', time_epoch_executed='1654412752.73' WHERE source_name='4FGL J0011.4+0057' and cadence='daily' and bin_id='1684'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/180834

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/180834/ft1_4FGL_J0011.4+0057_daily_bin1684.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/180834/ft2_4FGL_J0011.4+0057_daily_bin1684.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/180834/ft1_4FGL_J0011.4+0057_daily_bin1684.fits outfile=/scratch/kocevski/180834/ft1_filteredMKT_4FGL_J0011.4+0057_daily_bin1684.fits ra=2.8551 dec=0.9646 rad=12.0 tmin=675820801.0 tmax=676080001.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 4.53
user 4.20
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/180834/ft2_4FGL_J0011.4+0057_daily_bin1684.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/180834/ft2_4FGL_J0011.4+0057_daily_bin1684.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/180834/ft1_filteredMKT_4FGL_J0011.4+0057_daily_bin1684.fits evtable="EVENTS" outfile="/scratch/kocevski/180834/ft1_filtered_4FGL_J0011.4+0057_daily_bin1684.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.54
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 756

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/180834/ft1_filtered_4FGL_J0011.4+0057_daily_bin1684.fits" evtable="EVENTS" scfile=/scratch/kocevski/180834/ft2_4FGL_J0011.4+0057_daily_bin1684.fits sctable="SC_DATA" outfile=/scratch/kocevski/180834/ltcube_675820801_676080001_4FGL_J0011.4+0057_daily_bin1684.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/180834/ft2_4FGL_J0011.4+0057_daily_bin1684.fits
.....................!
real 15.00
user 14.56
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/180834/ft1_filtered_4FGL_J0011.4+0057_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/180834/ft2_4FGL_J0011.4+0057_daily_bin1684.fits sctable="SC_DATA" expcube=/scratch/kocevski/180834/ltcube_675820801_676080001_4FGL_J0011.4+0057_daily_bin1684.fits outfile=/scratch/kocevski/180834/expmap_675820801_676080001_4FGL_J0011.4+0057_daily_bin1684.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/180834/ltcube_675820801_676080001_4FGL_J0011.4+0057_daily_bin1684.fits
.....................!
real 192.46
user 186.86
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 169 point sources and 0 extended sources

Setting source of interest to:
4FGL J0011.4+0057 @ 2.8551 0.9646

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/180834/ft1_filtered_4FGL_J0011.4+0057_daily_bin1684.fits scfile=/scratch/kocevski/180834/ft2_4FGL_J0011.4+0057_daily_bin1684.fits outfile=/scratch/kocevski/180834/cmap_675820801_676080001_4FGL_J0011.4+0057_daily_bin1684.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=2.8551 yref=0.9646 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.59
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/180834/ft1_filtered_4FGL_J0011.4+0057_daily_bin1684.fits scfile=/scratch/kocevski/180834/ft2_4FGL_J0011.4+0057_daily_bin1684.fits outfile=/scratch/kocevski/180834/cmap_HighResolution_675820801_676080001_4FGL_J0011.4+0057_daily_bin1684.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=2.8551 yref=0.9646 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/180834/ft1_filtered_4FGL_J0011.4+0057_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/180834/ft2_4FGL_J0011.4+0057_daily_bin1684.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/180834/Model_4FGL_J0011.4+0057_daily_bin1684.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/180834/ft1_filtered_4FGL_J0011.4+0057_daily_bin1684.fits.....................!
real 80.36
user 78.16
sys 1.43

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/180834/ft1_filtered_4FGL_J0011.4+0057_daily_bin1684.fits', '/scratch/kocevski/180834/ft2_4FGL_J0011.4+0057_daily_bin1684.fits', expMap='/scratch/kocevski/180834/expmap_675820801_676080001_4FGL_J0011.4+0057_daily_bin1684.fits', expCube='/scratch/kocevski/180834/ltcube_675820801_676080001_4FGL_J0011.4+0057_daily_bin1684.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/180834/Model_4FGL_J0011.4+0057_daily_bin1684.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0011.4+0057'

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  3.882e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
52         Index:  2.334e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
53         Scale:  1.182e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/180834/ft1_filtered_4FGL_J0011.4+0057_daily_bin1684.fits
Spacecraft file(s): /scratch/kocevski/180834/ft2_4FGL_J0011.4+0057_daily_bin1684.fits
Exposure map: /scratch/kocevski/180834/expmap_675820801_676080001_4FGL_J0011.4+0057_daily_bin1684.fits
Exposure cube: /scratch/kocevski/180834/ltcube_675820801_676080001_4FGL_J0011.4+0057_daily_bin1684.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/180834/Model_4FGL_J0011.4+0057_daily_bin1684.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) = 8270.30891451

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.5978       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .84020       1.0000         .10000E-03   10000.    
     5 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.1709       1.0000         .10000E-03   10000.    
     7 'norm      '    .10737E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .59318       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    39.542       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.5011       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.4895       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    21.929       1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.627       1.0000         .10000E-03   10000.    
    17 'norm      '    35.325       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.5494       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .99528       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91003       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8270.228     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2359 TOTAL
                     EDM=   .67E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.7823        .21611E-06** at limit **
   2  Prefactor     .10000E-03    9.8930       -.22096E-06** at limit **
   3  Prefactor     5.5979        5.9278        .47377E-06    .79794E-05
   4  Prefactor     .83909        4.0088        .24127E-06   -.65173E-05
   5  norm          .10000E-03    .89294       -.16350E-06** at limit **
   6  Prefactor     2.1702        5.5563        .17083E-05    .39994E-04
   7  norm          .10000E-03    1.4623       -.28840E-06** at limit **
   8  norm          .59406        2.3600        .60222E-06   -.30948E-03
   9  Prefactor     .10000E-03    4.7751       -.17805E-06** at limit **
  10  norm          39.542        10.946       -.95940E-07    .36666E-04
  11  Prefactor     5.5016        2.9264       -.30470E-07   -.37003E-04
  12  Prefactor     1.4897        2.0401       -.51404E-07   -.14398E-04
  13  Prefactor     .10000E-03    14.022       -.45533E-06** at limit **
  14  Prefactor     .10000E-03    75.961       -.64623E-06** at limit **
  15  Prefactor     21.934        11.411        .12286E-05   -.40960E-04
  16  Prefactor     15.623        22.977       -.17147E-05    .35191E-05
  17  norm          35.317        23.607       -.32382E-05   -.54106E-05
  18  Prefactor     .10000E-03    1.1803        .24991E-06** at limit **
  19  Prefactor     .10000E-03    19.787       -.62289E-06** at limit **
  20  Prefactor     .10000E-03    14.030       -.12349E-05** at limit **
  21  Prefactor     .10000E-03    3.0583       -.12780E-06** at limit **
  22  Prefactor     2.5506        1.3407       -.14401E-06   -.58680E-03
  23  Normalizat    .99511        .16569       -.15051E-05    .53718E-04
  24  Prefactor     .91012        .12446        .82238E-06   -.96875E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.59791
  Prefactor  = 0.839085
  norm       = 0.0001
  Prefactor  = 2.17018
  norm       = 0.0001
  norm       = 0.594059
  Prefactor  = 0.0001
  norm       = 39.5424
  Prefactor  = 5.50157
  Prefactor  = 1.4897
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.9337
  Prefactor  = 15.6229
  norm       = 35.3166
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.55057
  Normalizat = 0.995111
  Prefactor  = 0.910123
 **********
 **   18 **HESSE 
 **********

 FCN=   8270.228     FROM HESSE     STATUS=OK           405 CALLS     2764 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.7865        .11858E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.8975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.5979        5.9300        .16980E-03   -1.5235    
   4  Prefactor     .83909        3.7864        .33415E-03   -1.5525    
   5  norm          .10000E-03    .93278        .16751E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.1702        5.5135        .27949E-03   -1.5413    
   7  norm          .10000E-03    2.6632        .20196E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .59406        4.3188        .26294E-02   -1.5554    
   9  Prefactor     .10000E-03    4.7997        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          39.542        10.972        .63742E-04   -1.4449    
  11  Prefactor     5.5016        2.9338        .10822E-03   -1.5239    
  12  Prefactor     1.4897        2.0147        .14763E-03   -1.5464    
  13  Prefactor     .10000E-03    14.027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    75.994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     21.934        11.398        .85534E-04   -1.4771    
  16  Prefactor     15.623        22.989        .10132E-03   -1.4917    
  17  norm          35.317        23.666        .67427E-04   -1.4519    
  18  Prefactor     .10000E-03    1.1951        .96522E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    19.862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    14.082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.0645        .15530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.5506        6.5940        .12787E-02   -1.5389    
  23  Normalizat    .99511        .18860        .27488E-03   -.93194    
  24  Prefactor     .91012        .14095        .22288E-03   -.95788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.45246e-08
Minuit parameter uncertainties:
  1  8.75943e-07
  2  1.03921e-07
  3  5.93058
  4  3.56503
  5  1.74356e-06
  6  5.51477
  7  8.749e-06
  8  3.20356
  9  6.01072e-07
  10  10.9724
  11  2.93384
  12  2.01479
  13  2.43316e-06
  14  8.71545e-06
  15  11.3993
  16  23.0017
  17  23.6723
  18  3.94367e-06
  19  2.24159e-05
  20  2.31753e-05
  21  1.4006e-06
  22  6.59583
  23  0.18873
  24  0.141006
Done.

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

Extracting fit parameters...

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  5.598e+00  5.931e+00  1.000e-04  1.000e+04 ( 1.000e-13)
52         Index:  2.334e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
53         Scale:  1.182e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  9.101e-01  1.410e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  9.951e-01  1.887e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.96
Ra Dec: 2.855 0.965
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 1.34e-08 +/- 1.42e-08
Energy Flux (Fixed Index): 4.81e-06 +/- 5.09e-06

TS (Fixed Index): 2.96
Ra Dec: 2.855 0.965
Photon Flux Upper Limit: 5.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/180834/likelihoodResults_675820801_676080001_4FGL_J0011.4+0057_daily_bin1684.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) = 8268.3475009
delta logL = 1.88092055268

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8268.33731202
delta logL = 1.89110943195

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.6012       1.0000         .10000E-03   10000.    
     2 'Index     '    1.1088       1.0000          .0000       10.000    
     3 'Normalizat'    1.0051       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90621       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8268.337     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      198 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.6383        5.6519        .42436E-02   -.27961E-03
   2  Index         1.1110        .38650        .26885       -.53736E-04
   3  Normalizat    1.0050        .15622        .46230E-01   -.14590E-03
   4  Prefactor     .90621        .12235        .45084E-01   -.26462E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.63829
  Index      = 1.111
  Normalizat = 1.00504
  Prefactor  = 0.906211
 **********
 **   18 **HESSE 
 **********

 FCN=   8268.337     FROM HESSE     STATUS=OK            31 CALLS      229 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.6383        7.5479        .16974E-03   -1.5233    
   2  Index         1.1110        .56259        .10882E-01   -.89116    
   3  Normalizat    1.0050        .17765        .27356E-03   -.92862    
   4  Prefactor     .90621        .13916        .22325E-03   -.95924    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44567e-09
Minuit parameter uncertainties:
  1  7.54918
  2  0.565635
  3  0.177755
  4  0.139218
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/180834': 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) = 8268.33730077
delta logL = 1.89112069048

Extracting fit parameters...

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  5.638e+00  7.549e+00  1.000e-04  1.000e+04 ( 1.000e-13)
52         Index:  1.111e+00  5.656e-01  0.000e+00  1.000e+01 (-1.000e+00)
53         Scale:  1.182e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  9.062e-01  1.392e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.005e+00  1.778e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.73
Ra Dec: 2.855 0.965
Photon Index (Free Index): 1.11 +/- 0.57
Photon Flux (Free Index): 4.23e-09 +/- 4.89e-09
Energy Flux (Free Index): 4.57e-05 +/- 6.42e-05

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/180834/cmap_HighResolution_675820801_676080001_4FGL_J0011.4+0057_daily_bin1684.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.51e-03', comment='SUCCESS', photon_flux='1.34e-08', energy_flux2='4.57e-05', photon_flux_error='1.42e-08', dlogl='1.89e+00', energy_flux='4.81e-06', photon_flux2='4.23e-09', job_status='DONE', time_completed='2022-06-05 00:19:10.678753', photon_index_error2='0.57', photon_index2='1.11', ts='2.96', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='5.86e-08', energy_flux_error2='6.42e-05', EG='1.00', time_epoch_completed='1654413550.68', return_code='0', job_id='180834', GAL2='0.91', EG2='1.01', return_code2='0', energy_flux_error='5.09e-06', photon_flux_error2='4.89e-09', ts2='6.73', photon_index='2.33' WHERE bin_id='1684' AND source_name='4FGL J0011.4+0057' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jun  5 00:19:10 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 180834: <4FGL_J0011.4+0057_daily_bin1684> in cluster <slac> Done

Job <4FGL_J0011.4+0057_daily_bin1684> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Jun  5 00:04:36 2022
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jun  5 00:04:49 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jun  5 00:04:49 2022
Terminated at Sun Jun  5 00:19:11 2022
Results reported at Sun Jun  5 00:19:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0011.4+0057_daily_bin1684 2.8551 0.9646 675820801 676080001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0011.4+0057 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   777.40 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             305.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   863 sec.
    Turnaround time :                            875 sec.

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

