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


Performing analysis on: 4FGL_J0433.0+0522_daily_bin1699
RA = 68.2618, Dec = 5.3696
tmin = 679708801, tmax = 679968001
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='117311', job_status='RUN', time_executed='2022-07-20 08:31:48.881501', time_epoch_executed='1658331108.88' WHERE source_name='4FGL J0433.0+0522' and cadence='daily' and bin_id='1699'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/117311

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/117311/ft1_4FGL_J0433.0+0522_daily_bin1699.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/117311/ft2_4FGL_J0433.0+0522_daily_bin1699.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/117311/ft1_4FGL_J0433.0+0522_daily_bin1699.fits outfile=/scratch/kocevski/117311/ft1_filteredMKT_4FGL_J0433.0+0522_daily_bin1699.fits ra=68.2618 dec=5.3696 rad=12.0 tmin=679708801.0 tmax=679968001.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.00
user 2.80
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/117311/ft2_4FGL_J0433.0+0522_daily_bin1699.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/117311/ft2_4FGL_J0433.0+0522_daily_bin1699.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/117311/ft1_filteredMKT_4FGL_J0433.0+0522_daily_bin1699.fits evtable="EVENTS" outfile="/scratch/kocevski/117311/ft1_filtered_4FGL_J0433.0+0522_daily_bin1699.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.45
user 0.27
sys 0.15

Number of photons that the gtmktime cut: 1380

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/117311/ft1_filtered_4FGL_J0433.0+0522_daily_bin1699.fits" evtable="EVENTS" scfile=/scratch/kocevski/117311/ft2_4FGL_J0433.0+0522_daily_bin1699.fits sctable="SC_DATA" outfile=/scratch/kocevski/117311/ltcube_679708801_679968001_4FGL_J0433.0+0522_daily_bin1699.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/117311/ft2_4FGL_J0433.0+0522_daily_bin1699.fits
.....................!
real 9.41
user 9.13
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/117311/ft1_filtered_4FGL_J0433.0+0522_daily_bin1699.fits evtable="EVENTS" scfile=/scratch/kocevski/117311/ft2_4FGL_J0433.0+0522_daily_bin1699.fits sctable="SC_DATA" expcube=/scratch/kocevski/117311/ltcube_679708801_679968001_4FGL_J0433.0+0522_daily_bin1699.fits outfile=/scratch/kocevski/117311/expmap_679708801_679968001_4FGL_J0433.0+0522_daily_bin1699.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/117311/ltcube_679708801_679968001_4FGL_J0433.0+0522_daily_bin1699.fits
.....................!
real 144.66
user 140.54
sys 3.80

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

Setting source of interest to:
4FGL J0433.0+0522 @ 68.2618 5.3696

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/117311/ft1_filtered_4FGL_J0433.0+0522_daily_bin1699.fits scfile=/scratch/kocevski/117311/ft2_4FGL_J0433.0+0522_daily_bin1699.fits outfile=/scratch/kocevski/117311/cmap_679708801_679968001_4FGL_J0433.0+0522_daily_bin1699.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=68.2618 yref=5.3696 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.46
user 0.30
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/117311/ft1_filtered_4FGL_J0433.0+0522_daily_bin1699.fits scfile=/scratch/kocevski/117311/ft2_4FGL_J0433.0+0522_daily_bin1699.fits outfile=/scratch/kocevski/117311/cmap_HighResolution_679708801_679968001_4FGL_J0433.0+0522_daily_bin1699.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=68.2618 yref=5.3696 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.45
user 0.29
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/117311/ft1_filtered_4FGL_J0433.0+0522_daily_bin1699.fits evtable="EVENTS" scfile=/scratch/kocevski/117311/ft2_4FGL_J0433.0+0522_daily_bin1699.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/117311/Model_4FGL_J0433.0+0522_daily_bin1699.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/117311/ft1_filtered_4FGL_J0433.0+0522_daily_bin1699.fits....................!
real 160.75
user 159.35
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/117311/ft1_filtered_4FGL_J0433.0+0522_daily_bin1699.fits', '/scratch/kocevski/117311/ft2_4FGL_J0433.0+0522_daily_bin1699.fits', expMap='/scratch/kocevski/117311/expmap_679708801_679968001_4FGL_J0433.0+0522_daily_bin1699.fits', expCube='/scratch/kocevski/117311/ltcube_679708801_679968001_4FGL_J0433.0+0522_daily_bin1699.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/117311/Model_4FGL_J0433.0+0522_daily_bin1699.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0433.0+0522'

4FGL J0433.0+0522
   Spectrum: LogParabola
