/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 4 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 = 7031
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0910.6+2247_daily_bin232
RA = 137.674, Dec = 22.7978
tmin = 299462401, tmax = 299721601
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='39048', job_status='RUN', time_executed='2021-08-31 02:12:11.262091', time_epoch_executed='1630401131.26' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='232'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/39048

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/39048/ft1_4FGL_J0910.6+2247_daily_bin232.fits


Retrieving the FT1 file...

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

Retrieving 44 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/39048/ft2_4FGL_J0910.6+2247_daily_bin232.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/39048/ft1_4FGL_J0910.6+2247_daily_bin232.fits outfile=/scratch/kocevski/39048/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin232.fits ra=137.674 dec=22.7978 rad=12.0 tmin=299462401.0 tmax=299721601.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.54
user 3.06
sys 0.45

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/39048/ft1_filtered_4FGL_J0910.6+2247_daily_bin232.fits evtable="EVENTS" scfile=/scratch/kocevski/39048/ft2_4FGL_J0910.6+2247_daily_bin232.fits sctable="SC_DATA" expcube=/scratch/kocevski/39048/ltcube_299462401_299721601_4FGL_J0910.6+2247_daily_bin232.fits outfile=/scratch/kocevski/39048/expmap_299462401_299721601_4FGL_J0910.6+2247_daily_bin232.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/39048/ltcube_299462401_299721601_4FGL_J0910.6+2247_daily_bin232.fits
.....................!
real 191.77
user 186.08
sys 5.30

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/39048/ft1_filtered_4FGL_J0910.6+2247_daily_bin232.fits scfile=/scratch/kocevski/39048/ft2_4FGL_J0910.6+2247_daily_bin232.fits outfile=/scratch/kocevski/39048/cmap_299462401_299721601_4FGL_J0910.6+2247_daily_bin232.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.87
user 0.36
sys 0.40

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/39048/ft1_filtered_4FGL_J0910.6+2247_daily_bin232.fits scfile=/scratch/kocevski/39048/ft2_4FGL_J0910.6+2247_daily_bin232.fits outfile=/scratch/kocevski/39048/cmap_HighResolution_299462401_299721601_4FGL_J0910.6+2247_daily_bin232.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.79
user 0.37
sys 0.39

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    21.382       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.7973       1.0000         .10000E-03   10000.    
     5 'Prefactor '    25.239       1.0000         .10000E-03   10000.    
     6 'norm      '    .10503E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.5853       1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.129       1.0000         .10000E-03   10000.    
     9 'norm      '    3.6917       1.0000         .10000E-03   10000.    
    10 'norm      '    66.248       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .37113       1.0000         .10000E-03   10000.    
    12 'norm      '    1.9219       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.808       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12432E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    22.514       1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.722       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .61185       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2040       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4940.046     FROM MIGRAD    STATUS=CONVERGED     97 CALLS     1737 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.3690        .14486E-06** at limit **
   2  norm          .10000E-03    .70966        .26455E-07** at limit **
   3  Prefactor     21.381        2.7014       -.15254E-05    .90642E-03
   4  Prefactor     4.8013        8.3049       -.99702E-05   -.26342E-03
   5  Prefactor     25.085        51.435       -.12859E-04   -.27736E-04
   6  norm          .10000E-03    .61103       -.15318E-06** at limit **
   7  Prefactor     3.5893        16.096        .17047E-04   -.87861E-04
   8  Prefactor     22.126        1.4216       -.70634E-07   -.52884E-03
   9  norm          3.6920        5.4294       -.18147E-06    .52180E-04
  10  norm          66.239        3.3226       -.20578E-06    .44623E-03
  11  Prefactor     .37033        3.8226        .33890E-06   -.98679E-04
  12  norm          1.9223        2.0424       -.15562E-06   -.96515E-03
  13  Prefactor     .10000E-03    12.615       -.51266E-06** at limit **
  14  Prefactor     .10000E-03    1.1825        .18151E-06** at limit **
  15  Prefactor     12.802        1.8957       -.29903E-06   -.41590E-03
  16  Prefactor     .10000E-03    99.207        .46915E-05** at limit **
  17  Prefactor     22.514        1.3010       -.52913E-06    .76107E-03
  18  Prefactor     14.722        7.1858        .60452E-05   -.50037E-04
  19  Normalizat    .61175        .21100       -.30035E-05   -.30953E-03
  20  Prefactor     1.2041        .20224        .19823E-05   -.31483E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 21.3814
  Prefactor  = 4.80132
  Prefactor  = 25.0848
  norm       = 0.0001
  Prefactor  = 3.58931
  Prefactor  = 22.1264
  norm       = 3.69199
  norm       = 66.2393
  Prefactor  = 0.370329
  norm       = 1.92226
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.8018
  Prefactor  = 0.0001
  Prefactor  = 22.5138
  Prefactor  = 14.7217
  Normalizat = 0.611751
  Prefactor  = 1.20407
 **********
 **   18 **HESSE 
 **********

 FCN=   4940.046     FROM HESSE     STATUS=OK           345 CALLS     2082 TOTAL
                     EDM=   .75E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.3549        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .47502        .25074E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     21.381        11.553        .21655E-02   -1.4783    
   4  Prefactor     4.8013        8.9251        .45921E-02   -1.5270    
   5  Prefactor     25.085        51.568        .19934E-02   -1.4706    
   6  norm          .10000E-03    .39494        .22727E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.5893        18.658        .53355E-02   -1.5329    
   8  Prefactor     22.126        18.348        .21287E-02   -1.4767    
   9  norm          3.6920        5.4381        .52550E-02   -1.5324    
  10  norm          66.239        48.280        .12327E-02   -1.4078    
  11  Prefactor     .37033        3.7658        .10733E-01   -1.5586    
  12  norm          1.9223        2.0689        .74930E-02   -1.5431    
  13  Prefactor     .10000E-03    12.612        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.1762        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.802        24.632        .27981E-02   -1.4992    
  16  Prefactor     .10000E-03    98.838        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     22.514        34.793        .21104E-02   -1.4759    
  18  Prefactor     14.722        7.2124        .26097E-02   -1.4940    
  19  Normalizat    .61175        .19358        .65482E-01   -1.0749    
  20  Prefactor     1.2041        .17743        .34537E-01   -.86206    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.52907e-08
