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


Performing analysis on: 4FGL_J2250.7-2806_daily_bin56
RA = 342.69, Dec = -28.1114
tmin = 253843201, tmax = 254102401
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='517450', job_status='RUN', time_executed='2021-09-28 22:53:41.823722', time_epoch_executed='1632894821.82' WHERE source_name='4FGL J2250.7-2806' and cadence='daily' and bin_id='56'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/517450

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/517450/ft1_4FGL_J2250.7-2806_daily_bin56.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/517450/ft2_4FGL_J2250.7-2806_daily_bin56.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/517450/ft1_4FGL_J2250.7-2806_daily_bin56.fits outfile=/scratch/kocevski/517450/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin56.fits ra=342.69 dec=-28.1114 rad=12.0 tmin=253843201.0 tmax=254102401.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.47
user 1.28
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/517450/ft2_4FGL_J2250.7-2806_daily_bin56.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/517450/ft2_4FGL_J2250.7-2806_daily_bin56.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/517450/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin56.fits evtable="EVENTS" outfile="/scratch/kocevski/517450/ft1_filtered_4FGL_J2250.7-2806_daily_bin56.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.48
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/517450/ft1_filtered_4FGL_J2250.7-2806_daily_bin56.fits" evtable="EVENTS" scfile=/scratch/kocevski/517450/ft2_4FGL_J2250.7-2806_daily_bin56.fits sctable="SC_DATA" outfile=/scratch/kocevski/517450/ltcube_253843201_254102401_4FGL_J2250.7-2806_daily_bin56.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/517450/ft2_4FGL_J2250.7-2806_daily_bin56.fits
.....................!
real 12.42
user 12.09
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/517450/ft1_filtered_4FGL_J2250.7-2806_daily_bin56.fits evtable="EVENTS" scfile=/scratch/kocevski/517450/ft2_4FGL_J2250.7-2806_daily_bin56.fits sctable="SC_DATA" expcube=/scratch/kocevski/517450/ltcube_253843201_254102401_4FGL_J2250.7-2806_daily_bin56.fits outfile=/scratch/kocevski/517450/expmap_253843201_254102401_4FGL_J2250.7-2806_daily_bin56.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/517450/ltcube_253843201_254102401_4FGL_J2250.7-2806_daily_bin56.fits
.....................!
real 191.08
user 185.69
sys 5.08

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 172 point sources and 0 extended sources

