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


Performing analysis on: 4FGL_J2212.9-2526_daily_bin283
RA = 333.226, Dec = -25.4335
tmin = 312681601, tmax = 312940801
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='221094', job_status='RUN', time_executed='2021-09-28 07:02:56.407554', time_epoch_executed='1632837776.41' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='283'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/221094

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/221094/ft1_4FGL_J2212.9-2526_daily_bin283.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/221094/ft2_4FGL_J2212.9-2526_daily_bin283.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/221094/ft1_4FGL_J2212.9-2526_daily_bin283.fits outfile=/scratch/kocevski/221094/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin283.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=312681601.0 tmax=312940801.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.43
user 3.19
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/221094/ft2_4FGL_J2212.9-2526_daily_bin283.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/221094/ft2_4FGL_J2212.9-2526_daily_bin283.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/221094/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin283.fits evtable="EVENTS" outfile="/scratch/kocevski/221094/ft1_filtered_4FGL_J2212.9-2526_daily_bin283.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.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/221094/ft1_filtered_4FGL_J2212.9-2526_daily_bin283.fits" evtable="EVENTS" scfile=/scratch/kocevski/221094/ft2_4FGL_J2212.9-2526_daily_bin283.fits sctable="SC_DATA" outfile=/scratch/kocevski/221094/ltcube_312681601_312940801_4FGL_J2212.9-2526_daily_bin283.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/221094/ft2_4FGL_J2212.9-2526_daily_bin283.fits
.....................!
real 11.95
user 11.58
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/221094/ft1_filtered_4FGL_J2212.9-2526_daily_bin283.fits evtable="EVENTS" scfile=/scratch/kocevski/221094/ft2_4FGL_J2212.9-2526_daily_bin283.fits sctable="SC_DATA" expcube=/scratch/kocevski/221094/ltcube_312681601_312940801_4FGL_J2212.9-2526_daily_bin283.fits outfile=/scratch/kocevski/221094/expmap_312681601_312940801_4FGL_J2212.9-2526_daily_bin283.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/221094/ltcube_312681601_312940801_4FGL_J2212.9-2526_daily_bin283.fits
.....................!
real 189.95
user 185.36
sys 4.26

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

