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


Performing analysis on: 4FGL_J2212.9-2526_daily_bin1006
RA = 333.226, Dec = -25.4335
tmin = 500083201, tmax = 500342401
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='224274', job_status='RUN', time_executed='2021-09-28 07:13:29.086741', time_epoch_executed='1632838409.09' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='1006'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/224274

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/224274/ft1_4FGL_J2212.9-2526_daily_bin1006.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/224274/ft2_4FGL_J2212.9-2526_daily_bin1006.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/224274/ft1_4FGL_J2212.9-2526_daily_bin1006.fits outfile=/scratch/kocevski/224274/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin1006.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=500083201.0 tmax=500342401.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 6.68
user 5.43
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/224274/ft2_4FGL_J2212.9-2526_daily_bin1006.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/224274/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin1006.fits evtable="EVENTS" outfile="/scratch/kocevski/224274/ft1_filtered_4FGL_J2212.9-2526_daily_bin1006.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.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/224274/ft1_filtered_4FGL_J2212.9-2526_daily_bin1006.fits" evtable="EVENTS" scfile=/scratch/kocevski/224274/ft2_4FGL_J2212.9-2526_daily_bin1006.fits sctable="SC_DATA" outfile=/scratch/kocevski/224274/ltcube_500083201_500342401_4FGL_J2212.9-2526_daily_bin1006.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/224274/ft2_4FGL_J2212.9-2526_daily_bin1006.fits
.....................!
real 12.05
user 11.70
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/224274/ft1_filtered_4FGL_J2212.9-2526_daily_bin1006.fits evtable="EVENTS" scfile=/scratch/kocevski/224274/ft2_4FGL_J2212.9-2526_daily_bin1006.fits sctable="SC_DATA" expcube=/scratch/kocevski/224274/ltcube_500083201_500342401_4FGL_J2212.9-2526_daily_bin1006.fits outfile=/scratch/kocevski/224274/expmap_500083201_500342401_4FGL_J2212.9-2526_daily_bin1006.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/224274/ltcube_500083201_500342401_4FGL_J2212.9-2526_daily_bin1006.fits
.....................!
real 190.18
user 184.99
sys 4.88

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/224274/ft1_filtered_4FGL_J2212.9-2526_daily_bin1006.fits scfile=/scratch/kocevski/224274/ft2_4FGL_J2212.9-2526_daily_bin1006.fits outfile=/scratch/kocevski/224274/cmap_500083201_500342401_4FGL_J2212.9-2526_daily_bin1006.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/224274/ft1_filtered_4FGL_J2212.9-2526_daily_bin1006.fits scfile=/scratch/kocevski/224274/ft2_4FGL_J2212.9-2526_daily_bin1006.fits outfile=/scratch/kocevski/224274/cmap_HighResolution_500083201_500342401_4FGL_J2212.9-2526_daily_bin1006.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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/224274/ft1_filtered_4FGL_J2212.9-2526_daily_bin1006.fits evtable="EVENTS" scfile=/scratch/kocevski/224274/ft2_4FGL_J2212.9-2526_daily_bin1006.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/224274/Model_4FGL_J2212.9-2526_daily_bin1006.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/224274/ft1_filtered_4FGL_J2212.9-2526_daily_bin1006.fits.....................!
real 47.21
user 45.93
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    5.4284       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.848       1.0000         .10000E-03   10000.    
     4 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    40.590       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.3329       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.3870       1.0000         .10000E-03   10000.    
    12 'Prefactor '    63.172       1.0000         .10000E-03   10000.    
    13 'Prefactor '    26.654       1.0000         .10000E-03   10000.    
    14 'Prefactor '    77.821       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .57461       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.4435       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .70335       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=   4882.495     FROM MIGRAD    STATUS=CONVERGED    597 CALLS     3065 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.7091       -.26120E-07** at limit **
   2  Prefactor     5.4283        4.9409        .17780E-05    .14182E-06
   3  Prefactor     11.847        13.006        .29408E-06   -.32458E-04
   4  norm          .10000E-03    12.095        .20567E-05** at limit **
   5  Prefactor     40.593        27.646        .16751E-05   -.23041E-04
   6  Prefactor     .10000E-03    7.7620        .13475E-05** at limit **
   7  Prefactor     .10000E-03    19.728       -.10935E-04** at limit **
   8  norm          1.3346        5.0522       -.10909E-05   -.90898E-03
   9  Prefactor     .10000E-03    11.167        .20184E-05** at limit **
  10  norm          .10000E-03    .18174        .75184E-07** at limit **
  11  Prefactor     6.3883        11.946       -.16370E-06   -.80378E-04
  12  Prefactor     63.172        29.736       -.10919E-06    .92140E-07
  13  Prefactor     26.658        17.542        .16096E-06   -.31682E-04
  14  Prefactor     77.821        69.313       -.34168E-06   -.16021E-05
  15  norm          .10000E-03    9.2058       -.48990E-05** at limit **
  16  Prefactor     .10000E-03    11.483        .25933E-05** at limit **
  17  norm          .10000E-03    1.6053        .29084E-07** at limit **
  18  Prefactor     .10000E-03    60.182       -.32042E-05** at limit **
  19  Prefactor     .10000E-03    22.893        .11113E-04** at limit **
  20  norm          .10000E-03    2.8409       -.56036E-07** at limit **
  21  Prefactor     .10000E-03    7.7239        .15824E-05** at limit **
  22  Prefactor     .10000E-03    7.1974       -.10138E-05** at limit **
  23  norm          .57441        .87453       -.43500E-07   -.78901E-03
  24  Prefactor     .10000E-03    13.501       -.20848E-05** at limit **
  25  Normalizat    1.4433        .25214       -.40043E-07   -.69112E-04
  26  Prefactor     .70352        .17303       -.57694E-06   -.61332E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 5.42827
  Prefactor  = 11.8466
  norm       = 0.0001
  Prefactor  = 40.5934
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.33457
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.38835
  Prefactor  = 63.1716
  Prefactor  = 26.6576
  Prefactor  = 77.8209
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.574407
  Prefactor  = 0.0001
  Normalizat = 1.4433
  Prefactor  = 0.703523
 **********
 **   18 **HESSE 
 **********

 FCN=   4882.495     FROM HESSE     STATUS=OK           452 CALLS     3517 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.7095        .89214E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.4283        4.9138        .14250E-03   -1.5242    
   3  Prefactor     11.847        13.014        .11638E-03   -1.5019    
   4  norm          .10000E-03    12.371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     40.593        27.628        .62917E-04   -1.4433    
   6  Prefactor     .10000E-03    7.7741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    19.348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.3346        4.9383        .27338E-03   -1.5477    
   9  Prefactor     .10000E-03    11.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .25729        .54983E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.3883        11.939        .15882E-03   -1.5202    
  12  Prefactor     63.172        29.809        .50488E-04   -1.4117    
  13  Prefactor     26.658        17.678        .77595E-04   -1.4675    
  14  Prefactor     77.821        69.319        .45522E-04   -1.3941    
  15  norm          .10000E-03    9.1445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.6373        .86442E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    60.320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    22.616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.8500        .11497E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.7206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    7.2030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .57441        .76241        .78324E-03   -1.5556    
  24  Prefactor     .10000E-03    13.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.4433        .30612        .25759E-03   -.79384    
  26  Prefactor     .70352        .20848        .25289E-03   -1.0339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6384e-09