Setting source of interest to:
4FGL J2250.7-2806 @ 342.69 -28.1114

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/517450/ft1_filtered_4FGL_J2250.7-2806_daily_bin56.fits scfile=/scratch/kocevski/517450/ft2_4FGL_J2250.7-2806_daily_bin56.fits outfile=/scratch/kocevski/517450/cmap_253843201_254102401_4FGL_J2250.7-2806_daily_bin56.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=342.69 yref=-28.1114 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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/517450/ft1_filtered_4FGL_J2250.7-2806_daily_bin56.fits scfile=/scratch/kocevski/517450/ft2_4FGL_J2250.7-2806_daily_bin56.fits outfile=/scratch/kocevski/517450/cmap_HighResolution_253843201_254102401_4FGL_J2250.7-2806_daily_bin56.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=342.69 yref=-28.1114 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/517450/ft1_filtered_4FGL_J2250.7-2806_daily_bin56.fits evtable="EVENTS" scfile=/scratch/kocevski/517450/ft2_4FGL_J2250.7-2806_daily_bin56.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/517450/Model_4FGL_J2250.7-2806_daily_bin56.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/517450/ft1_filtered_4FGL_J2250.7-2806_daily_bin56.fits.....................!
real 50.98
user 49.67
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/517450/ft1_filtered_4FGL_J2250.7-2806_daily_bin56.fits', '/scratch/kocevski/517450/ft2_4FGL_J2250.7-2806_daily_bin56.fits', expMap='/scratch/kocevski/517450/expmap_253843201_254102401_4FGL_J2250.7-2806_daily_bin56.fits', expCube='/scratch/kocevski/517450/ltcube_253843201_254102401_4FGL_J2250.7-2806_daily_bin56.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/517450/Model_4FGL_J2250.7-2806_daily_bin56.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2250.7-2806'

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  4.101e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  2.049e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
313         beta:  9.524e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  8.845e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/517450/ft1_filtered_4FGL_J2250.7-2806_daily_bin56.fits
Spacecraft file(s): /scratch/kocevski/517450/ft2_4FGL_J2250.7-2806_daily_bin56.fits
Exposure map: /scratch/kocevski/517450/expmap_253843201_254102401_4FGL_J2250.7-2806_daily_bin56.fits
Exposure cube: /scratch/kocevski/517450/ltcube_253843201_254102401_4FGL_J2250.7-2806_daily_bin56.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/517450/Model_4FGL_J2250.7-2806_daily_bin56.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) = 6403.81469196

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0793       1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.470       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.679       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.904       1.0000         .10000E-03   10000.    
     9 'norm      '    .10172E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    34.008       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    5.1266       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.8086       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .47122       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.5388       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.5412       1.0000         .10000E-03   10000.    
    19 'Prefactor '    41.528       1.0000         .10000E-03   10000.    
    20 'norm      '    .58941       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1543       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .58907       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6403.809     FROM MIGRAD    STATUS=CONVERGED    537 CALLS     2724 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0792        .45167       -.14229E-07    .10389E-03
   2  Prefactor     19.470        12.696       -.20953E-06    .11898E-04
   3  Prefactor     10.679        13.937       -.18251E-06    .32182E-04
   4  Prefactor     .10000E-03    5.1792        .61880E-06** at limit **
   5  norm          .10000E-03    7.4608       -.75764E-06** at limit **
   6  Prefactor     .10000E-03    27.767        .69634E-06** at limit **
   7  Prefactor     .10000E-03    3.6094       -.20574E-06** at limit **
   8  Prefactor     27.901        21.711       -.83539E-06   -.10718E-03
   9  norm          .10000E-03    1.3190       -.23469E-05** at limit **
  10  Prefactor     33.983        34.404       -.22927E-05    .15968E-03
  11  Prefactor     .10000E-03    7.0607        .24077E-06** at limit **
  12  norm          5.1266        3.5864        .29462E-07    .69637E-03
  13  Prefactor     3.8092        6.1757        .30256E-05    .25734E-03
  14  Prefactor     .10000E-03    6.9633       -.38469E-06** at limit **
  15  norm          .47121        .38279       -.73898E-07    .93136E-03
  16  Prefactor     2.5316        80.980       -.84820E-05   -.81739E-04
  17  Prefactor     .10000E-03    5.5787       -.96602E-06** at limit **
  18  norm          3.5395        7.4860        .35355E-06   -.85960E-05
  19  Prefactor     41.513        40.227       -.56720E-05   -.39335E-03
  20  norm          .58970        1.4742        .56870E-06    .52938E-03
  21  Prefactor     .10000E-03    6.9193        .42124E-06** at limit **
  22  Prefactor     .10000E-03    17.230       -.19428E-06** at limit **
  23  Normalizat    1.1545        .15875        .20703E-05    .45312E-03
  24  Prefactor     .58888        .14744       -.65602E-06    .48041E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.07925
  Prefactor  = 19.4697
  Prefactor  = 10.6787
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.9013
  norm       = 0.000100004
  Prefactor  = 33.9828
  Prefactor  = 0.0001
  norm       = 5.12656
  Prefactor  = 3.80916
  Prefactor  = 0.0001
  norm       = 0.47121
  Prefactor  = 2.53158
  Prefactor  = 0.0001
  norm       = 3.53947
  Prefactor  = 41.5135
  norm       = 0.589703
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.15454
  Prefactor  = 0.588876
 **********
 **   18 **HESSE 
 **********

 FCN=   6403.809     FROM HESSE     STATUS=OK           399 CALLS     3123 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0792        .45243        .24394E-04   -1.5420    
   2  Prefactor     19.470        12.695        .90770E-04   -1.4825    
   3  Prefactor     10.679        13.929        .12261E-03   -1.5054    
   4  Prefactor     .10000E-03    5.3901        .35537E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    7.4776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    28.072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.6213        .14846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     27.901        21.749        .75841E-04   -1.4651    
   9  norm          .10000E-03    1.5232        .15405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     33.983        34.291        .68716E-04   -1.4541    
  11  Prefactor     .10000E-03    7.1355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.1266        3.5716        .11773E-03   -1.5255    
  13  Prefactor     3.8092        6.3252        .10341E-02   -1.5318    
  14  Prefactor     .10000E-03    7.0976        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .47121        .39357        .41612E-03   -1.5571    
  16  Prefactor     2.5316        83.101        .25631E-03   -1.5390    
  17  Prefactor     .10000E-03    5.6699        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.5395        7.4711        .21480E-03   -1.5332    
  19  Prefactor     41.513        41.325        .62205E-04   -1.4418    
  20  norm          .58970        1.2854        .15049E-02   -1.5554    
  21  Prefactor     .10000E-03    6.9271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    17.233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1545        .18404        .20457E-03   -.88019    
  24  Prefactor     .58888        .17137        .26568E-03   -1.0806    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94148e-09
