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


Performing analysis on: 4FGL_J0923.5+4125_daily_bin1510
RA = 140.895, Dec = 41.4283
tmin = 630720001, tmax = 630979201
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='214312', job_status='RUN', time_executed='2021-08-31 11:07:32.482704', time_epoch_executed='1630433252.48' WHERE source_name='4FGL J0923.5+4125' and cadence='daily' and bin_id='1510'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/214312

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/214312/ft1_4FGL_J0923.5+4125_daily_bin1510.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/214312/ft2_4FGL_J0923.5+4125_daily_bin1510.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/214312/ft1_4FGL_J0923.5+4125_daily_bin1510.fits outfile=/scratch/kocevski/214312/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1510.fits ra=140.895 dec=41.4283 rad=12.0 tmin=630720001.0 tmax=630979201.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.21
user 2.02
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/214312/ft2_4FGL_J0923.5+4125_daily_bin1510.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/214312/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1510.fits evtable="EVENTS" outfile="/scratch/kocevski/214312/ft1_filtered_4FGL_J0923.5+4125_daily_bin1510.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.39
user 0.26
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/214312/ft1_filtered_4FGL_J0923.5+4125_daily_bin1510.fits" evtable="EVENTS" scfile=/scratch/kocevski/214312/ft2_4FGL_J0923.5+4125_daily_bin1510.fits sctable="SC_DATA" outfile=/scratch/kocevski/214312/ltcube_630720001_630979201_4FGL_J0923.5+4125_daily_bin1510.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/214312/ft2_4FGL_J0923.5+4125_daily_bin1510.fits
.....................!
real 8.86
user 8.57
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/214312/ft1_filtered_4FGL_J0923.5+4125_daily_bin1510.fits evtable="EVENTS" scfile=/scratch/kocevski/214312/ft2_4FGL_J0923.5+4125_daily_bin1510.fits sctable="SC_DATA" expcube=/scratch/kocevski/214312/ltcube_630720001_630979201_4FGL_J0923.5+4125_daily_bin1510.fits outfile=/scratch/kocevski/214312/expmap_630720001_630979201_4FGL_J0923.5+4125_daily_bin1510.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/214312/ltcube_630720001_630979201_4FGL_J0923.5+4125_daily_bin1510.fits
.....................!
real 139.72
user 136.47
sys 2.96

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/214312/ft1_filtered_4FGL_J0923.5+4125_daily_bin1510.fits scfile=/scratch/kocevski/214312/ft2_4FGL_J0923.5+4125_daily_bin1510.fits outfile=/scratch/kocevski/214312/cmap_630720001_630979201_4FGL_J0923.5+4125_daily_bin1510.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.29
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/214312/ft1_filtered_4FGL_J0923.5+4125_daily_bin1510.fits scfile=/scratch/kocevski/214312/ft2_4FGL_J0923.5+4125_daily_bin1510.fits outfile=/scratch/kocevski/214312/cmap_HighResolution_630720001_630979201_4FGL_J0923.5+4125_daily_bin1510.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.50
user 0.30
sys 0.13

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/214312/ft1_filtered_4FGL_J0923.5+4125_daily_bin1510.fits', '/scratch/kocevski/214312/ft2_4FGL_J0923.5+4125_daily_bin1510.fits', expMap='/scratch/kocevski/214312/expmap_630720001_630979201_4FGL_J0923.5+4125_daily_bin1510.fits', expCube='/scratch/kocevski/214312/ltcube_630720001_630979201_4FGL_J0923.5+4125_daily_bin1510.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/214312/Model_4FGL_J0923.5+4125_daily_bin1510.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/214312/ft1_filtered_4FGL_J0923.5+4125_daily_bin1510.fits
Spacecraft file(s): /scratch/kocevski/214312/ft2_4FGL_J0923.5+4125_daily_bin1510.fits
Exposure map: /scratch/kocevski/214312/expmap_630720001_630979201_4FGL_J0923.5+4125_daily_bin1510.fits
Exposure cube: /scratch/kocevski/214312/ltcube_630720001_630979201_4FGL_J0923.5+4125_daily_bin1510.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/214312/Model_4FGL_J0923.5+4125_daily_bin1510.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) = 2796.63192632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    83.148       1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.050       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    14.229       1.0000         .10000E-03   10000.    
     6 'norm      '    6.1783       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.3328       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.9846       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .33331       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .29813E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.0492       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.0115       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .99313E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.2799       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    16.338       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    46.163       1.0000         .10000E-03   10000.    
    31 'norm      '    15.201       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .58463       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.2589       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2796.600     FROM MIGRAD    STATUS=CONVERGED    866 CALLS     4634 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     83.139        134.57        .13348E-05    .14060E-04
   2  Prefactor     16.049        31.079       -.29688E-06    .18397E-04
   3  Prefactor     .10000E-03    67.436       -.20938E-07** at limit **
   4  Prefactor     .10000E-03    15.136       -.31113E-06** at limit **
   5  norm          14.225        24.528        .35500E-06    .38581E-04
   6  norm          6.1811        21.266       -.55198E-06    .59838E-05
   7  Prefactor     6.3320        6.2025       -.65527E-07    .26696E-03
   8  Prefactor     .10000E-03    11.446        .32660E-06** at limit **
   9  Prefactor     .10000E-03    38.163        .56448E-06** at limit **
  10  Prefactor     .10000E-03    4.5390        .77395E-07** at limit **
  11  Prefactor     .10000E-03    41.860       -.12841E-05** at limit **
  12  Prefactor     .10000E-03    4.1518       -.39095E-07** at limit **
  13  norm          4.9845        5.5671       -.19039E-07    .12607E-04
  14  Prefactor     .10000E-03    16.912       -.67415E-06** at limit **
  15  norm          .33312        .75351       -.21147E-06    .13971E-02
  16  Prefactor     .10003E-03    5.9723       -.24172E-05** at limit **
  17  norm          3.0483        7.8493        .35113E-05    .47051E-03
  18  Prefactor     8.0108        4.4754       -.12836E-06    .36437E-03
  19  Prefactor     .10000E-03    4.5729       -.18363E-06** at limit **
  20  Prefactor     .10001E-03    3.7118       -.48137E-06** at limit **
  21  Prefactor     .10000E-03    11.328        .12440E-06** at limit **
  22  norm          .10000E-03    8.9308        .26191E-06** at limit **
  23  Prefactor     .10000E-03    20.633        .18503E-05** at limit **
  24  Prefactor     .10000E-03    3.7725       -.64527E-07** at limit **
  25  Prefactor     5.3127        66.609       -.11604E-04   -.28762E-04
  26  Prefactor     .10000E-03    10.985       -.12717E-06** at limit **
  27  norm          16.338        14.707       -.26212E-07    .48903E-04
  28  Prefactor     .10000E-03    2.2659       -.56089E-07** at limit **
  29  Prefactor     .10000E-03    4.8508       -.97382E-07** at limit **
  30  Prefactor     46.160        34.952        .54275E-06    .38750E-04
  31  norm          15.201        11.506       -.32362E-07    .21956E-04
  32  Normalizat    .58466        .24311       -.29183E-06    .16399E-03
  33  Prefactor     1.2589        .29299        .81039E-06    .15719E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 83.1391
  Prefactor  = 16.0489
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.2249
  norm       = 6.18108
  Prefactor  = 6.332
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.98447
  Prefactor  = 0.0001
  norm       = 0.333116
  Prefactor  = 0.000100028
  norm       = 3.04831
  Prefactor  = 8.01083
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 5.31268
  Prefactor  = 0.0001
  norm       = 16.3381
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 46.1604
  norm       = 15.201
  Normalizat = 0.584656
  Prefactor  = 1.25887
 **********
 **   18 **HESSE 
 **********

 FCN=   2796.600     FROM HESSE     STATUS=OK           689 CALLS     5323 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     83.139        134.52        .44051E-04   -1.3882    
   2  Prefactor     16.049        31.067        .99973E-04   -1.4907    
   3  Prefactor     .10000E-03    67.447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          14.225        24.413        .10618E-03   -1.4953    
   6  norm          6.1811        21.139        .16151E-03   -1.5211    
   7  Prefactor     6.3320        6.1554        .11980E-03   -1.5205    
   8  Prefactor     .10000E-03    11.447        .17476E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    38.164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.5693        .10998E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    41.902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.2104        .10507E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.9845        5.5647        .12757E-03   -1.5261    
  14  Prefactor     .10000E-03    16.931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .33312        .62919        .42281E-04   -1.5593    
  16  Prefactor     .10003E-03    10.995        .17184E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.0483        8.2222        .11617E-02   -1.5359    
  18  Prefactor     8.0108        4.4681        .78229E-04   -1.5142    
  19  Prefactor     .10000E-03    4.5819        .11045E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10001E-03    26.996        .19523E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    11.364        .17381E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    8.9257        .15426E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    20.869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    3.7856        .10028E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     5.3127        67.457        .17492E-03   -1.5247    
  26  Prefactor     .10000E-03    11.209        .17111E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          16.338        14.718        .99087E-04   -1.4899    
  28  Prefactor     .10000E-03    2.2780        .77722E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    4.9419        .11367E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     46.160        35.052        .59012E-04   -1.4348    
  31  norm          15.201        11.500        .10273E-03   -1.4928    
  32  Normalizat    .58466        .28519        .28202E-03   -1.0864    
  33  Prefactor     1.2589        .34833        .24947E-03   -.84538    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.54294e-09
