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


Performing analysis on: 4FGL_J0941.9+2724_daily_bin1206
RA = 145.494, Dec = 27.4136
tmin = 551923201, tmax = 552182401
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='439140', job_status='RUN', time_executed='2021-08-31 22:50:55.032836', time_epoch_executed='1630475455.03' WHERE source_name='4FGL J0941.9+2724' and cadence='daily' and bin_id='1206'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/439140

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/439140/ft1_4FGL_J0941.9+2724_daily_bin1206.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/439140/ft2_4FGL_J0941.9+2724_daily_bin1206.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/439140/ft1_4FGL_J0941.9+2724_daily_bin1206.fits outfile=/scratch/kocevski/439140/ft1_filteredMKT_4FGL_J0941.9+2724_daily_bin1206.fits ra=145.494 dec=27.4136 rad=12.0 tmin=551923201.0 tmax=552182401.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.87
user 3.46
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/439140/ft1_filtered_4FGL_J0941.9+2724_daily_bin1206.fits" evtable="EVENTS" scfile=/scratch/kocevski/439140/ft2_4FGL_J0941.9+2724_daily_bin1206.fits sctable="SC_DATA" outfile=/scratch/kocevski/439140/ltcube_551923201_552182401_4FGL_J0941.9+2724_daily_bin1206.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/439140/ft2_4FGL_J0941.9+2724_daily_bin1206.fits
.....................!
real 12.17
user 11.55
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/439140/ft1_filtered_4FGL_J0941.9+2724_daily_bin1206.fits evtable="EVENTS" scfile=/scratch/kocevski/439140/ft2_4FGL_J0941.9+2724_daily_bin1206.fits sctable="SC_DATA" expcube=/scratch/kocevski/439140/ltcube_551923201_552182401_4FGL_J0941.9+2724_daily_bin1206.fits outfile=/scratch/kocevski/439140/expmap_551923201_552182401_4FGL_J0941.9+2724_daily_bin1206.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/439140/ltcube_551923201_552182401_4FGL_J0941.9+2724_daily_bin1206.fits
.....................!
real 191.21
user 186.28
sys 4.37

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/439140/ft1_filtered_4FGL_J0941.9+2724_daily_bin1206.fits scfile=/scratch/kocevski/439140/ft2_4FGL_J0941.9+2724_daily_bin1206.fits outfile=/scratch/kocevski/439140/cmap_551923201_552182401_4FGL_J0941.9+2724_daily_bin1206.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/439140/ft1_filtered_4FGL_J0941.9+2724_daily_bin1206.fits scfile=/scratch/kocevski/439140/ft2_4FGL_J0941.9+2724_daily_bin1206.fits outfile=/scratch/kocevski/439140/cmap_HighResolution_551923201_552182401_4FGL_J0941.9+2724_daily_bin1206.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.56
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/439140/ft1_filtered_4FGL_J0941.9+2724_daily_bin1206.fits', '/scratch/kocevski/439140/ft2_4FGL_J0941.9+2724_daily_bin1206.fits', expMap='/scratch/kocevski/439140/expmap_551923201_552182401_4FGL_J0941.9+2724_daily_bin1206.fits', expCube='/scratch/kocevski/439140/ltcube_551923201_552182401_4FGL_J0941.9+2724_daily_bin1206.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/439140/Model_4FGL_J0941.9+2724_daily_bin1206.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/439140/ft1_filtered_4FGL_J0941.9+2724_daily_bin1206.fits
Spacecraft file(s): /scratch/kocevski/439140/ft2_4FGL_J0941.9+2724_daily_bin1206.fits
Exposure map: /scratch/kocevski/439140/expmap_551923201_552182401_4FGL_J0941.9+2724_daily_bin1206.fits
Exposure cube: /scratch/kocevski/439140/ltcube_551923201_552182401_4FGL_J0941.9+2724_daily_bin1206.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/439140/Model_4FGL_J0941.9+2724_daily_bin1206.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0275       1.0000         .10000E-03   10000.    
     2 'Prefactor '    209.89       1.0000         .10000E-03   10000.    
     3 'norm      '    .25108       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.9002       1.0000         .10000E-03   10000.    
     5 'norm      '    .17727E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.1752       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11305       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.8873       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.3473       1.0000         .10000E-03   10000.    
    10 'Prefactor '    325.76       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .48921       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.4647       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.0098       1.0000         .10000E-03   10000.    
    14 'norm      '    6.3427       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.1622       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.8001       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.7987       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.5719       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    20 'Prefactor '    .62231E-07   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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   56.09465     FROM MIGRAD    STATUS=CONVERGED    147 CALLS      386 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    186.76        .12584E-01** at limit **
   2  Prefactor     216.96        220.18        .69760E-03   -.84556E-02
   3  norm          .10000E-03    96.626        .10208E-01** at limit **
   4  Prefactor     1.9002        1.0396         .0000         .0000    
   5  norm          .10000E-03    .20571       -.42597E-05** at limit **
   6  Prefactor     .10000E-03    .12178       -.52647E-05** at limit **
   7  Prefactor     .10000E-03    .22912        .62245E-05** at limit **
   8  Prefactor     .14046E-01    .53716E-01   -.38432E-02   -.38497E-02
   9  Prefactor     .10041E-03    .76460E-01   -.49993E-03** at limit **
  10  Prefactor     320.94        .99283       -.65492E-03    .19083E-01
  11  Prefactor     .10000E-03    .31509       -.63662E-05** at limit **
  12  Prefactor     1.4647        1.0750         .0000         .0000    
  13  Prefactor     1.0098        1.3253         .0000         .0000    
  14  norm          .10790E-02    .39689E-01    .35687E-02** at limit **
  15  Prefactor     1.1622        1.1510         .0000         .0000    
  16  Prefactor     .10002E-03    .15170        .11147E-03** at limit **
  17  Prefactor     1.7987        1.0451         .0000         .0000    
  18  Prefactor     4.5719        1.0061         .0000         .0000    
  19  Normalizat    .10000E-01    .25769       -.52839E-05** at limit **
  20  Prefactor      .0000        .25504       -.78409E-05** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 216.959
  norm       = 0.0001
  Prefactor  = 1.9002
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0140458
  Prefactor  = 0.000100411
  Prefactor  = 320.942
  Prefactor  = 0.000100001
  Prefactor  = 1.46472
  Prefactor  = 1.00983
  norm       = 0.00107899
  Prefactor  = 1.16222
  Prefactor  = 0.000100025
  Prefactor  = 1.79868
  Prefactor  = 4.57191
  Normalizat = 0.01
  Prefactor  = 0
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   56.09465     FROM HESSE     STATUS=FAILED        15 CALLS      401 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    186.76        .12584E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     216.96        220.18        .69760E-03   -1.2751    
   3  norm          .10000E-03    96.626        .10208E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     570.65        568.61         .0000       -1.5432    
   5  norm          .10000E-03    .20571       -.42597E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    .12178       -.52647E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    .22912        .62245E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .14046E-01    .53716E-01   -.38432E-02   -1.5732    
   9  Prefactor     .10041E-03    .76460E-01   -.49993E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     320.94        .99283       -.65492E-03   -1.2106    
  11  Prefactor     .10000E-03    .31509       -.63662E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.4647        1.0750         .0000       -1.5466    
  13  Prefactor     1.0098        1.3253         .0000       -1.5507    
  14  norm          .10790E-02    .39689E-01    .35687E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.1622        1.1510         .0000       -1.5492    
  16  Prefactor     .10002E-03    .15170        .11147E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.7987        1.0451         .0000       -1.5440    
  18  Prefactor     4.5719        1.0061         .0000       -1.5280    
  19  Normalizat    .10000E-01    .25769       -.52839E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        .25504       -.78409E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.42734e-10
