/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 109 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 = 7380
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0923.5+4125_daily_bin1282
RA = 140.895, Dec = 41.4283
tmin = 571622401, tmax = 571881601
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='212636', job_status='RUN', time_executed='2021-08-31 11:02:58.255573', time_epoch_executed='1630432978.26' WHERE source_name='4FGL J0923.5+4125' and cadence='daily' and bin_id='1282'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/212636

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/212636/ft1_4FGL_J0923.5+4125_daily_bin1282.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/212636/ft2_4FGL_J0923.5+4125_daily_bin1282.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/212636/ft1_4FGL_J0923.5+4125_daily_bin1282.fits outfile=/scratch/kocevski/212636/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1282.fits ra=140.895 dec=41.4283 rad=12.0 tmin=571622401.0 tmax=571881601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.85
user 2.50
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/212636/ft2_4FGL_J0923.5+4125_daily_bin1282.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/212636/ft2_4FGL_J0923.5+4125_daily_bin1282.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/212636/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1282.fits evtable="EVENTS" outfile="/scratch/kocevski/212636/ft1_filtered_4FGL_J0923.5+4125_daily_bin1282.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/212636/ft1_filtered_4FGL_J0923.5+4125_daily_bin1282.fits" evtable="EVENTS" scfile=/scratch/kocevski/212636/ft2_4FGL_J0923.5+4125_daily_bin1282.fits sctable="SC_DATA" outfile=/scratch/kocevski/212636/ltcube_571622401_571881601_4FGL_J0923.5+4125_daily_bin1282.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/212636/ft2_4FGL_J0923.5+4125_daily_bin1282.fits
.....................!
real 12.29
user 11.88
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/212636/ft1_filtered_4FGL_J0923.5+4125_daily_bin1282.fits evtable="EVENTS" scfile=/scratch/kocevski/212636/ft2_4FGL_J0923.5+4125_daily_bin1282.fits sctable="SC_DATA" expcube=/scratch/kocevski/212636/ltcube_571622401_571881601_4FGL_J0923.5+4125_daily_bin1282.fits outfile=/scratch/kocevski/212636/expmap_571622401_571881601_4FGL_J0923.5+4125_daily_bin1282.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/212636/ltcube_571622401_571881601_4FGL_J0923.5+4125_daily_bin1282.fits
.....................!
real 190.10
user 185.21
sys 4.15

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