Minuit parameter uncertainties:
  1  1.63463e-05
  2  8.08907e-07
  3  11.5546
  4  8.92756
  5  51.6603
  6  3.28853e-06
  7  16.3749
  8  18.3531
  9  5.43885
  10  48.3085
  11  2.36172
  12  2.06898
  13  0.000126699
  14  8.8704e-06
  15  24.6513
  16  2.044e-05
  17  34.8246
  18  7.21282
  19  0.193791
  20  0.17752
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  6.624e+01  4.831e+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:  1.204e+00  1.775e-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:  6.118e-01  1.938e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.57
Ra Dec: 137.674 22.798
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 4.79e-08 +/- 3.49e-08
Energy Flux (Fixed Index): 2.10e-05 +/- 1.53e-05

TS (Fixed Index): 3.57
Ra Dec: 137.674 22.798
Photon Flux Upper Limit: 1.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.33e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/39048/likelihoodResults_299462401_299721601_4FGL_J0910.6+2247_daily_bin232.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) = 4939.92544841
delta logL = 0.12080874525

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4939.92003869
delta logL = 0.12621845858

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    53.389       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6005       1.0000          .0000       5.0000    
     3 'Normalizat'    .58688       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2183       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=   4939.920     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      283 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          53.403        56.812        .54893E-04   -.35208E-04
   2  alpha         2.6004        .91474        .11551E-01   -.99516E-05
   3  Normalizat    .58702        .21589        .29531E-03    .48082E-03
   4  Prefactor     1.2181        .20468        .20350E-03    .13546E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 53.4034
  alpha      = 2.60037
  Normalizat = 0.587019
  Prefactor  = 1.2181
 **********
 **   18 **HESSE 
 **********

 FCN=   4939.920     FROM HESSE     STATUS=OK            25 CALLS      308 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          53.403        52.194        .21957E-05   -1.4245    
   2  alpha         2.6004        .84224        .46203E-03    .40160E-01
   3  Normalizat    .58702        .21459        .59062E-04   -1.0854    
   4  Prefactor     1.2181        .20389        .40701E-04   -.85776    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57695e-09
Minuit parameter uncertainties:
  1  52.2383
  2  0.859071
  3  0.214893
  4  0.204025
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/39048': 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) = 4939.92003771
delta logL = 0.126219445152

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  5.340e+01  5.224e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  2.600e+00  8.591e-01  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.218e+00  2.040e-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:  5.870e-01  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.81
Ra Dec: 137.674 22.798
Photon Index (Free Index): 2.60 +/- 0.86
Photon Flux (Free Index): 6.68e-08 +/- 5.57e-08
Energy Flux (Free Index): 1.98e-05 +/- 1.33e-05

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/39048/cmap_HighResolution_299462401_299721601_4FGL_J0910.6+2247_daily_bin232.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.33e-05', comment='SUCCESS', photon_flux='4.79e-08', energy_flux2='1.98e-05', photon_flux_error='3.49e-08', dlogl='1.26e-01', energy_flux='2.10e-05', photon_flux2='6.68e-08', job_status='DONE', time_completed='2021-08-31 02:20:41.935655', photon_index_error2='0.86', photon_index2='2.60', ts='3.57', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='1.22e-07', energy_flux_error2='1.33e-05', EG='0.61', time_epoch_completed='1630401641.94', return_code='0', job_id='39048', GAL2='1.22', EG2='0.59', return_code2='0', energy_flux_error='1.53e-05', photon_flux_error2='5.57e-08', ts2='3.81', photon_index='2.19' WHERE bin_id='232' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:20:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 39048: <4FGL_J0910.6+2247_daily_bin232> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin232 137.674 22.7978 299462401 299721601 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 :                                   507.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             295.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   529 sec.
    Turnaround time :                            530 sec.

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