Minuit parameter uncertainties:
  1  0.452429
  2  12.697
  3  13.9328
  4  2.03147e-05
  5  5.31782e-05
  6  5.79354e-05
  7  1.3775e-06
  8  21.7548
  9  0.000146117
  10  34.3107
  11  4.89599e-08
  12  3.5717
  13  6.32631
  14  4.98099e-05
  15  0.393574
  16  29.0522
  17  7.99371e-05
  18  7.47306
  19  41.3536
  20  1.28544
  21  2.90301e-05
  22  3.03439e-05
  23  0.184143
  24  0.17152
Done.

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

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  5.127e+00  3.572e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  2.049e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
313         beta:  9.524e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  8.845e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  5.889e-01  1.715e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  1.155e+00  1.841e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.79
Ra Dec: 342.690 -28.111
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 3.43e-08 +/- 2.39e-08
Energy Flux (Fixed Index): 1.82e-05 +/- 1.27e-05

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) = 6403.11918209
delta logL = 0.689620456012

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6403.10856788
delta logL = 0.700234663985

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6403.109     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      233 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0981        38.123        .49776E-02    .31393E-03
   2  alpha         2.7352        3.8634        .27395        .68260E-04
   3  Normalizat    1.1127        .69164E-01    .37507E-01   -.39684E-05
   4  Prefactor     .61021        .54948E-01    .59027E-01    .10339E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.09806
  alpha      = 2.73518
  Normalizat = 1.11266
  Prefactor  = 0.610205
 **********
 **   18 **HESSE 
 **********

 FCN=   6403.109     FROM HESSE     STATUS=OK            33 CALLS      266 TOTAL
                     EDM=   .91E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0981        3.1652        .81623E-04   -1.5303    
   2  alpha         2.7352        .58538        .10400E-01    .94212E-01
   3  Normalizat    1.1127        .18324        .20764E-03   -.89346    
   4  Prefactor     .61021        .17223        .26110E-03   -1.0716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.06766e-12
Minuit parameter uncertainties:
  1  3.16529
  2  0.59092
  3  0.183347
  4  0.172375
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/517450': 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) = 6403.10856764
delta logL = 0.700234906966

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  4.098e+00  3.165e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  2.735e+00  5.909e-01  0.000e+00  5.000e+00 ( 1.000e+00)
313         beta:  9.524e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  8.845e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  6.102e-01  1.724e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  1.113e+00  1.833e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.22
Ra Dec: 342.690 -28.111
Photon Index (Free Index): 2.74 +/- 0.59
Photon Flux (Free Index): 7.02e-08 +/- 4.45e-08
Energy Flux (Free Index): 1.76e-05 +/- 9.42e-06

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/517450/cmap_HighResolution_253843201_254102401_4FGL_J2250.7-2806_daily_bin56.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.43e-08', energy_flux2='1.76e-05', photon_flux_error='2.39e-08', dlogl='7.00e-01', energy_flux='1.82e-05', photon_flux2='7.02e-08', job_status='DONE', time_completed='2021-09-28 23:05:37.244463', photon_index_error2='0.59', photon_index2='2.74', ts='5.79', fit_tolerance='1e-08', GAL='0.59', photon_index_error='0.00', energy_flux_error2='9.42e-06', EG='1.15', time_epoch_completed='1632895537.24', return_code='0', job_id='517450', GAL2='0.61', EG2='1.11', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='4.45e-08', ts2='7.22', photon_index='2.05' WHERE bin_id='56' AND source_name='4FGL J2250.7-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:05:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 517450: <4FGL_J2250.7-2806_daily_bin56> in cluster <slac> Done

Job <4FGL_J2250.7-2806_daily_bin56> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 22:50:32 2021
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 22:50:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 22:50:35 2021
Terminated at Tue Sep 28 23:05:40 2021
Results reported at Tue Sep 28 23:05:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.7-2806_daily_bin56 342.69 -28.1114 253843201 254102401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2250.7-2806 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   588.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             249.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            908 sec.

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