Minuit parameter uncertainties:
  1  135.018
  2  31.0985
  3  2.89648e-05
  4  1.28824e-05
  5  24.4305
  6  21.1642
  7  6.15602
  8  1.02795e-05
  9  2.52181e-05
  10  6.94447e-06
  11  6.67947e-05
  12  4.433e-06
  13  5.56529
  14  9.14512e-06
  15  0.629206
  16  0.00111626
  17  8.22522
  18  4.46829
  19  4.5684e-06
  20  0.000836115
  21  3.57255e-06
  22  9.82709e-05
  23  0.000257814
  24  3.46523e-06
  25  37.914
  26  2.01886e-05
  27  14.7217
  28  2.87434e-06
  29  7.51338e-06
  30  35.0678
  31  11.5017
  32  0.285914
  33  0.348969
Done.

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

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  8.011e+00  4.468e+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

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  1.259e+00  3.490e-01  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:  5.847e-01  2.859e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.40
Ra Dec: 140.895 41.428
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 1.12e-07 +/- 6.22e-08
Energy Flux (Fixed Index): 3.89e-05 +/- 2.17e-05

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) = 2796.06891461
delta logL = 0.530666190666

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2796.05400085
delta logL = 0.545579951308

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.8243       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7323       1.0000          .0000       10.000    
     3 'Normalizat'    .64957       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2174       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=   2796.054     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      206 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.8243        5.2659        .35838E-02   -.21824E-03
   2  Index         1.7323        .46201        .15348        .11043E-04
   3  Normalizat    .64956        .22896        .60786E-01   -.68753E-05
   4  Prefactor     1.2174        .28529        .57356E-01    .26740E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.82428
  Index      = 1.73225
  Normalizat = 0.649565
  Prefactor  = 1.21736
 **********
 **   18 **HESSE 
 **********

 FCN=   2796.054     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.8243        6.2031        .96468E-04   -1.5148    
   2  Index         1.7323        .59164        .61817E-02   -.71226    
   3  Normalizat    .64956        .27289        .26890E-03   -1.0592    
   4  Prefactor     1.2174        .34003        .25362E-03   -.85799    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.45216e-11
