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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin73
RA = 137.674, Dec = 22.7978
tmin = 258249601, tmax = 258508801
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='38798', job_status='RUN', time_executed='2021-08-31 02:15:53.841268', time_epoch_executed='1630401353.84' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='73'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/38798

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

Retrieving the FT1 file...

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

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

Retrieving 33 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/38798/ft1_4FGL_J0910.6+2247_daily_bin73.fits


Retrieving the FT1 file...

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

Retrieving 33 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/38798/ft2_4FGL_J0910.6+2247_daily_bin73.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/38798/ft1_4FGL_J0910.6+2247_daily_bin73.fits outfile=/scratch/kocevski/38798/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin73.fits ra=137.674 dec=22.7978 rad=12.0 tmin=258249601.0 tmax=258508801.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 6.70
user 0.98
sys 5.63

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/38798/ft2_4FGL_J0910.6+2247_daily_bin73.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/38798/ft2_4FGL_J0910.6+2247_daily_bin73.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/38798/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin73.fits evtable="EVENTS" outfile="/scratch/kocevski/38798/ft1_filtered_4FGL_J0910.6+2247_daily_bin73.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 6.06
user 0.31
sys 5.71

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/38798/ft1_filtered_4FGL_J0910.6+2247_daily_bin73.fits" evtable="EVENTS" scfile=/scratch/kocevski/38798/ft2_4FGL_J0910.6+2247_daily_bin73.fits sctable="SC_DATA" outfile=/scratch/kocevski/38798/ltcube_258249601_258508801_4FGL_J0910.6+2247_daily_bin73.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/38798/ft2_4FGL_J0910.6+2247_daily_bin73.fits
.....................!
real 15.70
user 8.95
sys 6.65

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/38798/ft1_filtered_4FGL_J0910.6+2247_daily_bin73.fits evtable="EVENTS" scfile=/scratch/kocevski/38798/ft2_4FGL_J0910.6+2247_daily_bin73.fits sctable="SC_DATA" expcube=/scratch/kocevski/38798/ltcube_258249601_258508801_4FGL_J0910.6+2247_daily_bin73.fits outfile=/scratch/kocevski/38798/expmap_258249601_258508801_4FGL_J0910.6+2247_daily_bin73.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/38798/ltcube_258249601_258508801_4FGL_J0910.6+2247_daily_bin73.fits
.....................!
real 207.06
user 184.99
sys 12.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 164 point sources and 0 extended sources

