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 50 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_J0921.6+6216_daily_bin1772
RA = 140.419, Dec = 62.2708
tmin = 698630401, tmax = 698889601
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='625355', job_status='RUN', time_executed='2023-02-24 01:11:14.630535', time_epoch_executed='1677229874.63' WHERE source_name='4FGL J0921.6+6216' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/625355

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/625355/ft1_4FGL_J0921.6+6216_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/625355/ft2_4FGL_J0921.6+6216_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/625355/ft1_4FGL_J0921.6+6216_daily_bin1772.fits outfile=/scratch/kocevski/625355/ft1_filteredMKT_4FGL_J0921.6+6216_daily_bin1772.fits ra=140.419 dec=62.2708 rad=12.0 tmin=698630401.0 tmax=698889601.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.01
user 2.80
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/625355/ft2_4FGL_J0921.6+6216_daily_bin1772.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/625355/ft2_4FGL_J0921.6+6216_daily_bin1772.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/625355/ft1_filteredMKT_4FGL_J0921.6+6216_daily_bin1772.fits evtable="EVENTS" outfile="/scratch/kocevski/625355/ft1_filtered_4FGL_J0921.6+6216_daily_bin1772.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.34
sys 0.14

Number of photons that the gtmktime cut: 553

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/625355/ft1_filtered_4FGL_J0921.6+6216_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/625355/ft2_4FGL_J0921.6+6216_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/625355/ltcube_698630401_698889601_4FGL_J0921.6+6216_daily_bin1772.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/625355/ft2_4FGL_J0921.6+6216_daily_bin1772.fits
.....................!
real 13.50
user 13.13
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/625355/ft1_filtered_4FGL_J0921.6+6216_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/625355/ft2_4FGL_J0921.6+6216_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/625355/ltcube_698630401_698889601_4FGL_J0921.6+6216_daily_bin1772.fits outfile=/scratch/kocevski/625355/expmap_698630401_698889601_4FGL_J0921.6+6216_daily_bin1772.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/625355/ltcube_698630401_698889601_4FGL_J0921.6+6216_daily_bin1772.fits
.....................!
real 190.07
user 185.43
sys 4.09

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

Setting source of interest to:
4FGL J0921.6+6216 @ 140.419 62.2708

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/625355/ft1_filtered_4FGL_J0921.6+6216_daily_bin1772.fits scfile=/scratch/kocevski/625355/ft2_4FGL_J0921.6+6216_daily_bin1772.fits outfile=/scratch/kocevski/625355/cmap_698630401_698889601_4FGL_J0921.6+6216_daily_bin1772.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=140.419 yref=62.2708 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/625355/ft1_filtered_4FGL_J0921.6+6216_daily_bin1772.fits scfile=/scratch/kocevski/625355/ft2_4FGL_J0921.6+6216_daily_bin1772.fits outfile=/scratch/kocevski/625355/cmap_HighResolution_698630401_698889601_4FGL_J0921.6+6216_daily_bin1772.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=140.419 yref=62.2708 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/625355/ft1_filtered_4FGL_J0921.6+6216_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/625355/ft2_4FGL_J0921.6+6216_daily_bin1772.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/625355/Model_4FGL_J0921.6+6216_daily_bin1772.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/625355/ft1_filtered_4FGL_J0921.6+6216_daily_bin1772.fits.....................!
real 72.90
user 71.44
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/625355/ft1_filtered_4FGL_J0921.6+6216_daily_bin1772.fits', '/scratch/kocevski/625355/ft2_4FGL_J0921.6+6216_daily_bin1772.fits', expMap='/scratch/kocevski/625355/expmap_698630401_698889601_4FGL_J0921.6+6216_daily_bin1772.fits', expCube='/scratch/kocevski/625355/ltcube_698630401_698889601_4FGL_J0921.6+6216_daily_bin1772.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/625355/Model_4FGL_J0921.6+6216_daily_bin1772.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0921.6+6216'

4FGL J0921.6+6216
   Spectrum: LogParabola