Minuit parameter uncertainties:
  1  6.20358
  2  0.594078
  3  0.273459
  4  0.340643
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/214312': 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) = 2796.05400085
delta logL = 0.545579952205

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  7.824e+00  6.204e+00  1.000e-04  1.000e+04 ( 1.000e-12)
326        Index:  1.732e+00  5.941e-01  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:  1.217e+00  3.406e-01  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:  6.496e-01  2.735e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.39
Ra Dec: 140.895 41.428
Photon Index (Free Index): 1.73 +/- 0.59
Photon Flux (Free Index): 5.01e-08 +/- 5.86e-08
Energy Flux (Free Index): 7.39e-05 +/- 8.36e-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/214312/cmap_HighResolution_630720001_630979201_4FGL_J0923.5+4125_daily_bin1510.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.12e-07', energy_flux2='7.39e-05', photon_flux_error='6.22e-08', dlogl='5.46e-01', energy_flux='3.89e-05', photon_flux2='5.01e-08', job_status='DONE', time_completed='2021-08-31 11:14:54.379639', photon_index_error2='0.59', photon_index2='1.73', ts='14.40', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', energy_flux_error2='8.36e-05', EG='0.58', time_epoch_completed='1630433694.38', return_code='0', job_id='214312', GAL2='1.22', EG2='0.65', return_code2='0', energy_flux_error='2.17e-05', photon_flux_error2='5.86e-08', ts2='15.39', photon_index='2.36' WHERE bin_id='1510' AND source_name='4FGL J0923.5+4125' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:14:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 214312: <4FGL_J0923.5+4125_daily_bin1510> in cluster <slac> Done

Job <4FGL_J0923.5+4125_daily_bin1510> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 11:06:01 2021
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:06:02 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:06:02 2021
Terminated at Tue Aug 31 11:14:55 2021
Results reported at Tue Aug 31 11:14:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+4125_daily_bin1510 140.895 41.4283 630720001 630979201 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 :                                   429.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             327.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   532 sec.
    Turnaround time :                            534 sec.

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