Setting source of interest to:
4FGL J0910.6+2247 @ 137.674 22.7978

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/38798/ft1_filtered_4FGL_J0910.6+2247_daily_bin73.fits scfile=/scratch/kocevski/38798/ft2_4FGL_J0910.6+2247_daily_bin73.fits outfile=/scratch/kocevski/38798/cmap_258249601_258508801_4FGL_J0910.6+2247_daily_bin73.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=137.674 yref=22.7978 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 6.10
user 0.38
sys 5.49

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/38798/ft1_filtered_4FGL_J0910.6+2247_daily_bin73.fits scfile=/scratch/kocevski/38798/ft2_4FGL_J0910.6+2247_daily_bin73.fits outfile=/scratch/kocevski/38798/cmap_HighResolution_258249601_258508801_4FGL_J0910.6+2247_daily_bin73.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=137.674 yref=22.7978 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 6.49
user 0.37
sys 5.56

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/38798/ft1_filtered_4FGL_J0910.6+2247_daily_bin73.fits evtable="EVENTS" scfile=/scratch/kocevski/38798/ft2_4FGL_J0910.6+2247_daily_bin73.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/38798/Model_4FGL_J0910.6+2247_daily_bin73.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/38798/ft1_filtered_4FGL_J0910.6+2247_daily_bin73.fits.....................!
real 51.90
user 43.34
sys 8.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/38798/ft1_filtered_4FGL_J0910.6+2247_daily_bin73.fits', '/scratch/kocevski/38798/ft2_4FGL_J0910.6+2247_daily_bin73.fits', expMap='/scratch/kocevski/38798/expmap_258249601_258508801_4FGL_J0910.6+2247_daily_bin73.fits', expCube='/scratch/kocevski/38798/ltcube_258249601_258508801_4FGL_J0910.6+2247_daily_bin73.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/38798/Model_4FGL_J0910.6+2247_daily_bin73.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0910.6+2247'

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  9.863e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  2.194e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  1.674e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  9.153e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/38798/ft1_filtered_4FGL_J0910.6+2247_daily_bin73.fits
Spacecraft file(s): /scratch/kocevski/38798/ft2_4FGL_J0910.6+2247_daily_bin73.fits
Exposure map: /scratch/kocevski/38798/expmap_258249601_258508801_4FGL_J0910.6+2247_daily_bin73.fits
Exposure cube: /scratch/kocevski/38798/ltcube_258249601_258508801_4FGL_J0910.6+2247_daily_bin73.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/38798/Model_4FGL_J0910.6+2247_daily_bin73.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) = 4205.2703109

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10484E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .41658       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.2623       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    137.80       1.0000         .10000E-03   10000.    
     6 'norm      '    .37515       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.124       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .67267       1.0000         .10000E-03   10000.    
     9 'norm      '    5.8021       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.7592       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .18115E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .60827       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .13827E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .57897E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .86781       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0168       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4205.261     FROM MIGRAD    STATUS=CONVERGED    430 CALLS     2095 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    68.921       -.14746E-05** at limit **
   2  norm          .41425        1.2217        .20789E-06    .14424E-04
   3  Prefactor     6.2691        9.2365       -.15383E-06   -.14458E-03
   4  Prefactor     .10000E-03    3.1288       -.21153E-07** at limit **
   5  Prefactor     137.81        61.037        .36884E-06    .72372E-04
   6  norm          .37523        .70313        .13404E-05   -.33684E-03
   7  Prefactor     13.127        14.803       -.10141E-05   -.45644E-04
   8  Prefactor     .69767        15.166        .18975E-05   -.25657E-03
   9  norm          5.8048        11.040        .30786E-06   -.16825E-04
  10  norm          .10000E-03    34.688        .15209E-06** at limit **
  11  Prefactor     .10000E-03    1.8373        .20810E-07** at limit **
  12  norm          2.7594        1.9098       -.56924E-07   -.20549E-03
  13  Prefactor     .10004E-03    123.52        .53117E-05** at limit **
  14  Prefactor     .60790        3.6301        .16878E-05   -.92066E-04
  15  Prefactor     .10000E-03    7.8286       -.15875E-08** at limit **
  16  Prefactor     .10005E-03    185.19       -.46173E-05** at limit **
  17  Prefactor     .10000E-03    17.849        .30916E-07** at limit **
  18  Prefactor     .10000E-03    4.0380       -.25624E-08** at limit **
  19  Normalizat    .86781        .20373       -.18749E-05   -.16459E-03
  20  Prefactor     1.0167        .18663        .16745E-06   -.21935E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 0.414252
  Prefactor  = 6.2691
  Prefactor  = 0.0001
  Prefactor  = 137.806
  norm       = 0.375227
  Prefactor  = 13.1267
  Prefactor  = 0.697674
  norm       = 5.80483
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.75944
  Prefactor  = 0.000100037
  Prefactor  = 0.607896
  Prefactor  = 0.0001
  Prefactor  = 0.000100049
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Normalizat = 0.867808
  Prefactor  = 1.01671
 **********
 **   18 **HESSE 
 **********

 FCN=   4205.261     FROM HESSE     STATUS=OK           293 CALLS     2388 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    70.588        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .41425        1.1957        .11093E-03   -1.5579    
   3  Prefactor     6.2691        9.0871        .16041E-03   -1.5207    
   4  Prefactor     .10000E-03    3.1589        .11201E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     137.81        61.034        .17156E-03   -1.3355    
   6  norm          .37523        .70388        .21500E-03   -1.5585    
   7  Prefactor     13.127        14.793        .11057E-03   -1.4983    
   8  Prefactor     .69767        64.210        .45926E-02   -1.5541    
   9  norm          5.8048        11.108        .16673E-03   -1.5226    
  10  norm          .10000E-03    34.858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.8527        .85835E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.7594        1.9094        .72127E-04   -1.5376    
  13  Prefactor     .10004E-03    125.88        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .60790        3.6651        .23291E-03   -1.5552    
  15  Prefactor     .10000E-03    7.8335        .17722E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10005E-03    185.98        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    17.862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    26.168        .25241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .86781        .23815        .24253E-03   -.97601    
  20  Prefactor     1.0167        .22172        .21444E-03   -.92175    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89776e-09