Setting source of interest to:
4FGL J2212.9-2526 @ 333.226 -25.4335

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/221094/ft1_filtered_4FGL_J2212.9-2526_daily_bin283.fits scfile=/scratch/kocevski/221094/ft2_4FGL_J2212.9-2526_daily_bin283.fits outfile=/scratch/kocevski/221094/cmap_312681601_312940801_4FGL_J2212.9-2526_daily_bin283.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=333.226 yref=-25.4335 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/221094/ft1_filtered_4FGL_J2212.9-2526_daily_bin283.fits scfile=/scratch/kocevski/221094/ft2_4FGL_J2212.9-2526_daily_bin283.fits outfile=/scratch/kocevski/221094/cmap_HighResolution_312681601_312940801_4FGL_J2212.9-2526_daily_bin283.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=333.226 yref=-25.4335 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/221094/ft1_filtered_4FGL_J2212.9-2526_daily_bin283.fits evtable="EVENTS" scfile=/scratch/kocevski/221094/ft2_4FGL_J2212.9-2526_daily_bin283.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/221094/Model_4FGL_J2212.9-2526_daily_bin283.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/221094/ft1_filtered_4FGL_J2212.9-2526_daily_bin283.fits.....................!
real 54.16
user 52.64
sys 1.39

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/221094/ft1_filtered_4FGL_J2212.9-2526_daily_bin283.fits', '/scratch/kocevski/221094/ft2_4FGL_J2212.9-2526_daily_bin283.fits', expMap='/scratch/kocevski/221094/expmap_312681601_312940801_4FGL_J2212.9-2526_daily_bin283.fits', expCube='/scratch/kocevski/221094/ltcube_312681601_312940801_4FGL_J2212.9-2526_daily_bin283.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/221094/Model_4FGL_J2212.9-2526_daily_bin283.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2212.9-2526'

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  5.247e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.255e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/221094/ft1_filtered_4FGL_J2212.9-2526_daily_bin283.fits
Spacecraft file(s): /scratch/kocevski/221094/ft2_4FGL_J2212.9-2526_daily_bin283.fits
Exposure map: /scratch/kocevski/221094/expmap_312681601_312940801_4FGL_J2212.9-2526_daily_bin283.fits
Exposure cube: /scratch/kocevski/221094/ltcube_312681601_312940801_4FGL_J2212.9-2526_daily_bin283.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/221094/Model_4FGL_J2212.9-2526_daily_bin283.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) = 6420.35959956

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .56061E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.902       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.929       1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    51.606       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    9.5573       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.823       1.0000         .10000E-03   10000.    
    10 'norm      '    1.9824       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.450       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    51.206       1.0000         .10000E-03   10000.    
    15 'norm      '    38.712       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10262E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    57.961       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10731E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10174E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10549E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    44.614       1.0000         .10000E-03   10000.    
    23 'norm      '    .64988       1.0000         .10000E-03   10000.    
    24 'Prefactor '    6.1902       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .73885       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.2224       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6420.327     FROM MIGRAD    STATUS=CONVERGED    600 CALLS     3114 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    80.294       -.30929E-04** at limit **
   2  Prefactor     13.900        8.3337        .11513E-06    .10044E-04
   3  Prefactor     10.929        15.922        .12376E-06   -.98286E-05
   4  norm          .10000E-03    6.8334       -.69655E-06** at limit **
   5  Prefactor     51.607        31.224       -.50149E-07   -.30700E-04
   6  Prefactor     .10000E-03    5.5546        .21748E-07** at limit **
   7  Prefactor     .10000E-03    20.528        .29705E-05** at limit **
   8  norm          9.5588        5.3299       -.48873E-07    .14657E-04
   9  Prefactor     12.820        17.405        .31207E-06    .23107E-04
  10  norm          1.9823        .51106        .19397E-07   -.48931E-04
  11  Prefactor     .10000E-03    2.8733       -.14106E-07** at limit **
  12  Prefactor     22.453        18.569       -.21159E-07   -.51016E-04
  13  Prefactor     .10000E-03    7.5283        .11865E-05** at limit **
  14  Prefactor     51.195        52.525        .35025E-05    .12124E-03
  15  norm          38.712        24.473       -.11324E-06   -.91183E-04
  16  Prefactor     .10000E-03    10.390        .11775E-05** at limit **
  17  norm          .10000E-03    1.1866        .16341E-05** at limit **
  18  Prefactor     57.947        48.929       -.46234E-06   -.39067E-03
  19  Prefactor     .10000E-03    24.856       -.49830E-05** at limit **
  20  norm          .10000E-03    1.7232        .15238E-06** at limit **
  21  Prefactor     .10000E-03    9.0171       -.46770E-06** at limit **
  22  Prefactor     44.606        15.862       -.16478E-06   -.61523E-04
  23  norm          .65051        .63921        .70892E-08    .58447E-03
  24  Prefactor     6.1866        15.776       -.90159E-06   -.30046E-04
  25  Normalizat    .73828        .22074        .29676E-06   -.15429E-04
  26  Prefactor     1.2229        .17282       -.92270E-06   -.25402E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  Prefactor  = 13.9005
  Prefactor  = 10.9292
  norm       = 0.0001
  Prefactor  = 51.6067
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 9.55878
  Prefactor  = 12.8204
  norm       = 1.98233
  Prefactor  = 0.0001
  Prefactor  = 22.4525
  Prefactor  = 0.0001
  Prefactor  = 51.1949
  norm       = 38.7117
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 57.9469
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 44.6063
  norm       = 0.650505
  Prefactor  = 6.18663
  Normalizat = 0.738282
  Prefactor  = 1.22289
 **********
 **   18 **HESSE 
 **********

 FCN=   6420.327     FROM HESSE     STATUS=OK           462 CALLS     3576 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.7002        .65897E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.900        8.3432        .10743E-03   -1.4962    
   3  Prefactor     10.929        15.928        .12119E-03   -1.5047    
   4  norm          .10000E-03    6.9146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     51.607        31.211        .55829E-04   -1.4270    
   6  Prefactor     .10000E-03    5.5566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    20.730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          9.5588        5.3503        .12793E-03   -1.5090    
   9  Prefactor     12.820        17.401        .11186E-03   -1.4992    
  10  norm          1.9823        .51305        .27305E-04   -1.5426    
  11  Prefactor     .10000E-03    2.8774        .13264E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     22.453        18.580        .84537E-04   -1.4760    
  13  Prefactor     .10000E-03    7.7264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     51.195        52.981        .56045E-04   -1.4276    
  15  norm          38.712        24.477        .64420E-04   -1.4463    
  16  Prefactor     .10000E-03    10.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.2147        .85418E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     57.947        49.081        .52695E-04   -1.4184    
  19  Prefactor     .10000E-03    25.255        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.7328        .10267E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    9.0373        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     44.606        15.724        .60024E-04   -1.4371    
  23  norm          .65051        .61835        .55110E-04   -1.5547    
  24  Prefactor     6.1866        15.602        .16135E-03   -1.5210    
  25  Normalizat    .73828        .25972        .34685E-03   -1.0240    
  26  Prefactor     1.2229        .20605        .22442E-03   -.85630    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14284e-09
