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


Performing analysis on: 4FGL_J0941.9+2724_daily_bin49
RA = 145.494, Dec = 27.4136
tmin = 252028801, tmax = 252288001
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='432655', job_status='RUN', time_executed='2021-08-31 22:33:21.977614', time_epoch_executed='1630474401.98' WHERE source_name='4FGL J0941.9+2724' and cadence='daily' and bin_id='49'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/432655

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/432655/ft1_4FGL_J0941.9+2724_daily_bin49.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/432655/ft2_4FGL_J0941.9+2724_daily_bin49.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/432655/ft1_4FGL_J0941.9+2724_daily_bin49.fits outfile=/scratch/kocevski/432655/ft1_filteredMKT_4FGL_J0941.9+2724_daily_bin49.fits ra=145.494 dec=27.4136 rad=12.0 tmin=252028801.0 tmax=252288001.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 1.52
user 1.22
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/432655/ft2_4FGL_J0941.9+2724_daily_bin49.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/432655/ft1_filteredMKT_4FGL_J0941.9+2724_daily_bin49.fits evtable="EVENTS" outfile="/scratch/kocevski/432655/ft1_filtered_4FGL_J0941.9+2724_daily_bin49.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.69
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/432655/ft1_filtered_4FGL_J0941.9+2724_daily_bin49.fits" evtable="EVENTS" scfile=/scratch/kocevski/432655/ft2_4FGL_J0941.9+2724_daily_bin49.fits sctable="SC_DATA" outfile=/scratch/kocevski/432655/ltcube_252028801_252288001_4FGL_J0941.9+2724_daily_bin49.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/432655/ft2_4FGL_J0941.9+2724_daily_bin49.fits
.....................!
real 13.02
user 12.56
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/432655/ft1_filtered_4FGL_J0941.9+2724_daily_bin49.fits evtable="EVENTS" scfile=/scratch/kocevski/432655/ft2_4FGL_J0941.9+2724_daily_bin49.fits sctable="SC_DATA" expcube=/scratch/kocevski/432655/ltcube_252028801_252288001_4FGL_J0941.9+2724_daily_bin49.fits outfile=/scratch/kocevski/432655/expmap_252028801_252288001_4FGL_J0941.9+2724_daily_bin49.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/432655/ltcube_252028801_252288001_4FGL_J0941.9+2724_daily_bin49.fits
.....................!
real 191.79
user 185.68
sys 4.47

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/432655/ft1_filtered_4FGL_J0941.9+2724_daily_bin49.fits scfile=/scratch/kocevski/432655/ft2_4FGL_J0941.9+2724_daily_bin49.fits outfile=/scratch/kocevski/432655/cmap_252028801_252288001_4FGL_J0941.9+2724_daily_bin49.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/432655/ft1_filtered_4FGL_J0941.9+2724_daily_bin49.fits scfile=/scratch/kocevski/432655/ft2_4FGL_J0941.9+2724_daily_bin49.fits outfile=/scratch/kocevski/432655/cmap_HighResolution_252028801_252288001_4FGL_J0941.9+2724_daily_bin49.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/432655/ft1_filtered_4FGL_J0941.9+2724_daily_bin49.fits', '/scratch/kocevski/432655/ft2_4FGL_J0941.9+2724_daily_bin49.fits', expMap='/scratch/kocevski/432655/expmap_252028801_252288001_4FGL_J0941.9+2724_daily_bin49.fits', expCube='/scratch/kocevski/432655/ltcube_252028801_252288001_4FGL_J0941.9+2724_daily_bin49.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/432655/Model_4FGL_J0941.9+2724_daily_bin49.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/432655/ft1_filtered_4FGL_J0941.9+2724_daily_bin49.fits
Spacecraft file(s): /scratch/kocevski/432655/ft2_4FGL_J0941.9+2724_daily_bin49.fits
Exposure map: /scratch/kocevski/432655/expmap_252028801_252288001_4FGL_J0941.9+2724_daily_bin49.fits
Exposure cube: /scratch/kocevski/432655/ltcube_252028801_252288001_4FGL_J0941.9+2724_daily_bin49.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/432655/Model_4FGL_J0941.9+2724_daily_bin49.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) = 8272.10853229

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1921       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .20328E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    150.21       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .20145       1.0000         .10000E-03   10000.    
     5 'norm      '    1.7740       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.2691       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.3029       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.9490       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    48.475       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .56183       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.5152       1.0000         .10000E-03   10000.    
    14 'norm      '    9.3895       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.3473       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    22.870       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .83410       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0494       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=   8272.062     FROM MIGRAD    STATUS=CONVERGED    415 CALLS     1852 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1915        5.5025        .53793E-05   -.64822E-03
   2  Prefactor     .10007E-03    8.5530        .13498E-05** at limit **
   3  norm          150.22        42.202        .34655E-06    .58173E-04
   4  Prefactor     .20150        1.9659        .52695E-06   -.48285E-03
   5  norm          1.7741        1.3461       -.19809E-07   -.21847E-03
   6  Prefactor     9.2345        46.311       -.10872E-04   -.15029E-03
   7  Prefactor     8.3038        3.8105       -.14753E-07   -.33227E-03
   8  Prefactor     6.9470        17.838        .11356E-06   -.20686E-04
   9  Prefactor     .10000E-03    29.017       -.12526E-06** at limit **
  10  Prefactor     48.471        29.405       -.27568E-06   -.56123E-04
  11  Prefactor     .10000E-03    2.3912        .15212E-06** at limit **
  12  Prefactor     .56180        9.3468        .46480E-05   -.21897E-03
  13  Prefactor     3.5152        1.8739        .14073E-07   -.66902E-04
  14  norm          9.3894        5.9422        .12887E-06    .28665E-04
  15  Prefactor     .10000E-03    1.1082       -.12604E-06** at limit **
  16  Prefactor     3.3460        42.064        .45170E-06   -.74884E-05
  17  Prefactor     .10000E-03    1.4376        .18471E-07** at limit **
  18  Prefactor     22.823        37.671       -.94012E-05   -.35354E-03
  19  Normalizat    .83411        .14302       -.66822E-06   -.29283E-03
  20  Prefactor     1.0494        .14855        .11477E-06   -.29942E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.19149
  Prefactor  = 0.000100072
  norm       = 150.22
  Prefactor  = 0.201497
  norm       = 1.77405
  Prefactor  = 9.23454
  Prefactor  = 8.30376
  Prefactor  = 6.94703
  Prefactor  = 0.0001
  Prefactor  = 48.4708
  Prefactor  = 0.0001
  Prefactor  = 0.561803
  Prefactor  = 3.51521
  norm       = 9.38939
  Prefactor  = 0.0001
  Prefactor  = 3.34601
  Prefactor  = 0.0001
  Prefactor  = 22.8226
  Normalizat = 0.834112
  Prefactor  = 1.04938
 **********
 **   18 **HESSE 
 **********

 FCN=   8272.062     FROM HESSE     STATUS=OK           297 CALLS     2149 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1915        5.6561        .11340E-02   -1.5351    
   2  Prefactor     .10007E-03    45.696        .50205E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          150.22        42.266        .16442E-03   -1.3251    
   4  Prefactor     .20150        5.2282        .24334E-02   -1.5618    
   5  norm          1.7741        1.3374        .88296E-04   -1.5442    
   6  Prefactor     9.2345        48.394        .13164E-03   -1.5100    
   7  Prefactor     8.3038        3.7965        .11198E-03   -1.5132    
   8  Prefactor     6.9470        17.813        .15219E-03   -1.5181    
   9  Prefactor     .10000E-03    29.230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     48.471        29.409        .57594E-04   -1.4314    
  11  Prefactor     .10000E-03    2.4189        .13728E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .56180        9.7986        .46083E-03   -1.5558    
  13  Prefactor     3.5152        1.8715        .87146E-04   -1.5333    
  14  norm          9.3894        5.9386        .13079E-03   -1.5095    
  15  Prefactor     .10000E-03    1.8133        .18523E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.3460        42.107        .22121E-03   -1.5342    
  17  Prefactor     .10000E-03    1.4677        .10641E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     22.823        39.296        .83758E-04   -1.4752    
  19  Normalizat    .83411        .16192        .24832E-03   -.98816    
  20  Prefactor     1.0494        .17106        .23706E-03   -.91101    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.53608e-09
