/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 96 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 = 7406
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2212.9-2526_daily_bin1408
RA = 333.226, Dec = -25.4335
tmin = 604281601, tmax = 604540801
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='225846', job_status='RUN', time_executed='2021-09-28 07:17:16.733626', time_epoch_executed='1632838636.73' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='1408'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/225846

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/225846/ft1_4FGL_J2212.9-2526_daily_bin1408.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/225846/ft2_4FGL_J2212.9-2526_daily_bin1408.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/225846/ft1_4FGL_J2212.9-2526_daily_bin1408.fits outfile=/scratch/kocevski/225846/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin1408.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=604281601.0 tmax=604540801.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.63
user 3.39
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/225846/ft2_4FGL_J2212.9-2526_daily_bin1408.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/225846/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin1408.fits evtable="EVENTS" outfile="/scratch/kocevski/225846/ft1_filtered_4FGL_J2212.9-2526_daily_bin1408.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/225846/ft1_filtered_4FGL_J2212.9-2526_daily_bin1408.fits" evtable="EVENTS" scfile=/scratch/kocevski/225846/ft2_4FGL_J2212.9-2526_daily_bin1408.fits sctable="SC_DATA" outfile=/scratch/kocevski/225846/ltcube_604281601_604540801_4FGL_J2212.9-2526_daily_bin1408.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/225846/ft2_4FGL_J2212.9-2526_daily_bin1408.fits
.....................!
real 13.66
user 11.58
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/225846/ft1_filtered_4FGL_J2212.9-2526_daily_bin1408.fits evtable="EVENTS" scfile=/scratch/kocevski/225846/ft2_4FGL_J2212.9-2526_daily_bin1408.fits sctable="SC_DATA" expcube=/scratch/kocevski/225846/ltcube_604281601_604540801_4FGL_J2212.9-2526_daily_bin1408.fits outfile=/scratch/kocevski/225846/expmap_604281601_604540801_4FGL_J2212.9-2526_daily_bin1408.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/225846/ltcube_604281601_604540801_4FGL_J2212.9-2526_daily_bin1408.fits
.....................!
real 192.31
user 186.72
sys 5.27

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/225846/ft1_filtered_4FGL_J2212.9-2526_daily_bin1408.fits scfile=/scratch/kocevski/225846/ft2_4FGL_J2212.9-2526_daily_bin1408.fits outfile=/scratch/kocevski/225846/cmap_604281601_604540801_4FGL_J2212.9-2526_daily_bin1408.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 2.05
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/225846/ft1_filtered_4FGL_J2212.9-2526_daily_bin1408.fits scfile=/scratch/kocevski/225846/ft2_4FGL_J2212.9-2526_daily_bin1408.fits outfile=/scratch/kocevski/225846/cmap_HighResolution_604281601_604540801_4FGL_J2212.9-2526_daily_bin1408.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/225846/ft1_filtered_4FGL_J2212.9-2526_daily_bin1408.fits evtable="EVENTS" scfile=/scratch/kocevski/225846/ft2_4FGL_J2212.9-2526_daily_bin1408.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/225846/Model_4FGL_J2212.9-2526_daily_bin1408.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/225846/ft1_filtered_4FGL_J2212.9-2526_daily_bin1408.fits.....................!
real 49.21
user 47.84
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/225846/ft1_filtered_4FGL_J2212.9-2526_daily_bin1408.fits', '/scratch/kocevski/225846/ft2_4FGL_J2212.9-2526_daily_bin1408.fits', expMap='/scratch/kocevski/225846/expmap_604281601_604540801_4FGL_J2212.9-2526_daily_bin1408.fits', expCube='/scratch/kocevski/225846/ltcube_604281601_604540801_4FGL_J2212.9-2526_daily_bin1408.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/225846/Model_4FGL_J2212.9-2526_daily_bin1408.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/225846/ft1_filtered_4FGL_J2212.9-2526_daily_bin1408.fits
Spacecraft file(s): /scratch/kocevski/225846/ft2_4FGL_J2212.9-2526_daily_bin1408.fits
Exposure map: /scratch/kocevski/225846/expmap_604281601_604540801_4FGL_J2212.9-2526_daily_bin1408.fits
Exposure cube: /scratch/kocevski/225846/ltcube_604281601_604540801_4FGL_J2212.9-2526_daily_bin1408.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/225846/Model_4FGL_J2212.9-2526_daily_bin1408.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) = 5614.9985344

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.3627       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    16.587       1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.672       1.0000         .10000E-03   10000.    
    10 'norm      '    .41772       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.187       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.412       1.0000         .10000E-03   10000.    
    17 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10312E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.458       1.0000         .10000E-03   10000.    
    20 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.375       1.0000         .10000E-03   10000.    
    22 'Prefactor '    29.751       1.0000         .10000E-03   10000.    
    23 'norm      '    .25678       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .96318       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0895       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=   5614.564     FROM MIGRAD    STATUS=CONVERGED    596 CALLS     3122 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.2335        .68580E-06** at limit **
   2  Prefactor     2.3622        6.4192       -.10096E-05   -.46474E-03
   3  Prefactor     .10000E-03    7.2116       -.64224E-06** at limit **
   4  norm          .10000E-03    6.4774        .47118E-05** at limit **
   5  Prefactor     .10000E-03    7.2529       -.98133E-06** at limit **
   6  Prefactor     .10000E-03    17.954       -.11584E-04** at limit **
   7  Prefactor     .10000E-03    114.08       -.12623E-03** at limit **
   8  norm          16.587        6.1349        .12588E-06    .11737E-02
   9  Prefactor     23.672        19.074       -.16930E-07    .11273E-05
  10  norm          .41771        .24950       -.10022E-07    .18056E-02
  11  Prefactor     .10000E-03    2.9324        .27214E-06** at limit **
  12  Prefactor     23.187        20.089        .21199E-06    .57377E-04
  13  Prefactor     .10000E-03    9.1627        .16874E-07** at limit **
  14  Prefactor     .10000E-03    15.750        .95809E-05** at limit **
  15  norm          .10000E-03    9.3706       -.12520E-05** at limit **
  16  Prefactor     24.411        18.123       -.22013E-06   -.37572E-03
  17  norm          .10000E-03    1.3168       -.26739E-06** at limit **
  18  Prefactor     .10000E-03    88.150        .89112E-04** at limit **
  19  Prefactor     11.462        14.594       -.19903E-05   -.46886E-04
  20  norm          .10000E-03    5.9300       -.32581E-05** at limit **
  21  Prefactor     10.377        28.793       -.13959E-05   -.63699E-04
  22  Prefactor     29.755        23.377       -.73975E-06   -.30619E-03
  23  norm          .25623        1.3511        .27163E-06   -.13511E-02
  24  Prefactor     .10000E-03    4.3197        .19832E-06** at limit **
  25  Normalizat    .96281        .23336        .35978E-06    .12394E-03
  26  Prefactor     1.0898        .17527        .43395E-06    .21663E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 2.36221
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 16.5865
  Prefactor  = 23.6722
  norm       = 0.417714
  Prefactor  = 0.0001
  Prefactor  = 23.187
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 24.4112
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.4622
  norm       = 0.0001
  Prefactor  = 10.3772
  Prefactor  = 29.7549
  norm       = 0.25623
  Prefactor  = 0.0001
  Normalizat = 0.962813
  Prefactor  = 1.08975
 **********
 **   18 **HESSE 
 **********

 FCN=   5614.564     FROM HESSE     STATUS=OK           450 CALLS     3572 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.2909        .16740E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.3622        6.4105        .26660E-03   -1.5401    
   3  Prefactor     .10000E-03    7.2396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    6.5425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.2589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    18.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    114.17        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          16.587        6.1461        .98340E-04   -1.4893    
   9  Prefactor     23.672        19.081        .82329E-04   -1.4734    
  10  norm          .41771        .25360        .27741E-04   -1.5579    
  11  Prefactor     .10000E-03    2.9360        .12531E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     23.187        20.111        .83184E-04   -1.4745    
  13  Prefactor     .10000E-03    9.4462        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    15.752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    9.3754        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     24.411        18.197        .81074E-04   -1.4719    
  17  norm          .10000E-03    1.3309        .83920E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    88.416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     11.462        14.704        .11835E-03   -1.5031    
  20  norm          .10000E-03    6.0672        .35426E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     10.377        28.080        .12439E-03   -1.5064    
  22  Prefactor     29.755        21.404        .73454E-04   -1.4616    
  23  norm          .25623        .93400        .98284E-04   -1.5607    
  24  Prefactor     .10000E-03    4.3216        .15206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .96281        .28246        .29624E-03   -.94287    
  26  Prefactor     1.0898        .21127        .22227E-03   -.89795    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44327e-09
