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


Performing analysis on: 4FGL_J2212.9-2526_daily_bin1402
RA = 333.226, Dec = -25.4335
tmin = 602726401, tmax = 602985601
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='225837', job_status='RUN', time_executed='2021-09-28 07:17:24.571441', time_epoch_executed='1632838644.57' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='1402'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/225837

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/225837/ft1_4FGL_J2212.9-2526_daily_bin1402.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/225837/ft2_4FGL_J2212.9-2526_daily_bin1402.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/225837/ft1_4FGL_J2212.9-2526_daily_bin1402.fits outfile=/scratch/kocevski/225837/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin1402.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=602726401.0 tmax=602985601.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.14
user 2.90
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/225837/ft1_filtered_4FGL_J2212.9-2526_daily_bin1402.fits" evtable="EVENTS" scfile=/scratch/kocevski/225837/ft2_4FGL_J2212.9-2526_daily_bin1402.fits sctable="SC_DATA" outfile=/scratch/kocevski/225837/ltcube_602726401_602985601_4FGL_J2212.9-2526_daily_bin1402.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/225837/ft2_4FGL_J2212.9-2526_daily_bin1402.fits
.....................!
real 17.44
user 16.98
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/225837/ft1_filtered_4FGL_J2212.9-2526_daily_bin1402.fits evtable="EVENTS" scfile=/scratch/kocevski/225837/ft2_4FGL_J2212.9-2526_daily_bin1402.fits sctable="SC_DATA" expcube=/scratch/kocevski/225837/ltcube_602726401_602985601_4FGL_J2212.9-2526_daily_bin1402.fits outfile=/scratch/kocevski/225837/expmap_602726401_602985601_4FGL_J2212.9-2526_daily_bin1402.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/225837/ltcube_602726401_602985601_4FGL_J2212.9-2526_daily_bin1402.fits
.....................!
real 193.88
user 188.91
sys 4.53

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/225837/ft1_filtered_4FGL_J2212.9-2526_daily_bin1402.fits scfile=/scratch/kocevski/225837/ft2_4FGL_J2212.9-2526_daily_bin1402.fits outfile=/scratch/kocevski/225837/cmap_602726401_602985601_4FGL_J2212.9-2526_daily_bin1402.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.57
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/225837/ft1_filtered_4FGL_J2212.9-2526_daily_bin1402.fits scfile=/scratch/kocevski/225837/ft2_4FGL_J2212.9-2526_daily_bin1402.fits outfile=/scratch/kocevski/225837/cmap_HighResolution_602726401_602985601_4FGL_J2212.9-2526_daily_bin1402.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.91
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/225837/ft1_filtered_4FGL_J2212.9-2526_daily_bin1402.fits evtable="EVENTS" scfile=/scratch/kocevski/225837/ft2_4FGL_J2212.9-2526_daily_bin1402.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/225837/Model_4FGL_J2212.9-2526_daily_bin1402.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/225837/ft1_filtered_4FGL_J2212.9-2526_daily_bin1402.fits..........................!
real 19.14
user 16.58
sys 1.33

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16534E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     3 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     4 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .25900E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9999.9       1.0000         .10000E-03   10000.    
     8 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12294E-02   1.0000         .10000E-03   10000.    
    10 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .26268E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    57.088       1.0000         .10000E-03   10000.    
    15 'norm      '    41.076       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10344E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11690E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .18493E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11052E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    9.9691       1.0000         .10000E-03   10000.    
    23 'norm      '    2.1343       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10410E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1322       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=   591.7498     FROM MIGRAD    STATUS=CONVERGED    591 CALLS     3548 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6780.2        .38988E-05** at limit **
   2  Prefactor    10000.0        6417.9       -.32407E-05** at limit **
   3  Prefactor    10000.0        6520.0       -.38052E-05** at limit **
   4  norm         10000.0        7594.7       -.15304E-04** at limit **
   5  Prefactor     .10000E-03    403.67        .24795E-06** at limit **
   6  Prefactor    10000.0        9190.8       -.23875E-04** at limit **
   7  Prefactor    10000.0        8065.5       -.37172E-04** at limit **
   8  norm          10000.        589.36       -.45797E-06** at limit **
   9  Prefactor     .10000E-03    395.10       -.97853E-06** at limit **
  10  norm          .10000E-03    12.994        .67923E-09** at limit **
  11  Prefactor     .10000E-03    92.115        .30262E-06** at limit **
  12  Prefactor     .10000E-03    121.14       -.30599E-06** at limit **
  13  Prefactor     .10000E-03    49.440       -.22716E-06** at limit **
  14  Prefactor     56.889        149.34        .30953E-05   -.28802E-04
  15  norm          41.025        59.053        .50254E-06   -.21193E-04
  16  Prefactor     .10000E-03    9.8766        .17941E-06** at limit **
  17  norm          .10000E-03    3.3608        .27807E-06** at limit **
  18  Prefactor     .10000E-03    59.377        .24844E-06** at limit **
  19  Prefactor     .10000E-03    219.42        .69828E-05** at limit **
  20  norm          .10000E-03    3.6795        .10973E-06** at limit **
  21  Prefactor     .10000E-03    41.608        .18443E-05** at limit **
  22  Prefactor     10.033        28.188        .44064E-05   -.20222E-03
  23  norm          2.1315        2.2218       -.47395E-06   -.31230E-03
  24  Prefactor     .10000E-03    37.628       -.46341E-06** at limit **
  25  Normalizat    .10000E-01    .20195        .20919E-04** at limit **
  26  Prefactor     1.1321        .29252       -.25677E-05   -.23653E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 10000
  Prefactor  = 10000
  norm       = 10000
  Prefactor  = 0.0001
  Prefactor  = 10000
  Prefactor  = 10000
  norm       = 10000
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 56.8887
  norm       = 41.0248
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.033
  norm       = 2.1315
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 1.1321
 **********
 **   18 **HESSE 
 **********

 FCN=   591.7498     FROM HESSE     STATUS=OK           442 CALLS     3990 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6780.3        .20392E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor    10000.0        6417.9        .20643E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor    10000.0        6520.1        .20442E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm         10000.0        7595.9        .18247E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    403.68        .19982E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor    10000.0        9192.2        .18488E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor    10000.0        8071.7        .19200E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          10000.        589.36        .21462E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    395.94        .20620E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    12.995        .85689E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    92.116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    121.21        .21445E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    49.441        .16724E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     56.889        149.63        .26547E-03   -1.4198    
  15  norm          41.025        59.066        .31273E-03   -1.4426    
  16  Prefactor     .10000E-03    9.8774        .74698E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    3.3835        .43547E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    59.397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    217.77        .36341E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    3.6798        .45572E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    41.434        .15272E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     10.033        28.691        .12691E-03   -1.5074    
  23  norm          2.1315        2.3417        .24513E-04   -1.5416    
  24  Prefactor     .10000E-03    37.789        .14559E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .10000E-01    .21179        .66213E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     1.1321        .29433        .20389E-03   -.88447    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.21691e-10