184         norm:  1.780e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
185        alpha:  2.556e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
186         beta:  2.655e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
187           Eb:  4.245e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/117311/ft1_filtered_4FGL_J0433.0+0522_daily_bin1699.fits
Spacecraft file(s): /scratch/kocevski/117311/ft2_4FGL_J0433.0+0522_daily_bin1699.fits
Exposure map: /scratch/kocevski/117311/expmap_679708801_679968001_4FGL_J0433.0+0522_daily_bin1699.fits
Exposure cube: /scratch/kocevski/117311/ltcube_679708801_679968001_4FGL_J0433.0+0522_daily_bin1699.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/117311/Model_4FGL_J0433.0+0522_daily_bin1699.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) = 14494.1194165

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    41.786       1.0000         .10000E-03   10000.    
     2 'Prefactor '    42.830       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.3964       1.0000         .10000E-03   10000.    
     5 'norm      '    4.1745       1.0000         .10000E-03   10000.    
     6 'Prefactor '    28.146       1.0000         .10000E-03   10000.    
     7 'norm      '    7.9273       1.0000         .10000E-03   10000.    
     8 'norm      '    2.1987       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .79453       1.0000         .10000E-03   10000.    
    10 'Prefactor '    22.927       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10563E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.1678       1.0000         .10000E-03   10000.    
    18 'norm      '    6.4661       1.0000         .10000E-03   10000.    
    19 'Prefactor '    31.708       1.0000         .10000E-03   10000.    
    20 'norm      '    20.607       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.444       1.0000         .10000E-03   10000.    
    23 'norm      '    2.0268       1.0000         .10000E-03   10000.    
    24 'norm      '    7.6984       1.0000         .10000E-03   10000.    
    25 'Prefactor '    2.2763       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .82144       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0245       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14494.11     FROM MIGRAD    STATUS=CONVERGED    643 CALLS     3408 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     41.780        35.592       -.44023E-05   -.53333E-05
   2  Prefactor     42.829        18.769        .36962E-06   -.24553E-04
   3  norm          .10000E-03    4.4974        .86917E-07** at limit **
   4  Prefactor     6.3967        13.569       -.18163E-06   -.33562E-04
   5  norm          4.1744        2.7679       -.18945E-06    .40124E-04
   6  Prefactor     28.146        23.879       -.23588E-05   -.45612E-04
   7  norm          7.9281        12.117       -.56184E-06   -.42728E-04
   8  norm          2.1988        .89338        .15016E-07   -.41033E-04
   9  Prefactor     .79412        1.1785       -.24205E-06   -.23100E-02
  10  Prefactor     22.944        20.659       -.17282E-05   -.21224E-03
  11  Prefactor     .10000E-03    11.909        .19339E-06** at limit **
  12  Prefactor     .10000E-03    1.9672        .27527E-07** at limit **
  13  Prefactor     .10000E-03    3.9662       -.69999E-07** at limit **
  14  norm          .10000E-03    1.3417        .43379E-06** at limit **
  15  Prefactor     .10000E-03    25.184       -.16806E-06** at limit **
  16  norm          .10000E-03    .50759       -.26733E-07** at limit **
  17  Prefactor     6.1697        7.6941        .86876E-06   -.34084E-03
  18  norm          6.4659        2.3954       -.51846E-07   -.58065E-03
  19  Prefactor     31.693        32.898       -.99615E-05   -.37612E-04
  20  norm          20.607        3.2068        .35147E-06   -.42209E-04
  21  Prefactor     .10001E-03    81.379       -.78539E-06** at limit **
  22  Prefactor     13.443        9.2826       -.24065E-06   -.10416E-03
  23  norm          2.0266        .73593        .76086E-07   -.58536E-03
  24  norm          7.6980        4.2723        .27286E-06   -.27115E-03
  25  Prefactor     2.2754        4.2248        .19944E-05   -.15703E-02
  26  Normalizat    .82147        .22525        .17330E-05   -.14198E-03
  27  Prefactor     1.0245        .64913E-01   -.10558E-07   -.23816E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 41.7804
  Prefactor  = 42.8289
  norm       = 0.0001
  Prefactor  = 6.39669
  norm       = 4.17442
  Prefactor  = 28.1457
  norm       = 7.92811
  norm       = 2.19877
  Prefactor  = 0.794125
  Prefactor  = 22.9444
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.16967
  norm       = 6.46593
  Prefactor  = 31.6935
  norm       = 20.6072
  Prefactor  = 0.000100008
  Prefactor  = 13.4433
  norm       = 2.02665
  norm       = 7.69799
  Prefactor  = 2.27535
  Normalizat = 0.821472
  Prefactor  = 1.02452
 **********
 **   18 **HESSE 
 **********

 FCN=   14494.11     FROM HESSE     STATUS=OK           500 CALLS     3908 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     41.780        35.604        .62014E-04   -1.4414    
   2  Prefactor     42.829        18.738        .61256E-04   -1.4398    
   3  norm          .10000E-03    4.5004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.3967        13.520        .15870E-03   -1.5202    
   5  norm          4.1744        2.7668        .15762E-03   -1.5299    
   6  Prefactor     28.146        23.883        .75515E-04   -1.4646    
   7  norm          7.9281        12.030        .14241E-03   -1.5145    
   8  norm          2.1988        .87838        .67145E-04   -1.5411    
   9  Prefactor     .79412        .96110        .14706E-02   -1.5530    
  10  Prefactor     22.944        19.415        .83654E-04   -1.4750    
  11  Prefactor     .10000E-03    11.927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.9755        .16485E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.9755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.4845        .24805E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    25.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .52084        .16737E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.1697        7.5714        .16165E-03   -1.5211    
  18  norm          6.4659        2.3946        .10676E-03   -1.5199    
  19  Prefactor     31.693        32.171        .71158E-04   -1.4581    
  20  norm          20.607        3.1984        .79903E-04   -1.4800    
  21  Prefactor     .10001E-03    82.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     13.443        9.2696        .10924E-03   -1.4975    
  23  norm          2.0266        .73637        .54072E-04   -1.5423    
  24  norm          7.6980        4.2949        .14453E-03   -1.5153    
  25  Prefactor     2.2754        4.0160        .27217E-03   -1.5406    
  26  Normalizat    .82147        .23252        .54630E-03   -.99277    
  27  Prefactor     1.0245        .69176E-01    .15886E-03   -.91917    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60147e-09