Minuit parameter uncertainties:
  1  0.000100676
  2  221.024
  3  0.000246558
  4  1.03966
  5  4.77507e-06
  6  1.17686e-05
  7  1.29329e-05
  8  0.0537163
  9  0.000354701
  10  0.992827
  11  2.89725e-05
  12  1.075
  13  1.32538
  14  0.0124668
  15  1.15107
  16  0.000122114
  17  1.04507
  18  1.00611
  19  4.16816e-07
  20  1.25314e-08
Done.

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

Extracting fit parameters...

4FGL J0941.9+2724
   Spectrum: PowerLaw
260    Prefactor:  1.405e-02  5.372e-02  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:  0.000e+00  1.253e-08  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.000e-02  4.168e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 145.494 27.414
Photon Flux Upper Limit: 9.58e-06 ph cm-2 s-1
Energy Flux Upper Limit: 7.42e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/439140/likelihoodResults_551923201_552182401_4FGL_J0941.9+2724_daily_bin1206.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) = 56.0946452952
delta logL = -2.77466071452e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 56.0946452939
delta logL = -2.76235212482e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14038E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4329       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .50030E-07   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=   56.09464     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      193 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7236.8        .90931E-02** at limit **
   2  Index         2.4059        6.2001        .50000        .10217E-06
   3  Normalizat    .10000E-01    .19603E-02    .56242E-01** at limit **
   4  Prefactor     .16653E-14    .16423E-02    .51423E-01** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 2.4059
  Normalizat = 0.01
  Prefactor  = 1.66533e-15
 **********
 **   18 **HESSE 
 **********

 FCN=   56.09464     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      222 TOTAL
                     EDM=   .57E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9990.0        .18186E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4059        8.7930        .50000       -.54547    
   3  Normalizat    .10000E-01    .98685E-02    .12395E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .16653E-14    .82594E-02    .11339E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.68851e-08
Minuit parameter uncertainties:
  1  0.0163242
  2  10196.4
  3  1.07932e-08
  4  6.9162e-09
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/439140': 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) = 56.0946404709
delta logL = 4.54683456752e-06

Extracting fit parameters...

4FGL J0941.9+2724
   Spectrum: PowerLaw
260    Prefactor:  1.000e-04  1.632e-02  1.000e-04  1.000e+04 ( 1.000e-13)
261        Index:  2.406e+00  1.020e+04  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.665e-15  6.916e-09  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.000e-02  1.079e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/439140/cmap_HighResolution_551923201_552182401_4FGL_J0941.9+2724_daily_bin1206.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.42e-01', job_status='DONE', photon_flux_upper_limit='9.58e-06', time_completed='2021-08-31 22:56:18.645200', job_id='439140', GAL2='0.00', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630475778.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.00', dlogl='4.55e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1206' AND source_name='4FGL J0941.9+2724' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 22:56:18 PDT 2021


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

Job <4FGL_J0941.9+2724_daily_bin1206> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 31 22:50:25 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 22:50:27 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:50:27 2021
Terminated at Tue Aug 31 22:56:19 2021
Results reported at Tue Aug 31 22:56:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0941.9+2724_daily_bin1206 145.494 27.4136 551923201 552182401 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 :                                   318.16 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             408.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   351 sec.
    Turnaround time :                            354 sec.

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

