/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 95 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 = 7537
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0941.9+2724_daily_bin1645
RA = 145.494, Dec = 27.4136
tmin = 665712001, tmax = 665971201
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='620440', job_status='RUN', time_executed='2022-02-08 00:10:42.694075', time_epoch_executed='1644307842.69' WHERE source_name='4FGL J0941.9+2724' and cadence='daily' and bin_id='1645'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/620440

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/620440/ft1_4FGL_J0941.9+2724_daily_bin1645.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/620440/ft2_4FGL_J0941.9+2724_daily_bin1645.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/620440/ft1_4FGL_J0941.9+2724_daily_bin1645.fits outfile=/scratch/kocevski/620440/ft1_filteredMKT_4FGL_J0941.9+2724_daily_bin1645.fits ra=145.494 dec=27.4136 rad=12.0 tmin=665712001.0 tmax=665971201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.67
user 3.37
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/620440/ft1_filtered_4FGL_J0941.9+2724_daily_bin1645.fits evtable="EVENTS" scfile=/scratch/kocevski/620440/ft2_4FGL_J0941.9+2724_daily_bin1645.fits sctable="SC_DATA" expcube=/scratch/kocevski/620440/ltcube_665712001_665971201_4FGL_J0941.9+2724_daily_bin1645.fits outfile=/scratch/kocevski/620440/expmap_665712001_665971201_4FGL_J0941.9+2724_daily_bin1645.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/620440/ltcube_665712001_665971201_4FGL_J0941.9+2724_daily_bin1645.fits
.....................!
real 193.41
user 187.64
sys 5.19

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/620440/ft1_filtered_4FGL_J0941.9+2724_daily_bin1645.fits scfile=/scratch/kocevski/620440/ft2_4FGL_J0941.9+2724_daily_bin1645.fits outfile=/scratch/kocevski/620440/cmap_665712001_665971201_4FGL_J0941.9+2724_daily_bin1645.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.55
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/620440/ft1_filtered_4FGL_J0941.9+2724_daily_bin1645.fits scfile=/scratch/kocevski/620440/ft2_4FGL_J0941.9+2724_daily_bin1645.fits outfile=/scratch/kocevski/620440/cmap_HighResolution_665712001_665971201_4FGL_J0941.9+2724_daily_bin1645.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.70
user 0.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.2663       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.5513       1.0000         .10000E-03   10000.    
     3 'norm      '    18.109       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.2260       1.0000         .10000E-03   10000.    
     5 'norm      '    3.7083       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.585       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.0125       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.8086       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.5286       1.0000         .10000E-03   10000.    
    14 'norm      '    12.973       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.4632       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.8723       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2907       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .58070       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=   5469.305     FROM MIGRAD    STATUS=CONVERGED    428 CALLS     1784 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.2656        10.522        .24218E-05    .18266E-04
   2  Prefactor     8.5279        20.079        .91477E-05    .97059E-06
   3  norm          18.027        35.366       -.54949E-04   -.56207E-05
   4  Prefactor     2.2260        2.2113       -.22139E-06    .47069E-04
   5  norm          3.7083        1.9295       -.24297E-06    .20439E-04
   6  Prefactor     .10000E-03    15.255        .68564E-05** at limit **
   7  Prefactor     .10000E-03    2.7140        .54966E-07** at limit **
   8  Prefactor     16.585        27.999       -.17873E-04    .10923E-04
   9  Prefactor     .10000E-03    21.856        .79706E-06** at limit **
  10  Prefactor     .73937        21.588       -.71758E-06   -.22846E-03
  11  Prefactor     4.8080        6.3203       -.36271E-05   -.17556E-03
  12  Prefactor     .10000E-03    2.3003        .23743E-06** at limit **
  13  Prefactor     6.5286        3.1412       -.34845E-06   -.32338E-02
  14  norm          12.972        8.2434       -.65312E-06    .29339E-04
  15  Prefactor     1.4622        4.1711       -.23136E-05   -.96534E-03
  16  Prefactor     .10000E-03    13.758       -.27425E-05** at limit **
  17  Prefactor     5.8735        5.0227        .65665E-06    .93380E-04
  18  Prefactor     .10000E-03    18.220       -.41703E-05** at limit **
  19  Normalizat    1.2905        .18134        .20611E-05    .15736E-03
  20  Prefactor     .58111        .17213        .49612E-05    .81510E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.26561
  Prefactor  = 8.5279
  norm       = 18.0275
  Prefactor  = 2.22603
  norm       = 3.70833
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.5854
  Prefactor  = 0.0001
  Prefactor  = 0.739372
  Prefactor  = 4.80799
  Prefactor  = 0.0001
  Prefactor  = 6.52858
  norm       = 12.9718
  Prefactor  = 1.46222
  Prefactor  = 0.0001
  Prefactor  = 5.87354
  Prefactor  = 0.0001
  Normalizat = 1.29048
  Prefactor  = 0.581112
 **********
 **   18 **HESSE 
 **********

 FCN=   5469.305     FROM HESSE     STATUS=OK           299 CALLS     2083 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.2656        10.514        .13166E-03   -1.5099    
   2  Prefactor     8.5279        20.091        .13708E-03   -1.5124    
   3  norm          18.027        35.355        .94117E-04   -1.4859    
   4  Prefactor     2.2260        2.2164        .10661E-03   -1.5410    
   5  norm          3.7083        1.9288        .71556E-04   -1.5323    
   6  Prefactor     .10000E-03    15.274        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.7605        .11879E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.585        28.054        .98346E-04   -1.4893    
   9  Prefactor     .10000E-03    21.868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .73937        415.74        .65119E-02   -1.5536    
  11  Prefactor     4.8080        6.3138        .18346E-03   -1.5269    
  12  Prefactor     .10000E-03    2.3017        .10954E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.5286        3.1595        .43026E-03   -1.5197    
  14  norm          12.972        8.2430        .11121E-03   -1.4987    
  15  Prefactor     1.4622        4.0882        .21590E-03   -1.5466    
  16  Prefactor     .10000E-03    13.761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.8735        4.9167        .13210E-03   -1.5223    
  18  Prefactor     .10000E-03    18.224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2905        .20674        .20637E-03   -.83851    
  20  Prefactor     .58111        .19513        .29421E-03   -1.0839    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17385e-08
