/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 104 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 = 7560
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0941.9+2724_daily_bin56
RA = 145.494, Dec = 27.4136
tmin = 253843201, tmax = 254102401
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='432666', job_status='RUN', time_executed='2021-08-31 22:32:24.757501', time_epoch_executed='1630474344.76' WHERE source_name='4FGL J0941.9+2724' and cadence='daily' and bin_id='56'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/432666

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/432666/ft1_4FGL_J0941.9+2724_daily_bin56.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/432666/ft2_4FGL_J0941.9+2724_daily_bin56.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/432666/ft1_4FGL_J0941.9+2724_daily_bin56.fits outfile=/scratch/kocevski/432666/ft1_filteredMKT_4FGL_J0941.9+2724_daily_bin56.fits ra=145.494 dec=27.4136 rad=12.0 tmin=253843201.0 tmax=254102401.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.35
user 1.29
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/432666/ft2_4FGL_J0941.9+2724_daily_bin56.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/432666/ft2_4FGL_J0941.9+2724_daily_bin56.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/432666/ft1_filteredMKT_4FGL_J0941.9+2724_daily_bin56.fits evtable="EVENTS" outfile="/scratch/kocevski/432666/ft1_filtered_4FGL_J0941.9+2724_daily_bin56.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 1.71
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/432666/ft1_filtered_4FGL_J0941.9+2724_daily_bin56.fits" evtable="EVENTS" scfile=/scratch/kocevski/432666/ft2_4FGL_J0941.9+2724_daily_bin56.fits sctable="SC_DATA" outfile=/scratch/kocevski/432666/ltcube_253843201_254102401_4FGL_J0941.9+2724_daily_bin56.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/432666/ft2_4FGL_J0941.9+2724_daily_bin56.fits
.....................!
real 12.88
user 12.19
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/432666/ft1_filtered_4FGL_J0941.9+2724_daily_bin56.fits evtable="EVENTS" scfile=/scratch/kocevski/432666/ft2_4FGL_J0941.9+2724_daily_bin56.fits sctable="SC_DATA" expcube=/scratch/kocevski/432666/ltcube_253843201_254102401_4FGL_J0941.9+2724_daily_bin56.fits outfile=/scratch/kocevski/432666/expmap_253843201_254102401_4FGL_J0941.9+2724_daily_bin56.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/432666/ltcube_253843201_254102401_4FGL_J0941.9+2724_daily_bin56.fits
.....................!
real 190.77
user 185.39
sys 4.49

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

Setting source of interest to:
4FGL J0941.9+2724 @ 145.494 27.4136

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/432666/ft1_filtered_4FGL_J0941.9+2724_daily_bin56.fits scfile=/scratch/kocevski/432666/ft2_4FGL_J0941.9+2724_daily_bin56.fits outfile=/scratch/kocevski/432666/cmap_253843201_254102401_4FGL_J0941.9+2724_daily_bin56.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=145.494 yref=27.4136 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/432666/ft1_filtered_4FGL_J0941.9+2724_daily_bin56.fits scfile=/scratch/kocevski/432666/ft2_4FGL_J0941.9+2724_daily_bin56.fits outfile=/scratch/kocevski/432666/cmap_HighResolution_253843201_254102401_4FGL_J0941.9+2724_daily_bin56.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=145.494 yref=27.4136 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.57
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/432666/ft1_filtered_4FGL_J0941.9+2724_daily_bin56.fits evtable="EVENTS" scfile=/scratch/kocevski/432666/ft2_4FGL_J0941.9+2724_daily_bin56.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/432666/Model_4FGL_J0941.9+2724_daily_bin56.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/432666/ft1_filtered_4FGL_J0941.9+2724_daily_bin56.fits.....................!
real 48.24
user 46.72
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/432666/ft1_filtered_4FGL_J0941.9+2724_daily_bin56.fits', '/scratch/kocevski/432666/ft2_4FGL_J0941.9+2724_daily_bin56.fits', expMap='/scratch/kocevski/432666/expmap_253843201_254102401_4FGL_J0941.9+2724_daily_bin56.fits', expCube='/scratch/kocevski/432666/ltcube_253843201_254102401_4FGL_J0941.9+2724_daily_bin56.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/432666/Model_4FGL_J0941.9+2724_daily_bin56.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0941.9+2724'

