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


Performing analysis on: 4FGL_J0022.5+0608_daily_bin1722
RA = 5.6376, Dec = 6.1343
tmin = 685670401, tmax = 685929601
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='229070', job_status='RUN', time_executed='2022-09-27 00:05:31.795875', time_epoch_executed='1664262331.8' WHERE source_name='4FGL J0022.5+0608' and cadence='daily' and bin_id='1722'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/229070

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/229070/ft1_4FGL_J0022.5+0608_daily_bin1722.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/229070/ft2_4FGL_J0022.5+0608_daily_bin1722.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/229070/ft1_4FGL_J0022.5+0608_daily_bin1722.fits outfile=/scratch/kocevski/229070/ft1_filteredMKT_4FGL_J0022.5+0608_daily_bin1722.fits ra=5.6376 dec=6.1343 rad=12.0 tmin=685670401.0 tmax=685929601.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.75
user 3.43
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/229070/ft2_4FGL_J0022.5+0608_daily_bin1722.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/229070/ft2_4FGL_J0022.5+0608_daily_bin1722.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/229070/ft1_filteredMKT_4FGL_J0022.5+0608_daily_bin1722.fits evtable="EVENTS" outfile="/scratch/kocevski/229070/ft1_filtered_4FGL_J0022.5+0608_daily_bin1722.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.17

Number of photons that the gtmktime cut: 654

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/229070/ft1_filtered_4FGL_J0022.5+0608_daily_bin1722.fits" evtable="EVENTS" scfile=/scratch/kocevski/229070/ft2_4FGL_J0022.5+0608_daily_bin1722.fits sctable="SC_DATA" outfile=/scratch/kocevski/229070/ltcube_685670401_685929601_4FGL_J0022.5+0608_daily_bin1722.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/229070/ft2_4FGL_J0022.5+0608_daily_bin1722.fits
.....................!
real 15.80
user 15.33
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/229070/ft1_filtered_4FGL_J0022.5+0608_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/229070/ft2_4FGL_J0022.5+0608_daily_bin1722.fits sctable="SC_DATA" expcube=/scratch/kocevski/229070/ltcube_685670401_685929601_4FGL_J0022.5+0608_daily_bin1722.fits outfile=/scratch/kocevski/229070/expmap_685670401_685929601_4FGL_J0022.5+0608_daily_bin1722.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/229070/ltcube_685670401_685929601_4FGL_J0022.5+0608_daily_bin1722.fits
.....................!
real 192.52
user 186.49
sys 5.46

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

Setting source of interest to:
4FGL J0022.5+0608 @ 5.6376 6.1343

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/229070/ft1_filtered_4FGL_J0022.5+0608_daily_bin1722.fits scfile=/scratch/kocevski/229070/ft2_4FGL_J0022.5+0608_daily_bin1722.fits outfile=/scratch/kocevski/229070/cmap_685670401_685929601_4FGL_J0022.5+0608_daily_bin1722.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=5.6376 yref=6.1343 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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/229070/ft1_filtered_4FGL_J0022.5+0608_daily_bin1722.fits scfile=/scratch/kocevski/229070/ft2_4FGL_J0022.5+0608_daily_bin1722.fits outfile=/scratch/kocevski/229070/cmap_HighResolution_685670401_685929601_4FGL_J0022.5+0608_daily_bin1722.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=5.6376 yref=6.1343 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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/229070/ft1_filtered_4FGL_J0022.5+0608_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/229070/ft2_4FGL_J0022.5+0608_daily_bin1722.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/229070/Model_4FGL_J0022.5+0608_daily_bin1722.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/229070/ft1_filtered_4FGL_J0022.5+0608_daily_bin1722.fits.....................!
real 81.45
user 78.60
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/229070/ft1_filtered_4FGL_J0022.5+0608_daily_bin1722.fits', '/scratch/kocevski/229070/ft2_4FGL_J0022.5+0608_daily_bin1722.fits', expMap='/scratch/kocevski/229070/expmap_685670401_685929601_4FGL_J0022.5+0608_daily_bin1722.fits', expCube='/scratch/kocevski/229070/ltcube_685670401_685929601_4FGL_J0022.5+0608_daily_bin1722.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/229070/Model_4FGL_J0022.5+0608_daily_bin1722.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0022.5+0608'

4FGL J0022.5+0608
   Spectrum: LogParabola