Setting source of interest to:
4FGL J0923.5+4125 @ 140.895 41.4283

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/212636/ft1_filtered_4FGL_J0923.5+4125_daily_bin1282.fits scfile=/scratch/kocevski/212636/ft2_4FGL_J0923.5+4125_daily_bin1282.fits outfile=/scratch/kocevski/212636/cmap_571622401_571881601_4FGL_J0923.5+4125_daily_bin1282.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.895 yref=41.4283 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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/212636/ft1_filtered_4FGL_J0923.5+4125_daily_bin1282.fits scfile=/scratch/kocevski/212636/ft2_4FGL_J0923.5+4125_daily_bin1282.fits outfile=/scratch/kocevski/212636/cmap_HighResolution_571622401_571881601_4FGL_J0923.5+4125_daily_bin1282.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.895 yref=41.4283 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.52
user 0.38
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/212636/ft1_filtered_4FGL_J0923.5+4125_daily_bin1282.fits evtable="EVENTS" scfile=/scratch/kocevski/212636/ft2_4FGL_J0923.5+4125_daily_bin1282.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/212636/Model_4FGL_J0923.5+4125_daily_bin1282.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/212636/ft1_filtered_4FGL_J0923.5+4125_daily_bin1282.fits......!
real 14.76
user 12.79
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/212636/ft1_filtered_4FGL_J0923.5+4125_daily_bin1282.fits', '/scratch/kocevski/212636/ft2_4FGL_J0923.5+4125_daily_bin1282.fits', expMap='/scratch/kocevski/212636/expmap_571622401_571881601_4FGL_J0923.5+4125_daily_bin1282.fits', expCube='/scratch/kocevski/212636/ltcube_571622401_571881601_4FGL_J0923.5+4125_daily_bin1282.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/212636/Model_4FGL_J0923.5+4125_daily_bin1282.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0923.5+4125'

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  1.066e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
326        Index:  2.355e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/212636/ft1_filtered_4FGL_J0923.5+4125_daily_bin1282.fits
Spacecraft file(s): /scratch/kocevski/212636/ft2_4FGL_J0923.5+4125_daily_bin1282.fits
Exposure map: /scratch/kocevski/212636/expmap_571622401_571881601_4FGL_J0923.5+4125_daily_bin1282.fits
Exposure cube: /scratch/kocevski/212636/ltcube_571622401_571881601_4FGL_J0923.5+4125_daily_bin1282.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/212636/Model_4FGL_J0923.5+4125_daily_bin1282.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 85.53599432

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 79.8996297813

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6744       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.3012       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.9195       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.6996       1.0000         .10000E-03   10000.    
     5 'norm      '    6.6700       1.0000         .10000E-03   10000.    
     6 'norm      '    33.841       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.431       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.1625       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12814       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.9002       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.9597       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.4222       1.0000         .10000E-03   10000.    
    13 'norm      '    1.0628       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.2153       1.0000         .10000E-03   10000.    
    15 'norm      '    1.5526       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3297.7       1.0000         .10000E-03   10000.    
    17 'norm      '    3.3766       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.2326       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .17565       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .21135E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .47690       1.0000         .10000E-03   10000.    
    22 'norm      '    2.2333       1.0000         .10000E-03   10000.    
    23 'Prefactor '    343.35       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .59628E-02   1.0000         .10000E-03   10000.    
    25 'Prefactor '    3854.9       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .57673       1.0000         .10000E-03   10000.    
    27 'norm      '    128.57       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .14200E-01   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .32324E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    5.2344       1.0000         .10000E-03   10000.    
    31 'norm      '    .79175E-01   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .10050E-01   1.0000         .10000E-01   10.000    
    33 'Prefactor '    .63292E-03   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   79.12001     FROM MIGRAD    STATUS=CONVERGED    450 CALLS      795 TOTAL
                     EDM=   .47E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6744        6973.9         .0000         .0000    
   2  Prefactor     1.3012        6998.9         .0000         .0000    
   3  Prefactor     8.9195        6904.9         .0000         .0000    
   4  Prefactor     1.6996        6990.7         .0000         .0000    
   5  norm         10000.0        5552.7       -.75169E-05** at limit **
   6  norm         10000.0        8825.3        .56466E-04** at limit **
   7  Prefactor    10000.0        9418.2        .70417E-04** at limit **
   8  Prefactor     .10000E-03    623.15       -.58091E-05** at limit **
   9  Prefactor     .10000E-03    7027.0        .34616E-04** at limit **
  10  Prefactor     1.9002        6986.9         .0000         .0000    
  11  Prefactor     5.9597        6932.9         .0000         .0000    
  12  Prefactor     1.4222        6996.3         .0000         .0000    
  13  norm          1.0628        7004.5         .0000         .0000    
  14  Prefactor     7.2153        6920.3         .0000         .0000    
  15  norm          .10000E-03    206.27        .73932E-05** at limit **
  16  Prefactor     2255.2        2984.0       -.11787E-04   -.28029E-05
  17  norm          3.3766        6963.7         .0000         .0000    
  18  Prefactor    10000.0        6065.0       -.10864E-03** at limit **
  19  Prefactor     .10000E-03    74.337       -.43859E-06** at limit **
  20  Prefactor     .10000E-03    16.295       -.26804E-06** at limit **
  21  Prefactor     .10000E-03    102.31        .73720E-06** at limit **
  22  norm          .10000E-03    649.92        .12736E-04** at limit **
  23  Prefactor     .10001E-03    6878.7       -.50096E-04** at limit **
  24  Prefactor     .10000E-03    21.768       -.48862E-06** at limit **
  25  Prefactor     3878.0        2858.4       -.14126E-05    .33772E-05
  26  Prefactor     .10000E-03    435.66        .50590E-05** at limit **
  27  norm          107.41        117.39        .53083E-05   -.63129E-04
  28  Prefactor     .10000E-03    17.520       -.62333E-06** at limit **
  29  Prefactor     .10000E-03    61.733        .47012E-05** at limit **
  30  Prefactor     .10000E-03    134.49        .53903E-07** at limit **
  31  norm          .10000E-03    39.528        .27204E-05** at limit **
  32  Normalizat    .10000E-01    .21994       -.18342E-04** at limit **
  33  Prefactor     .90539E-12    .37734       -.12404E-04** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.67445
  Prefactor  = 1.30123
  Prefactor  = 8.91954
  Prefactor  = 1.69958
  norm       = 10000
  norm       = 10000
  Prefactor  = 10000
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 1.9002
  Prefactor  = 5.95967
  Prefactor  = 1.42219
  norm       = 1.06285
  Prefactor  = 7.21531
  norm       = 0.0001
  Prefactor  = 2255.2
  norm       = 3.37659
  Prefactor  = 10000
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 3877.97
  Prefactor  = 0.0001
  norm       = 107.406
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.01
  Prefactor  = 9.05387e-13
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   79.12001     FROM HESSE     STATUS=FAILED         9 CALLS      804 TOTAL
                     EDM=   .47E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     558.79        556.02         .0000       -1.5381    
   2  Prefactor     1.3012        1.1044         .0000       -1.5480    
   3  Prefactor     8.9195        1.0016         .0000       -1.5111    
   4  Prefactor     1.6996        1.0516         .0000       -1.5447    
   5  norm         10000.0        .37720E-01   -.75169E-05    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm         10000.0        .74141E-02    .56466E-04    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor    10000.0        .18665E-01    .70417E-04    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    .30769E-01   -.58091E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    .23254        .34616E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.9002        1.0396         .0000       -1.5432    
  11  Prefactor     5.9597        1.0036         .0000       -1.5220    
  12  Prefactor     1.4222        1.0811         .0000       -1.5469    
  13  norm          1.0628        1.2223         .0000       -1.5502    
  14  Prefactor     7.2153        1.0024         .0000       -1.5171    
  15  norm          .10000E-03    .18251        .73932E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2255.2        .88896       -.11787E-04   -.58112    
  17  norm          3.3766        1.0114         .0000       -1.5340    
  18  Prefactor    10000.0        .11827       -.10864E-03    7.8540    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    .24334       -.43859E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    .20831       -.26804E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    .31226        .73720E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    .11823        .12736E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10001E-03    .75400E-03   -.50096E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    .22442       -.48862E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     3878.0        1.0011       -.14126E-05   -.22633    
  26  Prefactor     .10000E-03    .33525        .50590E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          107.41        .91499        .53083E-05   -1.3632    
  28  Prefactor     .10000E-03    .20674       -.62333E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    .28510        .47012E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    .48230E-01    .53903E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          .10000E-03    .22144        .27204E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .10000E-01    .25506       -.18342E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .90539E-12    .25521       -.12404E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.67542e-11