Minuit parameter uncertainties:
  1  5.65707
  2  0.00362376
  3  42.2747
  4  2.05246
  5  1.3374
  6  42.3334
  7  3.79659
  8  17.8269
  9  3.30659e-05
  10  29.4181
  11  1.04327e-06
  12  4.69297
  13  1.87152
  14  5.93895
  15  1.30006e-05
  16  23.7598
  17  2.04922e-06
  18  39.3407
  19  0.162014
  20  0.17115
Done.

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

Extracting fit parameters...

4FGL J0941.9+2724
   Spectrum: PowerLaw
260    Prefactor:  6.947e+00  1.783e+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:  1.049e+00  1.712e-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:  8.341e-01  1.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/432655/likelihoodResults_252028801_252288001_4FGL_J0941.9+2724_daily_bin49.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) = 8272.04719276
delta logL = 0.015154245928

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8272.04152979
delta logL = 0.0208172099283

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.2504       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2134       1.0000          .0000       10.000    
     3 'Normalizat'    .83535       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0477       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8272.042     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      244 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.2497        23.231        .13177E-03    .28488E-03
   2  Index         2.2139        1.0255        .15418E-01    .94971E-04
   3  Normalizat    .83530        .15807        .24815E-03   -.10171E-03
   4  Prefactor     1.0477        .16826        .23722E-03    .21269E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.24972
  Index      = 2.21385
  Normalizat = 0.835296
  Prefactor  = 1.04774
 **********
 **   18 **HESSE 
 **********

 FCN=   8272.042     FROM HESSE     STATUS=OK            25 CALLS      269 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.2497        22.366        .52709E-05   -1.5100    
   2  Index         2.2139        .98907        .61670E-03   -.59105    
   3  Normalizat    .83530        .15820        .99261E-05   -.98772    
   4  Prefactor     1.0477        .16835        .47443E-04   -.91155    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.25469e-10