4FGL J0941.9+2724
   Spectrum: PowerLaw
260    Prefactor:  6.273e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
261        Index:  2.433e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
262        Scale:  8.503e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/432666/ft1_filtered_4FGL_J0941.9+2724_daily_bin56.fits
Spacecraft file(s): /scratch/kocevski/432666/ft2_4FGL_J0941.9+2724_daily_bin56.fits
Exposure map: /scratch/kocevski/432666/expmap_253843201_254102401_4FGL_J0941.9+2724_daily_bin56.fits
Exposure cube: /scratch/kocevski/432666/ltcube_253843201_254102401_4FGL_J0941.9+2724_daily_bin56.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/432666/Model_4FGL_J0941.9+2724_daily_bin56.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) = 5407.27082876

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    44.793       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.2370       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.1713       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    64.665       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.8715       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.3018       1.0000         .10000E-03   10000.    
    14 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.1363       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.392       1.0000         .10000E-03   10000.    
    18 'Prefactor '    29.208       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0576       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .85078       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5407.213     FROM MIGRAD    STATUS=CONVERGED    413 CALLS     2096 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.2225        .34950E-07** at limit **
   2  Prefactor     .10000E-03    33.132        .18394E-05** at limit **
   3  norm          44.792        33.173       -.20666E-06   -.28776E-04
   4  Prefactor     .10000E-03    1.2531        .10506E-07** at limit **
   5  norm          .10000E-03    .70442        .35810E-07** at limit **
   6  Prefactor     .10000E-03    15.870        .60189E-06** at limit **
   7  Prefactor     9.2388        4.3628        .10532E-06    .11024E-03
   8  Prefactor     2.1462        50.287       -.13758E-04   -.23056E-03
   9  Prefactor     .10000E-03    20.675       -.76593E-06** at limit **
  10  Prefactor     64.661        39.836       -.95734E-06   -.13115E-03
  11  Prefactor     4.8724        4.8959        .90736E-08   -.29601E-04
  12  Prefactor     .10000E-03    2.9303       -.25529E-07** at limit **
  13  Prefactor     5.3024        3.0004        .22534E-07    .64664E-04
  14  norm          .10000E-03    8.0615       -.27469E-07** at limit **
  15  Prefactor     3.1357        3.6171        .23895E-05   -.16406E-02
  16  Prefactor     .10000E-03    21.245       -.32076E-06** at limit **
  17  Prefactor     12.393        6.7585       -.80730E-06   -.49024E-04
  18  Prefactor     29.199        51.650       -.40148E-05   -.14302E-03
  19  Normalizat    1.0576        .18000        .35957E-06   -.58736E-04
  20  Prefactor     .85089        .17967       -.14908E-06   -.21085E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 44.792
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.23878
  Prefactor  = 2.14619
  Prefactor  = 0.0001
  Prefactor  = 64.6613
  Prefactor  = 4.87243
  Prefactor  = 0.0001
  Prefactor  = 5.3024
  norm       = 0.0001
  Prefactor  = 3.1357
  Prefactor  = 0.0001
  Prefactor  = 12.3926
  Prefactor  = 29.1988
  Normalizat = 1.05757
  Prefactor  = 0.850895
 **********
 **   18 **HESSE 
 **********

 FCN=   5407.213     FROM HESSE     STATUS=OK           287 CALLS     2383 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.2388        .17914E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    34.077        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          44.792        33.192        .59904E-04   -1.4368    
   4  Prefactor     .10000E-03    1.2658        .80377E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .71344        .60240E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.2388        4.3751        .99938E-04   -1.5100    
   8  Prefactor     2.1462        59.267        .27946E-03   -1.5415    
   9  Prefactor     .10000E-03    20.712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     64.661        40.024        .49905E-04   -1.4098    
  11  Prefactor     4.8724        4.8911        .15680E-03   -1.5266    
  12  Prefactor     .10000E-03    2.9364        .12293E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.3024        3.0045        .90749E-04   -1.5247    
  14  norm          .10000E-03    8.2025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.1357        3.9601        .73727E-03   -1.5354    
  16  Prefactor     .10000E-03    21.262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.393        6.8302        .11379E-03   -1.5004    
  18  Prefactor     29.199        52.269        .74132E-04   -1.4627    
  19  Normalizat    1.0576        .20868        .22706E-03   -.91126    
  20  Prefactor     .85089        .20686        .25946E-03   -.97879    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.8755e-09