Minuit parameter uncertainties:
  1  10.5162
  2  20.1064
  3  35.3964
  4  2.21648
  5  1.9288
  6  9.44553e-05
  7  7.26039e-08
  8  28.0768
  9  9.67297e-06
  10  35.3113
  11  6.31469
  12  6.28549e-07
  13  3.15955
  14  8.2437
  15  4.08894
  16  8.53828e-06
  17  4.91709
  18  1.50428e-05
  19  0.206874
  20  0.195357
Done.

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

Extracting fit parameters...

4FGL J0941.9+2724
   Spectrum: PowerLaw
260    Prefactor:  1.659e+01  2.808e+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:  5.811e-01  1.954e-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.290e+00  2.069e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.43
Ra Dec: 145.494 27.414
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/620440/likelihoodResults_665712001_665971201_4FGL_J0941.9+2724_daily_bin1645.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) = 5468.77365092
delta logL = 0.531080598941

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5468.7715712
delta logL = 0.533160312406

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .62009       1.0000         .10000E-03   10000.    
     2 'Index     '    5.0361       1.0000          .0000       10.000    
     3 'Normalizat'    1.2183       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63493       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=   5468.772     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      317 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .61199        8.2742        .10694E-01    .14533E-02
   2  Index         5.0440        2.9903        .10976        .18329E-03
   3  Normalizat    1.2181        .40291E-01    .34456E-01   -.10992E-04
   4  Prefactor     .63507        .40258E-01    .63872E-01    .36325E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.611989
  Index      = 5.04404
  Normalizat = 1.21813
  Prefactor  = 0.635069
 **********
 **   18 **HESSE 
 **********

 FCN=   5468.772     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      350 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .61199        21.870        .48422E-04   -1.5552    
   2  Index         5.0440        7.4074        .53946E-02    .88083E-02
   3  Normalizat    1.2181        .16759        .21136E-03   -.86044    
   4  Prefactor     .63507        .16327        .28260E-03   -1.0613    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.24576e-09
Minuit parameter uncertainties:
  1  7.31923
  2  6.37771
  3  0.167662
  4  0.163389
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/620440': 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) = 5468.77156791
delta logL = 0.533163610624

Extracting fit parameters...

4FGL J0941.9+2724
   Spectrum: PowerLaw
260    Prefactor:  6.120e-01  7.319e+00  1.000e-04  1.000e+04 ( 1.000e-13)
261        Index:  5.044e+00  6.378e+00  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:  6.351e-01  1.634e-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.218e+00  1.677e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.63
Ra Dec: 145.494 27.414
Photon Index (Free Index): 5.04 +/- 6.38
Photon Flux (Free Index): 7.44e-08 +/- 6.41e-08
Energy Flux (Free Index): 9.86e-06 +/- 9.16e-06

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/620440/cmap_HighResolution_665712001_665971201_4FGL_J0941.9+2724_daily_bin1645.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.93e-03', comment='SUCCESS', energy_flux2='9.86e-06', dlogl='5.33e-01', photon_flux2='7.44e-08', job_status='DONE', time_completed='2022-02-08 00:19:58.098643', photon_index_error2='6.38', photon_index2='5.04', ts='0.43', fit_tolerance='1e-08', GAL='0.58', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='9.16e-06', EG='1.29', time_epoch_completed='1644308398.1', return_code='0', job_id='620440', GAL2='0.64', EG2='1.22', return_code2='102', photon_flux_error2='6.41e-08', ts2='1.63', photon_index='2.43' WHERE bin_id='1645' AND source_name='4FGL J0941.9+2724' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb  8 00:19:58 PST 2022



------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 620515: <4FGL_J0941.9+2724_daily_bin1645> in cluster <slac> Done

Job <4FGL_J0941.9+2724_daily_bin1645> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Feb  8 00:07:22 2022
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb  8 00:07:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb  8 00:07:38 2022
Terminated at Tue Feb  8 00:18:40 2022
Results reported at Tue Feb  8 00:18:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0941.9+2724_daily_bin1645 145.494 27.4136 665712001 665971201 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 :                                   555.14 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             317.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   661 sec.
    Turnaround time :                            678 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0188>
Subject: Job 620440: <4FGL_J0941.9+2724_daily_bin1645> in cluster <slac> Done

Job <4FGL_J0941.9+2724_daily_bin1645> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb  8 00:07:18 2022
Job was executed on host(s) <bullet0188>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb  8 00:07:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb  8 00:07:30 2022
Terminated at Tue Feb  8 00:19:58 2022
Results reported at Tue Feb  8 00:19:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0941.9+2724_daily_bin1645 145.494 27.4136 665712001 665971201 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 :                                   556.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   748 sec.
    Turnaround time :                            760 sec.

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