Minuit parameter uncertainties:
  1  22.386
  2  0.998673
  3  0.158283
  4  0.168434
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/432655': 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) = 8272.04152962
delta logL = 0.0208173781593

Extracting fit parameters...

4FGL J0941.9+2724
   Spectrum: PowerLaw
260    Prefactor:  9.250e+00  2.239e+01  1.000e-04  1.000e+04 ( 1.000e-13)
261        Index:  2.214e+00  9.987e-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:  1.048e+00  1.684e-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:  8.353e-01  1.583e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/432655/cmap_HighResolution_252028801_252288001_4FGL_J0941.9+2724_daily_bin49.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.09e-03', job_status='DONE', photon_flux_upper_limit='6.57e-08', time_completed='2021-08-31 22:44:27.360956', job_id='432655', GAL2='1.05', fit_tolerance='1e-08', EG2='0.84', EG='0.83', time_epoch_completed='1630475067.36', return_code2='0', ts='0.18', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='2.08e-02', ts2='0.22', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='49' AND source_name='4FGL J0941.9+2724' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 22:44:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 432655: <4FGL_J0941.9+2724_daily_bin49> in cluster <slac> Done

Job <4FGL_J0941.9+2724_daily_bin49> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Aug 31 22:30:28 2021
Job was executed on host(s) <bullet0125>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 22:30:29 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:29 2021
Terminated at Tue Aug 31 22:44:27 2021
Results reported at Tue Aug 31 22:44:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0941.9+2724_daily_bin49 145.494 27.4136 252028801 252288001 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 :                                   660.39 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             287.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   838 sec.
    Turnaround time :                            839 sec.

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

