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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin94
RA = 137.674, Dec = 22.7978
tmin = 263692801, tmax = 263952001
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='38832', job_status='RUN', time_executed='2021-08-31 02:15:49.548075', time_epoch_executed='1630401349.55' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='94'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/38832

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/38832/ft1_4FGL_J0910.6+2247_daily_bin94.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/38832/ft2_4FGL_J0910.6+2247_daily_bin94.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/38832/ft1_4FGL_J0910.6+2247_daily_bin94.fits outfile=/scratch/kocevski/38832/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin94.fits ra=137.674 dec=22.7978 rad=12.0 tmin=263692801.0 tmax=263952001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.76
user 1.47
sys 1.13

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/38832/ft2_4FGL_J0910.6+2247_daily_bin94.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/38832/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin94.fits evtable="EVENTS" outfile="/scratch/kocevski/38832/ft1_filtered_4FGL_J0910.6+2247_daily_bin94.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.80
user 0.32
sys 1.12

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/38832/ft1_filtered_4FGL_J0910.6+2247_daily_bin94.fits" evtable="EVENTS" scfile=/scratch/kocevski/38832/ft2_4FGL_J0910.6+2247_daily_bin94.fits sctable="SC_DATA" outfile=/scratch/kocevski/38832/ltcube_263692801_263952001_4FGL_J0910.6+2247_daily_bin94.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/38832/ft2_4FGL_J0910.6+2247_daily_bin94.fits
.....................!
real 13.50
user 11.87
sys 1.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/38832/ft1_filtered_4FGL_J0910.6+2247_daily_bin94.fits evtable="EVENTS" scfile=/scratch/kocevski/38832/ft2_4FGL_J0910.6+2247_daily_bin94.fits sctable="SC_DATA" expcube=/scratch/kocevski/38832/ltcube_263692801_263952001_4FGL_J0910.6+2247_daily_bin94.fits outfile=/scratch/kocevski/38832/expmap_263692801_263952001_4FGL_J0910.6+2247_daily_bin94.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/38832/ltcube_263692801_263952001_4FGL_J0910.6+2247_daily_bin94.fits
.....................!
real 195.82
user 187.21
sys 6.05

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/38832/ft1_filtered_4FGL_J0910.6+2247_daily_bin94.fits scfile=/scratch/kocevski/38832/ft2_4FGL_J0910.6+2247_daily_bin94.fits outfile=/scratch/kocevski/38832/cmap_263692801_263952001_4FGL_J0910.6+2247_daily_bin94.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 1.98
user 0.37
sys 1.10

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/38832/ft1_filtered_4FGL_J0910.6+2247_daily_bin94.fits scfile=/scratch/kocevski/38832/ft2_4FGL_J0910.6+2247_daily_bin94.fits outfile=/scratch/kocevski/38832/cmap_HighResolution_263692801_263952001_4FGL_J0910.6+2247_daily_bin94.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 2.09
user 0.36
sys 1.11

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/38832/ft1_filtered_4FGL_J0910.6+2247_daily_bin94.fits', '/scratch/kocevski/38832/ft2_4FGL_J0910.6+2247_daily_bin94.fits', expMap='/scratch/kocevski/38832/expmap_263692801_263952001_4FGL_J0910.6+2247_daily_bin94.fits', expCube='/scratch/kocevski/38832/ltcube_263692801_263952001_4FGL_J0910.6+2247_daily_bin94.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/38832/Model_4FGL_J0910.6+2247_daily_bin94.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/38832/ft1_filtered_4FGL_J0910.6+2247_daily_bin94.fits
Spacecraft file(s): /scratch/kocevski/38832/ft2_4FGL_J0910.6+2247_daily_bin94.fits
Exposure map: /scratch/kocevski/38832/expmap_263692801_263952001_4FGL_J0910.6+2247_daily_bin94.fits
Exposure cube: /scratch/kocevski/38832/ltcube_263692801_263952001_4FGL_J0910.6+2247_daily_bin94.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/38832/Model_4FGL_J0910.6+2247_daily_bin94.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) = 5275.54825763

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .74507       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.386       1.0000         .10000E-03   10000.    
     6 'norm      '    .21481E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.177       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.9377       1.0000         .10000E-03   10000.    
     9 'norm      '    7.9441       1.0000         .10000E-03   10000.    
    10 'norm      '    .10159E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.9522       1.0000         .10000E-03   10000.    
    12 'norm      '    3.9264       1.0000         .10000E-03   10000.    
    13 'Prefactor '    32.399       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.5084       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.6669       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2892       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .79473       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=   5275.546     FROM MIGRAD    STATUS=CONVERGED    424 CALLS     2066 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.261       -.57077E-06** at limit **
   2  norm          .74495        1.0787        .18425E-06    .57601E-03
   3  Prefactor     .10000E-03    5.4451       -.73720E-07** at limit **
   4  Prefactor     .10000E-03    3.9298       -.38186E-07** at limit **
   5  Prefactor     12.394        50.270        .25121E-07    .33128E-04
   6  norm          .24094E-02    .38763        .20676E-06** at limit **
   7  Prefactor     17.158        14.117        .38648E-06    .45967E-04
   8  Prefactor     1.9402        33.899        .13422E-04    .19140E-04
   9  norm          7.9441        6.9087        .10950E-06    .12122E-04
  10  norm          .10000E-03    39.034        .20253E-06** at limit **
  11  Prefactor     2.9524        2.8777       -.74894E-08   -.32465E-05
  12  norm          3.9265        2.0007       -.57383E-07   -.13781E-04
  13  Prefactor     32.405        56.273       -.49225E-06    .32311E-04
  14  Prefactor     2.5086        2.9365       -.19947E-07    .15326E-04
  15  Prefactor     3.6699        26.442        .42156E-06    .10828E-04
  16  Prefactor     .10000E-03    21.618       -.67476E-06** at limit **
  17  Prefactor     .10000E-03    15.240        .86305E-06** at limit **
  18  Prefactor     .10000E-03    2.0935       -.85389E-08** at limit **
  19  Normalizat    1.2890        .18976       -.16463E-05    .82163E-04
  20  Prefactor     .79485        .16700        .93463E-06    .70825E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.744953
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.3939
  norm       = 0.00240935
  Prefactor  = 17.1577
  Prefactor  = 1.9402
  norm       = 7.94413
  norm       = 0.0001
  Prefactor  = 2.95244
  norm       = 3.92648
  Prefactor  = 32.4051
  Prefactor  = 2.50862
  Prefactor  = 3.66991
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 1.28896
  Prefactor  = 0.79485
 **********
 **   18 **HESSE 
 **********

 FCN=   5275.546     FROM HESSE     STATUS=OK           305 CALLS     2371 TOTAL
                     EDM=   .87E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .74495        .99710        .86706E-03   -1.5535    
   3  Prefactor     .10000E-03    5.5010        .16540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.2947        .27894E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.394        50.467        .11382E-03   -1.5004    
   6  norm          .24094E-02    1.0703        .14131E-01   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.158        14.390        .96636E-04   -1.4879    
   8  Prefactor     1.9402        33.948        .14914E-02   -1.5429    
   9  norm          7.9441        6.9112        .71129E-03   -1.5144    
  10  norm          .10000E-03    39.114        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.9524        2.8859        .11831E-03   -1.5364    
  12  norm          3.9265        2.0019        .71048E-04   -1.5312    
  13  Prefactor     32.405        56.333        .70396E-04   -1.4569    
  14  Prefactor     2.5086        2.9277        .12931E-03   -1.5391    
  15  Prefactor     3.6699        26.480        .21094E-03   -1.5325    
  16  Prefactor     .10000E-03    21.662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    15.317        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.0996        .10263E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2890        .22092        .21876E-03   -.83896    
  20  Prefactor     .79485        .19461        .25099E-03   -.99918    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.66656e-08