366         norm:  1.245e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
367        alpha:  2.223e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
368         beta:  8.311e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
369           Eb:  5.899e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/625355/ft1_filtered_4FGL_J0921.6+6216_daily_bin1772.fits
Spacecraft file(s): /scratch/kocevski/625355/ft2_4FGL_J0921.6+6216_daily_bin1772.fits
Exposure map: /scratch/kocevski/625355/expmap_698630401_698889601_4FGL_J0921.6+6216_daily_bin1772.fits
Exposure cube: /scratch/kocevski/625355/ltcube_698630401_698889601_4FGL_J0921.6+6216_daily_bin1772.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/625355/Model_4FGL_J0921.6+6216_daily_bin1772.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) = 5845.05275164

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.014       1.0000          .0000       .10000E+07
     2 'norm      '    5.6831       1.0000          .0000       .10000E+07
     3 'Prefactor '    .29425E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .55773E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.5284       1.0000          .0000       .10000E+07
     6 'norm      '    37.663       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.7746       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.3468       1.0000          .0000       .10000E+07
     9 'norm      '    .61549E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .56485E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .46844E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    17.739       1.0000          .0000       .10000E+07
    13 'norm      '    1.0363       1.0000          .0000       .10000E+07
    14 'Prefactor '    .37820E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .34670E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    20.715       1.0000          .0000       .10000E+07
    17 'Prefactor '    .79147E-01   1.0000          .0000       .10000E+07
    18 'norm      '    .43821E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    11.324       1.0000          .0000       .10000E+07
    20 'norm      '    .69800E-06   1.0000          .0000       .10000E+07
    21 'norm      '    .56610       1.0000          .0000       .10000E+07
    22 'Prefactor '    1.1213       1.0000          .0000       .10000E+07
    23 'norm      '    .86075E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    893.22       1.0000          .0000       .10000E+07
    25 'norm      '    1.7103       1.0000          .0000       .10000E+07
    26 'norm      '    .19141E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    .17019E-03   1.0000          .0000       .10000E+07
    28 'Normalizat'    .78199       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0872       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5845.019     FROM MIGRAD    STATUS=CONVERGED    321 CALLS     2913 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.166        25.649       -.29793E-06    .71905E-03
   2  norm          5.6802        3.3990        .68324E-07    .16897E-03
   3  Prefactor      .0000        2.0338       -.81568E-07** at limit **
   4  Prefactor      .0000        4.6417       -.83323E-07** at limit **
   5  Prefactor     1.5265        13.309       -.28046E-06    .42794E-03
   6  norm          37.665        4.4436        .19186E-07    .13164E-02
   7  Prefactor     2.7845        7.6369       -.16461E-06    .45806E-03
   8  Prefactor     2.4347        110.51        .16213E-05    .62897E-03
   9  norm           .0000        6.9379        .43288E-08** at limit **
  10  Prefactor      .0000        6.9292       -.14925E-06** at limit **
  11  Prefactor      .0000        9.9587        .15830E-06** at limit **
  12  Prefactor     18.504        58.551       -.68799E-06    .26066E-03
  13  norm          1.0375        1.2963       -.21796E-07    .41874E-03
  14  Prefactor      .0000        3.1527        .52194E-07** at limit **
  15  Prefactor     .38858E-09    46.879       -.43997E-06** at limit **
  16  Prefactor     21.096        18.837        .16435E-06   -.49026E-03
  17  Prefactor     .16653E-09    29.144        .59233E-06** at limit **
  18  norm           .0000        10.537       -.10706E-06** at limit **
  19  Prefactor     .16653E-09    817.51       -.32650E-06** at limit **
  20  norm           .0000        .82761       -.61804E-07** at limit **
  21  norm          .56557        .77421        .17703E-07   -.37276E-03
  22  Prefactor     .13323E-08    904.57        .20773E-05** at limit **
  23  norm          .16653E-09    50.725        .76781E-06** at limit **
  24  Prefactor     906.68        471.18       -.11765E-05   -.56027E-03
  25  norm          .10362        1813.3        .14885E-04** at limit **
  26  norm          .61062E-09    198.66        .91290E-06** at limit **
  27  Prefactor     .77716E-09    67.479       -.12677E-05** at limit **
  28  Normalizat    .78394        .29790       -.86664E-05    .10148E-03
  29  Prefactor     1.0861        .20989       -.26622E-06    .14654E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.1663
  norm       = 5.68016
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.52651
  norm       = 37.6646
  Prefactor  = 2.78448
  Prefactor  = 2.43474
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 18.5045
  norm       = 1.03752
  Prefactor  = 0
  Prefactor  = 3.88578e-10
  Prefactor  = 21.0961
  Prefactor  = 1.66533e-10
  norm       = 0
  Prefactor  = 1.66533e-10
  norm       = 0
  norm       = 0.565569
  Prefactor  = 1.33227e-09
  norm       = 1.66533e-10
  Prefactor  = 906.684
  norm       = 0.103622
  norm       = 6.10623e-10
  Prefactor  = 7.77156e-10
  Normalizat = 0.783944
  Prefactor  = 1.08613
 **********
 **   18 **HESSE 
 **********

 FCN=   5845.019     FROM HESSE     STATUS=OK           613 CALLS     3526 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.166        25.727        .21319E-03   -1.5614    
   2  norm          5.6802        3.4049        .42112E-03   -1.5660    
   3  Prefactor      .0000        1.9777        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.6500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.5265        13.226        .86317E-03   -1.5683    
   6  norm          37.665        4.4371        .16296E-03   -1.5585    
   7  Prefactor     2.7845        7.6737        .61069E-03   -1.5675    
   8  Prefactor     2.4347        109.88        .66892E-03   -1.5677    
   9  norm           .0000        6.9581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        6.9487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        9.9727        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     18.504        58.922        .23753E-03   -1.5622    
  13  norm          1.0375        1.3007        .12365E-03   -1.5688    
  14  Prefactor      .0000        3.1566        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .38858E-09    47.069        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     21.096        18.869        .21978E-03   -1.5616    
  17  Prefactor     .16653E-09    29.216        .14527E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        10.577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .16653E-09    770.29        .29746E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .83224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .56557        .79205        .72321E-03   -1.5693    
  22  Prefactor     .13323E-08    887.84        .11081E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .16653E-09    50.206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     906.68        426.25        .33475E-04   -1.5106    
  25  norm          .10362        30.482        .12058E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .61062E-09    196.17        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .77716E-09    67.519        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .78394        .25839        .85951E-01   -1.0067    
  29  Prefactor     1.0861        .18190        .56411E-01   -.89911    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.19634e-09