Minuit parameter uncertainties:
  1  0.000631987
  2  1.19575
  3  9.08906
  4  1.34182e-06
  5  61.0615
  6  0.7039
  7  14.7971
  8  13.4001
  9  11.1122
  10  4.67668e-05
  11  1.38359e-06
  12  1.90948
  13  0.0043183
  14  2.98534
  15  7.14781e-07
  16  0.00604894
  17  9.23891e-06
  18  0.000539909
  19  0.23844
  20  0.221919
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.000e-04  4.677e-05  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  2.194e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  1.674e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  9.153e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.017e+00  2.219e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.678e-01  2.384e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 137.674 22.798
Photon Flux Upper Limit: 5.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.62e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/38798/likelihoodResults_258249601_258508801_4FGL_J0910.6+2247_daily_bin73.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) = 4205.26082121
delta logL = -0.000136621212732

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4205.26068469
delta logL = -9.61845216807e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1733       1.0000          .0000       5.0000    
     3 'Normalizat'    .86783       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0167       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4205.261     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      187 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    42.425        .90712E-02** at limit **
   2  alpha         2.2194        3.5239        .41604       -.71241E-05
   3  Normalizat    .86780        .19045        .44489E-01   -.20806E-03
   4  Prefactor     1.0167        .18188        .42483E-01    .89377E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.21941
  Normalizat = 0.867803
  Prefactor  = 1.01671
 **********
 **   18 **HESSE 
 **********

 FCN=   4205.261     FROM HESSE     STATUS=OK            27 CALLS      214 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    36.283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2194        3.4814        .16642       -.11247    
   3  Normalizat    .86780        .22402        .24253E-03   -.97601    
   4  Prefactor     1.0167        .21401        .21444E-03   -.92174    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.8186e-10
Minuit parameter uncertainties:
  1  0.000198492
  2  2.48726
  3  0.22426
  4  0.214187
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/38798': 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) = 4205.26068452
delta logL = 7.27504811948e-08

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.000e-04  1.985e-04  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  2.219e+00  2.487e+00  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  1.674e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  9.153e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.017e+00  2.142e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.678e-01  2.243e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 137.674 22.798

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/38798/cmap_HighResolution_258249601_258508801_4FGL_J0910.6+2247_daily_bin73.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-05', job_status='DONE', photon_flux_upper_limit='5.96e-08', time_completed='2021-08-31 02:25:08.107152', job_id='38798', GAL2='1.02', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1630401908.11', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='7.28e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='73' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:25:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 38798: <4FGL_J0910.6+2247_daily_bin73> in cluster <slac> Done

Job <4FGL_J0910.6+2247_daily_bin73> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 02:11:32 2021
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:11:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 02:11:33 2021
Terminated at Tue Aug 31 02:25:09 2021
Results reported at Tue Aug 31 02:25:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin73 137.674 22.7978 258249601 258508801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0910.6+2247 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   630.33 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             235.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   816 sec.
    Turnaround time :                            817 sec.

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