Minuit parameter uncertainties:
  1  0.00012219
  2  0.997122
  3  1.35805e-05
  4  7.87971e-06
  5  50.0924
  6  0.0994334
  7  14.3927
  8  16.242
  9  6.91186
  10  0.000155087
  11  2.88607
  12  2.00191
  13  56.4257
  14  2.92785
  15  19.7281
  16  0.000188713
  17  0.000260271
  18  9.66584e-07
  19  0.221081
  20  0.194779
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.000e-04  1.551e-04  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:  7.948e-01  1.948e-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:  1.289e+00  2.211e-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: 7.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.17e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/38832/likelihoodResults_263692801_263952001_4FGL_J0910.6+2247_daily_bin94.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) = 5275.54592213
delta logL = -0.000121751628285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5275.54580163
delta logL = -1.25163205666e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18283E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1654       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2890       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79486       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=   5275.546     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      199 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    67.746        .90712E-02** at limit **
   2  alpha         2.2220        3.5911        .41627       -.82188E-05
   3  Normalizat    1.2890        .17715        .49483E-01   -.47031E-03
   4  Prefactor     .79486        .16466        .43650E-01    .11597E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.22205
  Normalizat = 1.28895
  Prefactor  = 0.794856
 **********
 **   18 **HESSE 
 **********

 FCN=   5275.546     FROM HESSE     STATUS=OK            31 CALLS      230 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    42.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2220        3.4886        .50000       -.11141    
   3  Normalizat    1.2890        .20660        .21876E-03   -.83897    
   4  Prefactor     .79486        .19199        .25099E-03   -.99918    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34738e-09
Minuit parameter uncertainties:
  1  0.000274255
  2  2.51685
  3  0.206735
  4  0.192154
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/38832': 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) = 5275.54580028
delta logL = 9.16688804864e-08

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.000e-04  2.743e-04  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  2.222e+00  2.517e+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:  7.949e-01  1.922e-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:  1.289e+00  2.067e-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/38832/cmap_HighResolution_263692801_263952001_4FGL_J0910.6+2247_daily_bin94.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.17e-05', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2021-08-31 02:24:54.653424', job_id='38832', GAL2='0.79', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1630401894.65', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='9.17e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='94' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:24:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 38832: <4FGL_J0910.6+2247_daily_bin94> in cluster <slac> Done

Job <4FGL_J0910.6+2247_daily_bin94> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 02:11:34 2021
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:11:35 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:35 2021
Terminated at Tue Aug 31 02:24:55 2021
Results reported at Tue Aug 31 02:24:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin94 137.674 22.7978 263692801 263952001 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 :                                   552.30 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             260.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            801 sec.

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