Minuit parameter uncertainties:
  1  25.7274
  2  3.40492
  3  5.5649e-06
  4  7.99134e-06
  5  8.98654
  6  4.43709
  7  7.67377
  8  32.7134
  9  2.57659e-06
  10  1.6665e-05
  11  1.79987e-05
  12  58.9236
  13  1.30068
  14  3.66148e-06
  15  0.000263527
  16  18.8694
  17  0.000129366
  18  1.34221e-05
  19  0.000654184
  20  2.64734e-06
  21  0.792048
  22  0.00219073
  23  0.000193201
  24  426.26
  25  3.55449
  26  0.000680297
  27  0.000457897
  28  0.258791
  29  0.182001
Done.

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

Extracting fit parameters...

4FGL J0921.6+6216
   Spectrum: LogParabola
366         norm:  1.038e+00  1.301e+00  0.000e+00  1.000e+06 ( 1.000e-11)
367        alpha:  2.223e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
368         beta:  8.311e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
369           Eb:  5.899e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
762    Prefactor:  1.086e+00  1.820e-01  0.000e+00  1.000e+01 ( 1.000e+00)
763        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
764        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
761   Normalization:  7.839e-01  2.588e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.24
Ra Dec: 140.419 62.271
Photon Index (Fixed Index): 2.22 +/- 0.00
Photon Flux (Fixed Index): 3.86e-08 +/- 4.84e-08
Energy Flux (Fixed Index): 1.46e-05 +/- 1.83e-05