Minuit parameter uncertainties:
  1  3.11653e-06
  2  6.41237
  3  9.43301e-06
  4  1.78945e-05
  5  1.14856e-06
  6  0.000165793
  7  0.00120662
  8  6.1463
  9  19.0855
  10  0.253603
  11  1.21542e-06
  12  20.1173
  13  2.95691e-06
  14  2.03893e-06
  15  2.25076e-06
  16  18.2011
  17  2.51847e-06
  18  0.000143884
  19  14.7088
  20  6.32701e-05
  21  28.1152
  22  21.4097
  23  0.934055
  24  5.13516e-06
  25  0.282895
  26  0.211436
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  2.319e+01  2.012e+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.090e+00  2.114e-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:  9.628e-01  2.829e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.94
Ra Dec: 333.226 -25.433
Photon Index (Fixed Index): 2.26 +/- 0.00
Photon Flux (Fixed Index): 4.32e-08 +/- 3.75e-08
Energy Flux (Fixed Index): 1.76e-05 +/- 1.53e-05

TS (Fixed Index): 2.94
Ra Dec: 333.226 -25.433
Photon Flux Upper Limit: 1.32e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.01e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/225846/likelihoodResults_604281601_604540801_4FGL_J2212.9-2526_daily_bin1408.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) = 5614.55800762
delta logL = 0.00607007138933

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5614.55524289
delta logL = 0.00883480458651

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.878       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1616       1.0000          .0000       10.000    
     3 'Normalizat'    .96775       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0870       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=   5614.555     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      253 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.875        25.213        .80313E-04    .48412E-04
   2  Index         2.1620        .70709        .87959E-02    .10650E-04
   3  Normalizat    .96770        .25638        .29556E-03    .58043E-04
   4  Prefactor     1.0871        .20275        .22251E-03    .88402E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.8746
  Index      = 2.16197
  Normalizat = 0.967702
  Prefactor  = 1.08706
 **********
 **   18 **HESSE 
 **********

 FCN=   5614.555     FROM HESSE     STATUS=OK            25 CALLS      278 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.875        24.505        .32125E-05   -1.4710    
   2  Index         2.1620        .68689        .35184E-03   -.60359    
   3  Normalizat    .96770        .25639        .11822E-04   -.94120    
   4  Prefactor     1.0871        .20282        .44501E-04   -.89881    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10552e-11