Minuit parameter uncertainties:
  1  2.1185e-07
  2  4.9142
  3  13.0173
  4  1.84962e-05
  5  27.6372
  6  1.01817e-05
  7  1.63871e-05
  8  4.9398
  9  1.7809e-05
  10  5.00946e-06
  11  11.9436
  12  29.8158
  13  17.6819
  14  69.3914
  15  1.31402e-06
  16  3.23546e-06
  17  1.41489e-06
  18  2.12911e-05
  19  9.86681e-06
  20  1.14371e-06
  21  1.6525e-06
  22  3.17115e-06
  23  0.762425
  24  6.37917e-06
  25  0.306511
  26  0.208712
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  6.317e+01  2.982e+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:  7.035e-01  2.087e-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:  1.443e+00  3.065e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.97
Ra Dec: 333.226 -25.433
Photon Index (Fixed Index): 2.26 +/- 0.00
Photon Flux (Fixed Index): 1.18e-07 +/- 5.56e-08
Energy Flux (Fixed Index): 4.80e-05 +/- 2.26e-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) = 4882.48546856
delta logL = 0.0093969658401

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4882.47941655
delta logL = 0.0154489763481

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    59.657       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3292       1.0000          .0000       10.000    
     3 'Normalizat'    1.4333       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70848       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=   4882.479     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      264 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     59.674        35.698        .51945E-04    .15320E-04
   2  Index         2.3290        .43542        .46024E-02    .33421E-03
   3  Normalizat    1.4335        .29412        .25829E-03    .31911E-04
   4  Prefactor     .70831        .20689        .25212E-03   -.26605E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 59.6742
  Index      = 2.32897
  Normalizat = 1.4335
  Prefactor  = 0.708312
 **********
 **   18 **HESSE 
 **********

 FCN=   4882.479     FROM HESSE     STATUS=OK            25 CALLS      289 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     59.674        34.872        .20778E-05   -1.4161    
   2  Index         2.3290        .42500        .92048E-03   -.56357    
   3  Normalizat    1.4335        .29426        .10332E-04   -.79665    
   4  Prefactor     .70831        .20703        .10085E-04   -1.0320    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.38586e-11
