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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin87
RA = 137.674, Dec = 22.7978
tmin = 261878401, tmax = 262137601
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='38821', job_status='RUN', time_executed='2021-08-31 02:14:52.706590', time_epoch_executed='1630401292.71' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='87'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/38821

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/38821/ft1_4FGL_J0910.6+2247_daily_bin87.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/38821/ft2_4FGL_J0910.6+2247_daily_bin87.fits


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

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

Done.
real 1.94
user 1.20
sys 0.44

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/38821/ft2_4FGL_J0910.6+2247_daily_bin87.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/38821/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin87.fits evtable="EVENTS" outfile="/scratch/kocevski/38821/ft1_filtered_4FGL_J0910.6+2247_daily_bin87.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.83
user 0.33
sys 0.41

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/38821/ft1_filtered_4FGL_J0910.6+2247_daily_bin87.fits" evtable="EVENTS" scfile=/scratch/kocevski/38821/ft2_4FGL_J0910.6+2247_daily_bin87.fits sctable="SC_DATA" outfile=/scratch/kocevski/38821/ltcube_261878401_262137601_4FGL_J0910.6+2247_daily_bin87.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/38821/ft2_4FGL_J0910.6+2247_daily_bin87.fits
.....................!
real 13.07
user 12.26
sys 0.59

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/38821/ft1_filtered_4FGL_J0910.6+2247_daily_bin87.fits evtable="EVENTS" scfile=/scratch/kocevski/38821/ft2_4FGL_J0910.6+2247_daily_bin87.fits sctable="SC_DATA" expcube=/scratch/kocevski/38821/ltcube_261878401_262137601_4FGL_J0910.6+2247_daily_bin87.fits outfile=/scratch/kocevski/38821/expmap_261878401_262137601_4FGL_J0910.6+2247_daily_bin87.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/38821/ltcube_261878401_262137601_4FGL_J0910.6+2247_daily_bin87.fits
.....................!
real 190.09
user 184.86
sys 4.79

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/38821/ft1_filtered_4FGL_J0910.6+2247_daily_bin87.fits scfile=/scratch/kocevski/38821/ft2_4FGL_J0910.6+2247_daily_bin87.fits outfile=/scratch/kocevski/38821/cmap_261878401_262137601_4FGL_J0910.6+2247_daily_bin87.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 0.83
user 0.35
sys 0.41

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/38821/ft1_filtered_4FGL_J0910.6+2247_daily_bin87.fits scfile=/scratch/kocevski/38821/ft2_4FGL_J0910.6+2247_daily_bin87.fits outfile=/scratch/kocevski/38821/cmap_HighResolution_261878401_262137601_4FGL_J0910.6+2247_daily_bin87.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 0.83
user 0.38
sys 0.39

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10935E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .49440       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .92562       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .91629E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.405       1.0000         .10000E-03   10000.    
     9 'norm      '    4.2475       1.0000         .10000E-03   10000.    
    10 'norm      '    31.372       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .27242       1.0000         .10000E-03   10000.    
    12 'norm      '    1.8176       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.827       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.620       1.0000         .10000E-03   10000.    
    18 'Prefactor '    20.584       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2025       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .85986       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=   8765.384     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2149 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.887        .51580E-07** at limit **
   2  norm          .10000E-03    .37060       -.17232E-06** at limit **
   3  Prefactor     .48608        2.8430       -.12441E-05    .50964E-04
   4  Prefactor     .10000E-03    1.4378       -.32070E-07** at limit **
   5  Prefactor     .10000E-03    13.608       -.28536E-06** at limit **
   6  norm          .92313        .54762       -.61739E-07    .33263E-03
   7  Prefactor     .25990        7.2748       -.10496E-06    .95146E-05
   8  Prefactor     14.408        14.506       -.49284E-05    .89265E-04
   9  norm          4.2488        4.0524       -.31308E-06   -.46953E-03
  10  norm          31.260        33.725       -.90705E-05    .44589E-04
  11  Prefactor     .26813        1.7124       -.13307E-05   -.50195E-03
  12  norm          1.8178        1.0831        .24760E-07    .42103E-03
  13  Prefactor     .10000E-03    10.469       -.26913E-07** at limit **
  14  Prefactor     .10000E-03    1.3318        .73613E-07** at limit **
  15  Prefactor     11.832        21.095       -.18417E-04   -.23569E-06
  16  Prefactor     .10000E-03    33.417        .24453E-06** at limit **
  17  Prefactor     13.626        22.161       -.13582E-04    .16178E-05
  18  Prefactor     20.585        7.3767        .10199E-05    .79426E-04
  19  Normalizat    1.2029        .14894        .36847E-05    .31138E-03
  20  Prefactor     .85914        .13125        .59569E-06    .61234E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.486083
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.923134
  Prefactor  = 0.259904
  Prefactor  = 14.4081
  norm       = 4.24879
  norm       = 31.2601
  Prefactor  = 0.268128
  norm       = 1.8178
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.8316
  Prefactor  = 0.0001
  Prefactor  = 13.6259
  Prefactor  = 20.5855
  Normalizat = 1.20287
  Prefactor  = 0.859141
 **********
 **   18 **HESSE 
 **********

 FCN=   8765.384     FROM HESSE     STATUS=OK           301 CALLS     2450 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.972        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.3720        .10768E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .48608        14.221        .29495E-02   -1.5569    
   4  Prefactor     .10000E-03    1.4427        .10962E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .92313        .54016        .49798E-04   -1.5516    
   7  Prefactor     .25990        101.78        .45796E-02   -1.5606    
   8  Prefactor     14.408        14.566        .10553E-03   -1.4949    
   9  norm          4.2488        4.0572        .89840E-03   -1.5296    
  10  norm          31.260        33.622        .71537E-04   -1.4589    
  11  Prefactor     .26813        4.2230        .23797E-02   -1.5604    
  12  norm          1.8178        1.0864        .73219E-04   -1.5438    
  13  Prefactor     .10000E-03    10.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.3638        .21088E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.832        21.132        .11649E-03   -1.5020    
  16  Prefactor     .10000E-03    33.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     13.626        22.188        .10853E-03   -1.4970    
  18  Prefactor     20.585        7.3786        .88282E-04   -1.4800    
  19  Normalizat    1.2029        .17566        .22903E-03   -.86514    
  20  Prefactor     .85914        .15568        .24459E-03   -.97584    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.88948e-10