Minuit parameter uncertainties:
  1  1.01864
  2  1.10438
  3  1.00158
  4  1.05159
  5  0.000245179
  6  6.80428e-05
  7  5.88543e-05
  8  6.57899e-06
  9  5.25473e-05
  10  1.03966
  11  1.00356
  12  1.08115
  13  1.22236
  14  1.00242
  15  6.31487e-06
  16  0.888957
  17  1.01141
  18  0.000767176
  19  1.11388e-05
  20  5.24013e-06
  21  1.29734e-05
  22  1.49877e-05
  23  4.39365e-06
  24  4.45864e-06
  25  1.0011
  26  1.32095e-06
  27  0.914988
  28  1.99738e-06
  29  8.72285e-06
  30  2.57104e-06
  31  7.20536e-06
  32  4.57556e-07
  33  9.65455e-07
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 79.1200123542

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  1.000e+04  7.672e-04  1.000e-04  1.000e+04 ( 1.000e-12)
326        Index:  2.355e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.054e-13  9.655e-07  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
667   Normalization:  1.000e-02  4.576e-07  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = 3.58231488917e-08

TS (Fixed Index): 0.08
Ra Dec: 140.895 41.428
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.70e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/212636/likelihoodResults_571622401_571881601_4FGL_J0923.5+4125_daily_bin1282.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) = 78.1057833158
delta logL = 1.01422903838

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 78.0461319489
delta logL = 1.07388040529

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '   10.0000       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   78.04612     FROM MIGRAD    STATUS=CONVERGED     12 CALLS       52 TOTAL
                     EDM=   .32E-15    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       10.000        1.3788        .14854    ** at limit **
                               ERR DEF=  .500    
Final values: 
  Index      = 10
 **********
 **   18 **HESSE 
 **********

 FCN=   78.04612     FROM HESSE     STATUS=OK             5 CALLS       57 TOTAL
                     EDM=   .31E-15    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       10.000        1.3702        .32926E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.13275e-16
Minuit parameter uncertainties:
  1  5.09067e-08
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/212636': 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) = 78.0461203869
delta logL = 1.07389196732

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  1.000e+04  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12) fixed
326        Index:  1.000e+01  5.091e-08  0.000e+00  1.000e+01 (-1.000e+00)
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  2.106e-07  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
667   Normalization:  1.000e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 2.23
Ra Dec: 140.895 41.428
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 5.27e+02 +/- 5.49e-05
Energy Flux (Free Index): 5.89e+04 +/- 6.14e-03

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/212636/cmap_HighResolution_571622401_571881601_4FGL_J0923.5+4125_daily_bin1282.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.70e+04', comment='SUCCESS', energy_flux2='5.89e+04', dlogl='1.07e+00', photon_flux2='5.27e+02', job_status='DONE', time_completed='2021-08-31 11:08:32.434361', photon_index_error2='0.00', photon_index2='10.00', ts='0.08', fit_tolerance='1e-08', GAL='0.00', photon_index_error='0.00', photon_flux_upper_limit='-1.00e+00', energy_flux_error2='6.14e-03', EG='0.01', time_epoch_completed='1630433312.43', return_code='101', job_id='212636', GAL2='0.00', EG2='0.01', return_code2='0', photon_flux_error2='5.49e-05', ts2='2.23', photon_index='2.36' WHERE bin_id='1282' AND source_name='4FGL J0923.5+4125' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:08:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 212636: <4FGL_J0923.5+4125_daily_bin1282> in cluster <slac> Done

Job <4FGL_J0923.5+4125_daily_bin1282> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 11:00:39 2021
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:00:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 11:00:40 2021
Terminated at Tue Aug 31 11:08:32 2021
Results reported at Tue Aug 31 11:08:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+4125_daily_bin1282 140.895 41.4283 571622401 571881601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0923.5+4125 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   323.55 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             390.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   472 sec.
    Turnaround time :                            473 sec.

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