TS (Fixed Index): 1.24
Ra Dec: 140.419 62.271
Photon Flux Upper Limit: 1.58e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.98e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/625355/likelihoodResults_698630401_698889601_4FGL_J0921.6+6216_daily_bin1772.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) = 5844.15035152
delta logL = 0.868460355829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5844.10931157
delta logL = 0.909500303793

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5844.109     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      224 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .56806        5.5656        .72024E-03    .10591E-01
   2  alpha         3.8999        4.4461        .38970        .48871E-04
   3  Normalizat    .65981        .70394E-01    .92771E-01    .32510E-04
   4  Prefactor     1.1442        .53505E-01    .55129E-01    .35860E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.568056
  alpha      = 3.89987
  Normalizat = 0.659806
  Prefactor  = 1.14418
 **********
 **   18 **HESSE 
 **********

 FCN=   5844.109     FROM HESSE     STATUS=OK            31 CALLS      255 TOTAL
                     EDM=   .12E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .56806        1.2706        .35480E-05   -1.5693    
   2  alpha         3.8999        1.5496        .16863E-02    .59432    
   3  Normalizat    .65981        .27999        .41103E-03   -1.0550    
   4  Prefactor     1.1442        .20822        .24373E-03   -.88067    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23752e-13
Minuit parameter uncertainties:
  1  1.27063
  2  1.7507
  3  0.2806
  4  0.20837
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/625355': 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) = 5844.10930619
delta logL = 0.909505687316

Extracting fit parameters...

4FGL J0921.6+6216
   Spectrum: LogParabola
366         norm:  5.681e-01  1.271e+00  0.000e+00  1.000e+06 ( 1.000e-11)
367        alpha:  3.900e+00  1.751e+00  0.000e+00  5.000e+00 ( 1.000e+00)
368         beta:  8.311e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
369           Eb:  5.899e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
762    Prefactor:  1.144e+00  2.084e-01  0.000e+00  1.000e+01 ( 1.000e+00)
763        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
764        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
761   Normalization:  6.598e-01  2.806e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.29
Ra Dec: 140.419 62.271
Photon Index (Free Index): 3.90 +/- 1.75
Photon Flux (Free Index): 1.67e-07 +/- 1.22e-07
Energy Flux (Free Index): 2.61e-05 +/- 1.72e-05

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/625355/cmap_HighResolution_698630401_698889601_4FGL_J0921.6+6216_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.98e-05', comment='SUCCESS', photon_flux='3.86e-08', energy_flux2='2.61e-05', photon_flux_error='4.84e-08', dlogl='9.10e-01', energy_flux='1.46e-05', photon_flux2='1.67e-07', job_status='DONE', time_completed='2023-02-24 01:25:45.084112', photon_index_error2='1.75', photon_index2='3.90', ts='1.24', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.58e-07', energy_flux_error2='1.72e-05', EG='0.78', time_epoch_completed='1677230745.08', return_code='0', job_id='625355', GAL2='1.14', EG2='0.66', return_code2='0', energy_flux_error='1.83e-05', photon_flux_error2='1.22e-07', ts2='3.29', photon_index='2.22' WHERE bin_id='1772' AND source_name='4FGL J0921.6+6216' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 01:25:45 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 625355: <4FGL_J0921.6+6216_daily_bin1772> in cluster <slac> Done

Job <4FGL_J0921.6+6216_daily_bin1772> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Feb 24 01:10:14 2023
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:10:14 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 01:10:14 2023
Terminated at Fri Feb 24 01:25:45 2023
Results reported at Fri Feb 24 01:25:45 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0921.6+6216_daily_bin1772 140.419 62.2708 698630401 698889601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0921.6+6216 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   872.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             330.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   931 sec.
    Turnaround time :                            931 sec.

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