Minuit parameter uncertainties:
  1  3.55343e-05
  2  2.98913e-05
  3  5.25914
  4  4.31395e-06
  5  2.72666e-05
  6  0.540163
  7  10.3022
  8  14.5699
  9  4.05749
  10  33.6427
  11  2.12798
  12  1.08642
  13  1.19498e-05
  14  8.37054e-06
  15  21.1454
  16  2.34662e-05
  17  22.201
  18  7.37891
  19  0.17575
  20  0.155759
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  3.126e+01  3.364e+01  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:  8.591e-01  1.558e-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.203e+00  1.757e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.15
Ra Dec: 137.674 22.798
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 2.26e-08 +/- 2.43e-08
Energy Flux (Fixed Index): 9.92e-06 +/- 1.07e-05

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

Saving results to:
/scratch/kocevski/38821/likelihoodResults_261878401_262137601_4FGL_J0910.6+2247_daily_bin87.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) = 8760.91082358
delta logL = 4.47344292542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8760.80159049
delta logL = 4.58267601487

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7064       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.7519       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0439       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95373       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8760.802     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      318 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6978        18.404        .54635E-04   -.32045E-04
   2  alpha         4.7535        4.8632        .19286E-01   -.75054E-05
   3  Normalizat    1.0439        .16906        .24247E-03   -.95650E-05
   4  Prefactor     .95372        .15634        .23313E-03   -.89730E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.69782
  alpha      = 4.75348
  Normalizat = 1.04389
  Prefactor  = 0.953723
 **********
 **   18 **HESSE 
 **********

 FCN=   8760.802     FROM HESSE     STATUS=OK            25 CALLS      343 TOTAL
                     EDM=   .34E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6978        6.0949        .21854E-05   -1.5379    
   2  alpha         4.7535        3.6008        .77143E-03    1.1230    
   3  Normalizat    1.0439        .17592        .96987E-05   -.91574    
   4  Prefactor     .95372        .15955        .93251E-05   -.94288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.40688e-13
Minuit parameter uncertainties:
  1  6.09631
  2  1.19314
  3  0.17602
  4  0.159624
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/38821': 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) = 8760.80158935
delta logL = 4.58267715745

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  2.698e+00  6.096e+00  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  4.753e+00  1.193e+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:  9.537e-01  1.596e-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.044e+00  1.760e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.95
Ra Dec: 137.674 22.798
Photon Index (Free Index): 4.75 +/- 1.19
Photon Flux (Free Index): 1.42e-07 +/- 5.48e-08
Energy Flux (Free Index): 2.05e-05 +/- 8.15e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/38821/cmap_HighResolution_261878401_262137601_4FGL_J0910.6+2247_daily_bin87.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.24e-05', comment='SUCCESS', photon_flux='2.26e-08', energy_flux2='2.05e-05', photon_flux_error='2.43e-08', dlogl='4.58e+00', energy_flux='9.92e-06', photon_flux2='1.42e-07', job_status='DONE', time_completed='2021-08-31 02:26:32.554197', photon_index_error2='1.19', photon_index2='4.75', ts='1.15', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='7.39e-08', energy_flux_error2='8.15e-06', EG='1.20', time_epoch_completed='1630401992.55', return_code='0', job_id='38821', GAL2='0.95', EG2='1.04', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='5.48e-08', ts2='10.95', photon_index='2.19' WHERE bin_id='87' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:26:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 38821: <4FGL_J0910.6+2247_daily_bin87> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin87 137.674 22.7978 261878401 262137601 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 :                                   692.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             291.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            900 sec.

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