Minuit parameter uncertainties:
  1  0.000227723
  2  8.34385
  3  15.9345
  4  1.59448e-06
  5  31.2206
  6  4.6804e-06
  7  0.000300984
  8  5.35061
  9  17.4081
  10  0.513055
  11  4.47745e-06
  12  18.5851
  13  9.53398e-05
  14  53.0299
  15  24.4838
  16  1.71455e-05
  17  9.72533e-06
  18  49.1152
  19  7.98599e-05
  20  1.01848e-05
  21  1.24837e-05
  22  15.7254
  23  0.618355
  24  15.6121
  25  0.26015
  26  0.206182
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  2.245e+01  1.859e+01  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.255e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.223e+00  2.062e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  7.383e-01  2.602e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.92
Ra Dec: 333.226 -25.433
Photon Index (Fixed Index): 2.26 +/- 0.00
Photon Flux (Fixed Index): 4.19e-08 +/- 3.46e-08
Energy Flux (Fixed Index): 1.71e-05 +/- 1.41e-05

TS (Fixed Index): 3.92
Ra Dec: 333.226 -25.433
Photon Flux Upper Limit: 1.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.57e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/221094/likelihoodResults_312681601_312940801_4FGL_J2212.9-2526_daily_bin283.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) = 6420.32628805
delta logL = 0.00119725464174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6420.32595671
delta logL = 0.00152859780519

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.972       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2892       1.0000          .0000       10.000    
     3 'Normalizat'    .73653       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2237       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+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=   6420.326     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      278 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.978        20.739        .85450E-04    .47763E-04
   2  Index         2.2891        .63025        .83110E-02    .31480E-03
   3  Normalizat    .73663        .24603        .34721E-03   -.45186E-05
   4  Prefactor     1.2236        .19927        .22436E-03   -.86699E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.9777
  Index      = 2.28908
  Normalizat = 0.736629
  Prefactor  = 1.22361
 **********
 **   18 **HESSE 
 **********

 FCN=   6420.326     FROM HESSE     STATUS=OK            25 CALLS      303 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.978        20.271        .34180E-05   -1.4770    
   2  Index         2.2891        .61572        .16622E-02   -.57303    
   3  Normalizat    .73663        .24611        .13888E-04   -1.0246    
   4  Prefactor     1.2236        .19938        .44872E-04   -.85608    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75303e-11
Minuit parameter uncertainties:
  1  20.277
  2  0.617942
  3  0.246483
  4  0.199508
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/221094': 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) = 6420.32595656
delta logL = 0.00152875048207

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  2.198e+01  2.028e+01  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.289e+00  6.179e-01  0.000e+00  1.000e+01 (-1.000e+00)
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.224e+00  1.995e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  7.366e-01  2.465e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.91
Ra Dec: 333.226 -25.433
Photon Index (Free Index): 2.29 +/- 0.62
Photon Flux (Free Index): 4.33e-08 +/- 4.39e-08
Energy Flux (Free Index): 1.67e-05 +/- 1.52e-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/221094/cmap_HighResolution_312681601_312940801_4FGL_J2212.9-2526_daily_bin283.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.57e-03', comment='SUCCESS', photon_flux='4.19e-08', energy_flux2='1.67e-05', photon_flux_error='3.46e-08', dlogl='1.53e-03', energy_flux='1.71e-05', photon_flux2='4.33e-08', job_status='DONE', time_completed='2021-09-28 07:14:37.367867', photon_index_error2='0.62', photon_index2='2.29', ts='3.92', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', photon_flux_upper_limit='1.25e-07', energy_flux_error2='1.52e-05', EG='0.74', time_epoch_completed='1632838477.37', return_code='0', job_id='221094', GAL2='1.22', EG2='0.74', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='4.39e-08', ts2='3.91', photon_index='2.26' WHERE bin_id='283' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:14:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 221094: <4FGL_J2212.9-2526_daily_bin283> in cluster <slac> Done

Job <4FGL_J2212.9-2526_daily_bin283> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Sep 28 07:00:19 2021
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 07:00:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 07:00:20 2021
Terminated at Tue Sep 28 07:14:38 2021
Results reported at Tue Sep 28 07:14:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2212.9-2526_daily_bin283 333.226 -25.4335 312681601 312940801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2212.9-2526 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   680.30 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             244.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   857 sec.
    Turnaround time :                            859 sec.

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