Minuit parameter uncertainties:
  1  34.8841
  2  0.425717
  3  0.294613
  4  0.207259
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/224274': 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) = 4882.47941602
delta logL = 0.0154494992785

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  5.967e+01  3.488e+01  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.329e+00  4.257e-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:  7.083e-01  2.073e-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:  1.433e+00  2.946e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.97
Ra Dec: 333.226 -25.433
Photon Index (Free Index): 2.33 +/- 0.43
Photon Flux (Free Index): 1.26e-07 +/- 7.28e-08
Energy Flux (Free Index): 4.55e-05 +/- 2.47e-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/224274/cmap_HighResolution_500083201_500342401_4FGL_J2212.9-2526_daily_bin1006.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.18e-07', energy_flux2='4.55e-05', photon_flux_error='5.56e-08', dlogl='1.54e-02', energy_flux='4.80e-05', photon_flux2='1.26e-07', job_status='DONE', time_completed='2021-09-28 07:22:45.102509', photon_index_error2='0.43', photon_index2='2.33', ts='9.97', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', energy_flux_error2='2.47e-05', EG='1.44', time_epoch_completed='1632838965.1', return_code='0', job_id='224274', GAL2='0.71', EG2='1.43', return_code2='0', energy_flux_error='2.26e-05', photon_flux_error2='7.28e-08', ts2='9.97', photon_index='2.26' WHERE bin_id='1006' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:22:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0287>
Subject: Job 224274: <4FGL_J2212.9-2526_daily_bin1006> in cluster <slac> Done

Job <4FGL_J2212.9-2526_daily_bin1006> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 07:10:36 2021
Job was executed on host(s) <bullet0287>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 07:10:37 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:10:37 2021
Terminated at Tue Sep 28 07:22:46 2021
Results reported at Tue Sep 28 07:22:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2212.9-2526_daily_bin1006 333.226 -25.4335 500083201 500342401 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 :                                   540.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             260.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   729 sec.
    Turnaround time :                            730 sec.

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