103         norm:  3.416e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
104        alpha:  2.071e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
105         beta:  5.138e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
106           Eb:  8.504e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/229070/ft1_filtered_4FGL_J0022.5+0608_daily_bin1722.fits
Spacecraft file(s): /scratch/kocevski/229070/ft2_4FGL_J0022.5+0608_daily_bin1722.fits
Exposure map: /scratch/kocevski/229070/expmap_685670401_685929601_4FGL_J0022.5+0608_daily_bin1722.fits
Exposure cube: /scratch/kocevski/229070/ltcube_685670401_685929601_4FGL_J0022.5+0608_daily_bin1722.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/229070/Model_4FGL_J0022.5+0608_daily_bin1722.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) = 7293.63133548

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.128       1.0000          .0000       .10000E+07
     2 'Prefactor '    .16612E-05   1.0000          .0000       .10000E+07
     3 'norm      '    .73025       1.0000          .0000       .10000E+07
     4 'norm      '    8.4277       1.0000          .0000       .10000E+07
     5 'norm      '    4.2444       1.0000          .0000       .10000E+07
     6 'Prefactor '    .83568E-03   1.0000          .0000       .10000E+07
     7 'norm      '    6.4133       1.0000          .0000       .10000E+07
     8 'norm      '    4.1088       1.0000          .0000       .10000E+07
     9 'Prefactor '    .77133E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.1225       1.0000          .0000       .10000E+07
    11 'Prefactor '    13.218       1.0000          .0000       .10000E+07
    12 'norm      '    .14183E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    922.63       1.0000          .0000       .10000E+07
    14 'Prefactor '    37.853       1.0000          .0000       .10000E+07
    15 'Prefactor '    10.510       1.0000          .0000       .10000E+07
    16 'Normalizat'    .93806       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1190       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7293.628     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1302 TOTAL
                     EDM=   .26E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.184        18.547       -.54462E-06    .33290E-03
   2  Prefactor      .0000        3.4633        .23899E-06** at limit **
   3  norm          .75220        3.1564        .19105E-06    .28372E-03
   4  norm          8.4257        4.5541        .85107E-07   -.19666E-04
   5  norm          4.2546        4.9723        .38809E-07    .21063E-03
   6  Prefactor      .0000        11.831        .21017E-07** at limit **
   7  norm          6.4034        6.4778        .53771E-08    .16692E-04
   8  norm          4.1231        12.896        .19138E-05    .10965E-03
   9  Prefactor      .0000        4.7243        .78213E-07** at limit **
  10  Prefactor     2.1248        3.9728        .32433E-06   -.19722E-03
  11  Prefactor     13.201        4.5937        .17144E-06   -.10239E-02
  12  norm           .0000        8.4466        .32086E-06** at limit **
  13  Prefactor     926.36        210.66       -.58040E-06    .51387E-05
  14  Prefactor     38.257        42.543        .23952E-06   -.13746E-04
  15  Prefactor     11.068        26.176       -.20110E-06    .32415E-04
  16  Normalizat    .93606        .25779       -.18539E-05    .11069E-04
  17  Prefactor     1.1192        .17535       -.15575E-05    .12054E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.1842
  Prefactor  = 0
  norm       = 0.752197
  norm       = 8.42571
  norm       = 4.25457
  Prefactor  = 0
  norm       = 6.40336
  norm       = 4.12312
  Prefactor  = 0
  Prefactor  = 2.12478
  Prefactor  = 13.2007
  norm       = 0
  Prefactor  = 926.363
  Prefactor  = 38.2571
  Prefactor  = 11.0679
  Normalizat = 0.936061
  Prefactor  = 1.11922
 **********
 **   18 **HESSE 
 **********

 FCN=   7293.628     FROM HESSE     STATUS=OK           263 CALLS     1565 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.184        19.044        .24913E-03   -1.5628    
   2  Prefactor      .0000        3.4608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .75220        3.3544        .58286E-03   -1.5691    
   4  norm          8.4257        4.5570        .34508E-03   -1.5650    
   5  norm          4.2546        4.9768        .48885E-03   -1.5667    
   6  Prefactor      .0000        11.824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.4034        6.4791        .39609E-03   -1.5657    
   8  norm          4.1231        12.854        .49709E-03   -1.5667    
   9  Prefactor      .0000        4.7211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.1248        3.9944        .70759E-03   -1.5679    
  11  Prefactor     13.201        4.5883        .27525E-03   -1.5635    
  12  norm           .0000        8.4273        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     926.36        210.29        .32937E-04   -1.5099    
  14  Prefactor     38.257        42.547        .16255E-03   -1.5584    
  15  Prefactor     11.068        26.098        .30881E-03   -1.5641    
  16  Normalizat    .93606        .22443        .77670E-01   -.95204    
  17  Prefactor     1.1192        .15209        .36907E-01   -.88855    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.2539e-09
Minuit parameter uncertainties:
  1  19.0441
  2  2.79166e-06
  3  3.17692
  4  4.557
  5  4.9768
  6  2.00198e-06
  7  6.47907
  8  12.8538
  9  3.26205e-07
  10  3.99443
  11  4.58827
  12  6.15375e-06
  13  210.296
  14  42.5469
  15  26.0985
  16  0.224652
  17  0.152145