Minuit parameter uncertainties:
  1  24.5151
  2  0.690115
  3  0.256717
  4  0.202964
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/225846': 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) = 5614.55524271
delta logL = 0.00883498045005

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  2.487e+01  2.452e+01  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.162e+00  6.901e-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.087e+00  2.030e-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:  9.677e-01  2.567e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.95
Ra Dec: 333.226 -25.433
Photon Index (Free Index): 2.16 +/- 0.69
Photon Flux (Free Index): 4.00e-08 +/- 4.28e-08
Energy Flux (Free Index): 1.93e-05 +/- 2.20e-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/225846/cmap_HighResolution_604281601_604540801_4FGL_J2212.9-2526_daily_bin1408.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', comment='SUCCESS', photon_flux='4.32e-08', energy_flux2='1.93e-05', photon_flux_error='3.75e-08', dlogl='8.83e-03', energy_flux='1.76e-05', photon_flux2='4.00e-08', job_status='DONE', time_completed='2021-09-28 07:28:53.725354', photon_index_error2='0.69', photon_index2='2.16', ts='2.94', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.32e-07', energy_flux_error2='2.20e-05', EG='0.96', time_epoch_completed='1632839333.73', return_code='0', job_id='225846', GAL2='1.09', EG2='0.97', return_code2='0', energy_flux_error='1.53e-05', photon_flux_error2='4.28e-08', ts2='2.95', photon_index='2.26' WHERE bin_id='1408' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:28:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 225846: <4FGL_J2212.9-2526_daily_bin1408> in cluster <slac> Done

Job <4FGL_J2212.9-2526_daily_bin1408> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 07:15:31 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 07:15:33 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:15:33 2021
Terminated at Tue Sep 28 07:28:54 2021
Results reported at Tue Sep 28 07:28:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2212.9-2526_daily_bin1408 333.226 -25.4335 604281601 604540801 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 :                                   627.50 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             300.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            803 sec.

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