Minuit parameter uncertainties:
  1  7.4917e-07
  2  0.000251372
  3  33.2057
  4  1.07572e-06
  5  3.62197e-08
  6  8.68781e-05
  7  4.37522
  8  22.5806
  9  0.000121198
  10  40.0404
  11  4.89154
  12  2.90035e-06
  13  3.00454
  14  1.15636e-05
  15  3.96044
  16  5.90751e-05
  17  6.83064
  18  52.3515
  19  0.208839
  20  0.207048
Done.

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

Extracting fit parameters...

4FGL J0941.9+2724
   Spectrum: PowerLaw
260    Prefactor:  2.146e+00  2.258e+01  1.000e-04  1.000e+04 ( 1.000e-13)
261        Index:  2.433e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
262        Scale:  8.503e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.509e-01  2.070e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.058e+00  2.088e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 145.494 27.414
Photon Flux Upper Limit: 8.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/432666/likelihoodResults_253843201_254102401_4FGL_J0941.9+2724_daily_bin56.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): 102
logL (Free Index) = 5407.14035116
delta logL = 0.0724671252074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5406.95479547
delta logL = 0.25802281701

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .57417E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    5.8785       1.0000          .0000       10.000    
     3 'Normalizat'    1.0130       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88270       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5406.955     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      261 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55824E-01    1.3079        .54635E-02    .46620E-02
   2  Index         5.8929        3.2423        .14400        .12846E-03
   3  Normalizat    1.0128        .30144E-01    .44686E-01    .14710E-04
   4  Prefactor     .88281        .31416E-01    .44784E-01    .13626E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0558243
  Index      = 5.89294
  Normalizat = 1.01279
  Prefactor  = 0.882814
 **********
 **   18 **HESSE 
 **********

 FCN=   5406.955     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      296 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55824E-01    5.7391        .24787E-03   -1.5661    
   2  Index         5.8929        7.8391        .77983E-02    .17955    
   3  Normalizat    1.0128        .13160        .23136E-03   -.92603    
   4  Prefactor     .88281        .13410        .25528E-03   -.96744    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.51297e-11
Minuit parameter uncertainties:
  1  1.13114
  2  10.0583
  3  0.131646
  4  0.134146
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/432666': 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): 102
logL (Free Index) = 5406.95478815
delta logL = 0.258030133889

Extracting fit parameters...

4FGL J0941.9+2724
   Spectrum: PowerLaw
260    Prefactor:  5.582e-02  1.131e+00  1.000e-04  1.000e+04 ( 1.000e-13)
261        Index:  5.893e+00  1.006e+01  0.000e+00  1.000e+01 (-1.000e+00)
262        Scale:  8.503e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.828e-01  1.341e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.013e+00  1.316e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 145.494 27.414

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/432666/cmap_HighResolution_253843201_254102401_4FGL_J0941.9+2724_daily_bin56.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.42e-03', job_status='DONE', photon_flux_upper_limit='8.29e-08', time_completed='2021-08-31 22:41:48.394449', job_id='432666', GAL2='0.88', fit_tolerance='1e-08', EG2='1.01', EG='1.06', time_epoch_completed='1630474908.39', return_code2='102', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='2.58e-01', ts2='0.59', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='56' AND source_name='4FGL J0941.9+2724' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 22:41:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 432666: <4FGL_J0941.9+2724_daily_bin56> in cluster <slac> Done

Job <4FGL_J0941.9+2724_daily_bin56> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Aug 31 22:30:29 2021
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 22:30:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 22:30:30 2021
Terminated at Tue Aug 31 22:41:49 2021
Results reported at Tue Aug 31 22:41:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0941.9+2724_daily_bin56 145.494 27.4136 253843201 254102401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0941.9+2724 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   558.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   678 sec.
    Turnaround time :                            680 sec.

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