Done.

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

Extracting fit parameters...

4FGL J0022.5+0608
   Spectrum: LogParabola
103         norm:  4.255e+00  4.977e+00  0.000e+00  1.000e+06 ( 1.000e-12)
104        alpha:  2.071e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
105         beta:  5.138e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
106           Eb:  8.504e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
522    Prefactor:  1.119e+00  1.521e-01  0.000e+00  1.000e+01 ( 1.000e+00)
523        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
524        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
521   Normalization:  9.361e-01  2.247e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.10
Ra Dec: 5.638 6.134
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 2.98e-08 +/- 3.48e-08
Energy Flux (Fixed Index): 1.58e-05 +/- 1.84e-05

TS (Fixed Index): 1.10
Ra Dec: 5.638 6.134
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.83e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/229070/likelihoodResults_685670401_685929601_4FGL_J0022.5+0608_daily_bin1722.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) = 7292.09854595
delta logL = 1.52991808043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7292.08777799
delta logL = 1.5406860442

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9319       1.0000          .0000       .10000E+07
     2 'alpha     '    3.6350       1.0000          .0000       5.0000    
     3 'Normalizat'    .78943       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1814       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7292.088     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      247 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9293        15.104        .74693E-03    .94482E-02
   2  alpha         3.6358        4.0720        .26324        .92000E-04
   3  Normalizat    .78942        .71260E-01    .83771E-01    .44961E-04
   4  Prefactor     1.1814        .50144E-01    .50220E-01   -.11911E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.92932
  alpha      = 3.63585
  Normalizat = 0.789422
  Prefactor  = 1.18141
 **********
 **   18 **HESSE 
 **********

 FCN=   7292.088     FROM HESSE     STATUS=OK            31 CALLS      278 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9293        6.2312        .60090E-05   -1.5680    
   2  alpha         3.6358        1.7245        .10845E-01    .47163    
   3  Normalizat    .78942        .25909        .37095E-03   -1.0046    
   4  Prefactor     1.1814        .18116        .22201E-03   -.86905    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52566e-10
Minuit parameter uncertainties:
  1  6.23119
  2  1.97242
  3  0.259493
  4  0.18126
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/229070': 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) = 7292.08777749
delta logL = 1.54068654352

Extracting fit parameters...

4FGL J0022.5+0608
   Spectrum: LogParabola
103         norm:  1.929e+00  6.231e+00  0.000e+00  1.000e+06 ( 1.000e-12)
104        alpha:  3.636e+00  1.972e+00  0.000e+00  5.000e+00 ( 1.000e+00)
105         beta:  5.138e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
106           Eb:  8.504e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
522    Prefactor:  1.181e+00  1.813e-01  0.000e+00  1.000e+01 ( 1.000e+00)
523        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
524        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
521   Normalization:  7.894e-01  2.595e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.58
Ra Dec: 5.638 6.134
Photon Index (Free Index): 3.64 +/- 1.97
Photon Flux (Free Index): 1.49e-07 +/- 9.05e-08
Energy Flux (Free Index): 2.47e-05 +/- 1.49e-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/229070/cmap_HighResolution_685670401_685929601_4FGL_J0022.5+0608_daily_bin1722.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.83e-05', comment='SUCCESS', photon_flux='2.98e-08', energy_flux2='2.47e-05', photon_flux_error='3.48e-08', dlogl='1.54e+00', energy_flux='1.58e-05', photon_flux2='1.49e-07', job_status='DONE', time_completed='2022-09-27 00:15:38.040034', photon_index_error2='1.97', photon_index2='3.64', ts='1.10', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='1.10e-07', energy_flux_error2='1.49e-05', EG='0.94', time_epoch_completed='1664262938.04', return_code='0', job_id='229070', GAL2='1.18', EG2='0.79', return_code2='0', energy_flux_error='1.84e-05', photon_flux_error2='9.05e-08', ts2='4.58', photon_index='2.07' WHERE bin_id='1722' AND source_name='4FGL J0022.5+0608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 27 00:15:38 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 229070: <4FGL_J0022.5+0608_daily_bin1722> in cluster <slac> Done

Job <4FGL_J0022.5+0608_daily_bin1722> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 27 00:04:39 2022
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 27 00:04:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 27 00:04:40 2022
Terminated at Tue Sep 27 00:15:38 2022
Results reported at Tue Sep 27 00:15:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0022.5+0608_daily_bin1722 5.6376 6.1343 685670401 685929601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0022.5+0608 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   586.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             324.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   658 sec.
    Turnaround time :                            659 sec.

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