Minuit parameter uncertainties:
  1  0.000878001
  2  0.000601128
  3  0.00070898
  4  0.00432167
  5  3.1998e-05
  6  0.00980293
  7  0.0121372
  8  2.92866e-05
  9  9.87018e-05
  10  9.17238e-07
  11  8.10404e-06
  12  9.46118e-06
  13  5.48162e-06
  14  150.638
  15  59.15
  16  4.15593e-06
  17  4.31998e-06
  18  5.82338e-05
  19  0.00121243
  20  6.27646e-06
  21  0.00020363
  22  28.7299
  23  2.34184
  24  8.51159e-05
  25  1.56478e-06
  26  0.294753
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  1.000e-04  9.461e-06  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.132e+00  2.948e-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.000e-02  1.565e-06  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/225837/likelihoodResults_602726401_602985601_4FGL_J2212.9-2526_daily_bin1402.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): 102
logL (Free Index) = 591.749888716
delta logL = -3.90773908521e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 591.749850046
delta logL = -4.06678964282e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5833       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1321       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=   591.7498     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      279 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11394E-03    77.024        .18142E-01** at limit **
   2  Index         2.4145        5.6266        .50000        .58418E-05
   3  Normalizat    .10000E-01    .38017E-03    .66213E-02** at limit **
   4  Prefactor     1.1321        .11476E-01    .20388E-03    .15767E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000113937
  Index      = 2.4145
  Normalizat = 0.01
  Prefactor  = 1.1321
 **********
 **   18 **HESSE 
 **********

 FCN=   591.7498     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      308 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11394E-03    583.11        .22125E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4145        8.6630        .50000       -.54346    
   3  Normalizat    .10000E-01    .29594E-02    .13243E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.1321        .32017E-01    .40776E-04   -.88447    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.41766e-09
Minuit parameter uncertainties:
  1  0.182098
  2  742.478
  3  7.36701e-07
  4  0.0320173
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/225837': 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): 102
logL (Free Index) = 591.749849884
delta logL = -2.45337673732e-07

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  1.139e-04  1.821e-01  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.414e+00  7.425e+02  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.132e+00  3.202e-02  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.000e-02  7.367e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 333.226 -25.433

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/225837/cmap_HighResolution_602726401_602985601_4FGL_J2212.9-2526_daily_bin1402.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.23e-02', job_status='DONE', photon_flux_upper_limit='8.14e-07', time_completed='2021-09-28 07:24:46.906394', job_id='225837', GAL2='1.13', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632839086.91', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='-2.45e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='1402' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:24:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0149>
Subject: Job 225837: <4FGL_J2212.9-2526_daily_bin1402> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2212.9-2526_daily_bin1402 333.226 -25.4335 602726401 602985601 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 :                                   364.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             244.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   555 sec.
    Turnaround time :                            557 sec.

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