Minuit parameter uncertainties:
  1  35.6222
  2  18.7402
  3  5.07558e-07
  4  13.5269
  5  2.76684
  6  23.8913
  7  12.0336
  8  0.878387
  9  0.961119
  10  19.4203
  11  8.32177e-06
  12  1.8422e-06
  13  1.44755e-06
  14  6.89869e-05
  15  3.86494e-06
  16  1.20856e-06
  17  7.57256
  18  2.3946
  19  32.1888
  20  3.19838
  21  0.00158699
  22  9.27063
  23  0.736369
  24  4.29508
  25  4.01649
  26  0.232799
  27  0.0691819
Done.

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

Extracting fit parameters...

4FGL J0433.0+0522
   Spectrum: LogParabola
184         norm:  1.000e-04  6.899e-05  1.000e-04  1.000e+04 ( 1.000e-11)
185        alpha:  2.556e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
186         beta:  2.655e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
187           Eb:  4.245e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
444    Prefactor:  1.025e+00  6.918e-02  0.000e+00  1.000e+01 ( 1.000e+00)
445        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
446        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
443   Normalization:  8.215e-01  2.328e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 68.262 5.370
Photon Flux Upper Limit: 9.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.42e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/117311/likelihoodResults_679708801_679968001_4FGL_J0433.0+0522_daily_bin1699.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) = 14494.1151542
delta logL = -0.00191843712309

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14494.1132361
delta logL = -3.08518792735e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5482       1.0000          .0000       5.0000    
     3 'Normalizat'    .82153       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0245       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14494.11     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      222 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    153.73        .39568E-01** at limit **
   2  alpha         2.5395        3.4289        .41161        .18501E-04
   3  Normalizat    .82148        .12108        .12313        .29246E-03
   4  Prefactor     1.0245        .31973E-01    .41715E-01    .52614E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 2.53949
  Normalizat = 0.821475
  Prefactor  = 1.02452
 **********
 **   18 **HESSE 
 **********

 FCN=   14494.11     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.5008        .24867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.5395        3.5620        .50000        .15795E-01
   3  Normalizat    .82148        .20634        .54630E-03   -.99277    
   4  Prefactor     1.0245        .67076E-01    .15886E-03   -.91917    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.5273e-10
Minuit parameter uncertainties:
  1  9.60799e-05
  2  2.50408
  3  0.206536
  4  0.0670812
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/117311': 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) = 14494.1132356
delta logL = 1.18829120765e-07

Extracting fit parameters...

4FGL J0433.0+0522
   Spectrum: LogParabola
184         norm:  1.000e-04  9.608e-05  1.000e-04  1.000e+04 ( 1.000e-11)
185        alpha:  2.539e+00  2.504e+00  0.000e+00  5.000e+00 ( 1.000e+00)
186         beta:  2.655e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
187           Eb:  4.245e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
444    Prefactor:  1.025e+00  6.708e-02  0.000e+00  1.000e+01 ( 1.000e+00)
445        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
446        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
443   Normalization:  8.215e-01  2.065e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 68.262 5.370

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/117311/cmap_HighResolution_679708801_679968001_4FGL_J0433.0+0522_daily_bin1699.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.42e-05', job_status='DONE', photon_flux_upper_limit='9.48e-08', time_completed='2022-07-20 08:46:54.573302', job_id='117311', GAL2='1.02', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1658332014.57', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.19e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1699' AND source_name='4FGL J0433.0+0522' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 20 08:46:54 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 117311: <4FGL_J0433.0+0522_daily_bin1699> in cluster <slac> Done

Job <4FGL_J0433.0+0522_daily_bin1699> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jul 20 08:30:20 2022
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jul 20 08:30:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jul 20 08:30:22 2022
Terminated at Wed Jul 20 08:46:55 2022
Results reported at Wed Jul 20 08:46:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0433.0+0522_daily_bin1699 68.2618 5.3696 679708801 679968001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0433.0+0522 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   905.47 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             353.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   992 sec.
    Turnaround time :                            995 sec.

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

